1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

Angular Nx app crashes with SIGILL in latest Chrome, works in Firefox

Discussão em 'Angular' iniciado por Mandresy Diary, Setembro 17, 2025.

  1. Hello,

    I have a workspace using Nx with multiple Angular projects. Some projects work fine in Chrome, while others crash with a SIGILL error when opened in the latest Chrome version. Surprisingly, they all work in Firefox.

    Here are the details:

    Environment

    • Nx workspace with multiple Angular apps
    • Node.js version: v22.16.0
    • Angular version: 19
    • Chrome version: latest stable
    • Firefox: latest stable
    • CPU supports: SSE, SSE2, SSE4.1, SSE4.2, AVX, AVX2 (Intel 12-core, recent generation)
    Project configuration


    Example working project (mfe):

    {
    "name": "mfe",
    "projectType": "application",
    "sourceRoot": "apps/front/mfe/src",
    "targets": {
    "build": {
    "executor": "@angular-architects/native-federation:build",
    "defaultConfiguration": "development"
    },
    "serve": {
    "executor": "@angular-architects/native-federation:build",
    "options": { "target": "mfe:serve-original:development" }
    },
    "esbuild": {
    "executor": "@angular-devkit/build-angular:application",
    "options": { "tsConfig": "apps/front/mfe/tsconfig.app.json" },
    "defaultConfiguration": "development"
    }
    }
    }


    Example non-working project (shell):

    {
    "name": "shell",
    "projectType": "application",
    "sourceRoot": "apps/front/shell/src",
    "targets": {
    "build": {
    "executor": "@angular-architects/native-federation:build",
    "defaultConfiguration": "production"
    },
    "serve": {
    "executor": "@angular-architects/native-federation:build",
    "options": { "target": "shell:serve-original:development" }
    },
    "esbuild": {
    "executor": "@angular-devkit/build-angular:application",
    "options": { "tsConfig": "apps/front/shell/tsconfig.app.json" },
    "defaultConfiguration": "development"
    }
    }
    }

    Steps tried


    1. Changing build / serve default configuration to development


    2. Cleaning Nx cache (nx reset), deleting dist/


    3. Building with optimization: false and sourceMap: true


    4. Running Chrome with:

      google-chrome --user-data-dir=/tmp/chrome-test --disable-features=UseXnnpack
      google-chrome --user-data-dir=/tmp/chrome-test --js-flags="--no-wasm-simd"

    5. Testing in Chromium → same crash in Chrome, works in Firefox
    Observations

    • The crash produces SIGILL in Chrome (Illegal Instruction)
    • dmesg shows no CPU problem, CPU supports AVX2 and SSE4
    • nx build shell --configuration=development still crashes
    • Seems related to Angular optimizer or esbuild bundling, possibly some polyfills or third-party library in shell
    Question


    Why does this Angular Nx app (shell) crash in Chrome with SIGILL while mfe works?

    • How can I identify which part of the code or library triggers this crash?
    • Is there a known Chrome/Angular issue that produces SIGILL on modern CPUs?
    • Can I force the build to avoid generating JS that causes SIGILL in Chrome?
    Any help or pointers would be appreciated. enter image description here


    Some of my apps works and other not i tried with another laptop and it work , but when i upgrade the chrome version it fail

    Continue reading...

Compartilhe esta Página