Skip to content

Child processes crash at launch in base::i18n::InitializeICUFromDataFile (ICU init CHECK fails), exit 0x80000003, Windows 11 26200 #51770

Closed as duplicate

Description

@Classic298

Preflight Checklist

Electron Version

40.8.5

What operating system(s) are you using?

Windows

Operating System Version

Windows 11 Pro 25H2 (build 26200.8457)

What arch are you using?

x64

Last Known Working Electron version

Unknown / not bisected

Does the issue also appear in Chromium / Google Chrome?

No

Expected Behavior

Electron child processes (GPU, renderer, utility) initialize and the app launches normally, as it does for Chromium/Chrome and for older-Electron apps on the same machine.

Actual Behavior

On this machine, every Electron child process aborts at the very first step of startup — before GPU init, sandbox lockdown, or logging — inside ICU initialization. The browser process is fine; only child processes die.

Symbolized stack (cdb / WinDbg, child-process following, Electron's public symbol server, exact electron.exe.pdb match):

electron!base::i18n::InitializeICUFromDataFile     <- CHECK fails
electron!base::i18n::InitializeICU
electron!content::ContentMainRunnerImpl::Initialize
electron!content::RunContentProcess
electron!content::ContentMain
electron!wWinMain

So CHECK(InitializeICU()) trips -> base::ImmediateCrash -> the child exits 0x80000003 (STATUS_BREAKPOINT). The app's own log (no debugger) confirms the same code:

child-process-gone { type: 'GPU', reason: 'crashed', exitCode: -2147483645 }   // = 0x80000003

Because the abort is this early, the child writes no log and no crash dump. The browser only sees the child vanish, counts it as a GPU crash, exhausts GPU fallback modes, and aborts via content::IntentionallyCrashBrowserForUnusableGpuProcess ("GPU process isn't usable. Goodbye."). That is why it superficially looks like a GPU problem, but the GPU is never reached.

Result: the app shows a blank window or quits on launch. Reproduces with multiple Electron 40 apps (Proton Mail 1.13.0 = Electron 40.8.5; GitHub Desktop 3.5.10 shows the identical instant-vanish, no-dump fingerprint).

Testcase Gist URL

No response

Additional Information

This needs no special app code to reproduce — any recent-Electron app crashes the same way on this machine, so a Fiddle would just be a default app. Happy to produce one if useful.

Evidence it is ICU init, not the GPU/driver:

  • icudtl.dat is present and valid (10,822,192 bytes, correct ICU header) and the browser process loads that same file fine; only child processes fail.
  • dxdiag: AMD RX 7900 XTX healthy, Direct3D feature level 12_2.
  • Ruled out: HVCI off; all Exploit Protection / process mitigations NOTSET (MicrosoftSignedOnly, ProhibitDynamicCode, DisallowWin32k, etc.); no AppInit_DLLs / AppCertDlls; no AV/EDR/anti-cheat; clean DDU + several AMD driver versions; a full clean Windows reinstall.
  • Scope: Chrome/Brave (Chromium) and an older-Electron app (Signal) are unaffected on this exact machine; only recent Electron (40.x) fails. So the failure is specific to Electron's child-process ICU initialization on this Windows build (26200), not core Chromium.

Versions: Electron 40.8.5, Chromium 144.0.7559.236, Windows 11 Pro 25H2 build 26200.8457, x64, AMD RX 7900 XTX driver 32.0.31007.5012.

Method caveat: the symbolized stack was captured under a debugger, but it matches the non-debugger exit code (0x80000003) and the pre-logging/pre-dump behaviour exactly, so it is the real fault.

Originally surfaced as Chromium issue 516312113 (filed under a GPU/AMD-driver premise that turned out to be a red herring). Crash logs, full symbolized stack, dxdiag, and a symbol-matched dump available on request.

Activity

  1. added theissue type on May 25, 2026
  2. VerSpark commented on May 26, 2026

    @VerSpark

    Also has been happening to me with a NVIDIA RTX 2070

  3. nikwen commented on May 26, 2026

    @nikwen
    Member

    This needs no special app code to reproduce — any recent-Electron app crashes the same way on this machine, so a Fiddle would just be a default app.

    Just to make sure, does running npx electron crash in the same way?

  4. Classic298 commented on May 26, 2026

    @Classic298
    Author

    Checking...

  5. removed
    blocked/need-info ❌
    on May 26, 2026
  6. Classic298 commented on May 26, 2026

    @Classic298
    Author

    @nikwen

    No, vanilla Electron doesn't crash on this machine. Tested Electron 40.8.5 (the same version Proton Mail uses): npm install --no-save [email protected] then a minimal electron . with a default main.js. Three runs, four processes each (browser + GPU + utility + renderer), no GPU crashes, no Goodbye., log clean. npx electron (latest) likewise.

    So the failure isn't in vanilla Electron child startup. I then narrowed which vendor-packaging difference matters. Side-by-side of vanilla [email protected] vs Proton Mail 1.13.0:

    • icudtl.dat, snapshot_blob.bin, v8_context_snapshot.bin, resources.pak, chrome_100_percent.pak, chrome_200_percent.pak, d3dcompiler_47.dll — bitwise identical.
    • ffmpeg.dll, libEGL.dll, libGLESv2.dll, vk_swiftshader.dll, vulkan-1.dll — each +11,344 bytes larger in PM, the size of an embedded Authenticode signature block. PM resigns all five with CN=Proton AG. Proton Mail.exe is signed by Proton AG. The vanilla DLLs are unsigned.
    • Replaced PM's five resigned DLLs with the vanilla unsigned versions in place: PM still crashed. So Proton's resigning is not the cause.

    The actual diff: copied PM's entire install dir byte-for-byte from %LOCALAPPDATA%\proton_mail\app-1.13.0\ to %TEMP%\pm-copy\ and launched from there. It works. 8 processes, window visible, no GPU crash, no log errors. Same bytes, different directory.

    So this isn't an Electron child-startup bug. Something Windows-side about the install directory at %LOCALAPPDATA%\proton_mail\ is the actual trigger — almost certainly an ACL, a Zone.Identifier ADS, a reparse point, or similar dir-level poison. Same crash fingerprint hits other packaged Electron apps installed under %LOCALAPPDATA% on this account (Deezer, GitHub Desktop, Notion); vanilla electron . from a clean dir is unaffected, and a fresh Windows user account on the same hardware does not reproduce at all.

  7. Classic298 commented on May 26, 2026

    @Classic298
    Author

    though the question remains WHY does it crash. It's impossible to figure out currently and it affects basically ALL programs on my machine. All of them.

  8. Classic298 commented on May 26, 2026

    @Classic298
    Author

    Update — fully root-caused. Not an Electron bug, but worth documenting here because the failure mode is genuinely impossible to debug from the surface symptoms.

    Answering @nikwen's question first: no, npx electron does not crash on this machine. I tested with Electron 40.8.5 specifically (the exact version Proton Mail 1.13.0 bundles): fresh npm install --no-save [email protected] into a clean %TEMP%\electron-repro\ dir, a minimal main.js opening a single BrowserWindow, three runs, four processes each (browser + GPU + utility + renderer), no GPU crashes, no Goodbye., log clean. Same with npx electron (latest). So the failure is not in vanilla Electron child startup, it's in something specific to how packaged Electron apps end up on disk on this particular machine.

    The narrowing: side-by-side of vanilla [email protected] vs Proton Mail 1.13.0:

    • icudtl.dat, snapshot_blob.bin, v8_context_snapshot.bin, resources.pak, chrome_100_percent.pak, chrome_200_percent.pak, d3dcompiler_47.dll — bitwise identical (same SHA256, same size).
    • ffmpeg.dll, libEGL.dll, libGLESv2.dll, vk_swiftshader.dll, vulkan-1.dll — each +11,344 bytes larger in PM, the size of an appended Authenticode signature. PM resigns these five DLLs with CN=Proton AG. Proton Mail.exe is signed by Proton AG. The vanilla electron.exe from npm is NotSigned.
    • Replaced PM's five resigned DLLs in place with the vanilla unsigned versions: PM still crashed. So resigning isn't the cause either.

    What was the cause: copied PM's entire install dir byte-for-byte from %LOCALAPPDATA%\proton_mail\app-1.13.0\ to %TEMP%\pm-copy\ and launched from there. It worked. Same bytes, different directory.

    Diffed the directory metadata. The broken %LOCALAPPDATA%\proton_mail\ carried three extra ACL entries that the working %TEMP%\pm-copy\ did not:

    S-1-15-2-2996058851-47008759-2585627968-1608913619-2295500423-784958947-2915314718  Allow FullControl
    S-1-15-2-2319036354-2147239463-1816366032-789372286-1764687248-1866646688-3403347174  Allow FullControl
    S-1-15-2-1271679190-1746917464-670691670-3261022360-1481099845-1354460980-787318917  Allow FullControl
    

    S-1-15-2-* is the AppContainer / UWP package SID class. Traced inheritance up the parent chain: explicit=6 at C:\Users\<user>, inherited from there down through \AppData\, \Local\, \proton_mail\, etc. So some MSIX/Store-app installer explicitly added itself to my user-profile root with (OI)(CI)(IO)(F) flags, and the grant propagated to every file under the profile, including every Electron app's binaries.

    None of the three SIDs resolve in HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppContainer\Mappings even with admin, which means whichever MSIX packages they belonged to have since been uninstalled and Windows didn't strip the ACL entries on uninstall. They're orphans.

    Fix that worked:

    icacls "<install dir>" /inheritance:d /T /C /Q
    foreach ($s in $sids) { icacls "<install dir>" /remove:g "*$s" /T /C /Q }

    Verified working stock (no flags) on Proton Mail, Deezer, GitHub Desktop, Notion, Signal across a reboot.

    Two things worth documenting / fixing on the Electron side, in my opinion:

    B R U T A L L Y bad, needs fixing

    1. The diagnostic experience is B R U T A L L Y bad. The user-visible symptom is "Electron app opens, white screen for half a second, app quits." From there, your own main.log reports child-process-gone { type: 'GPU', reason: 'crashed', exitCode: -2147483645 }, which honestly sent me down an AMD-driver path for hours (and produced the original Chromium issue 516312113 with a misleading premise). Chromium's verbose log shows GPU process isn't usable. Goodbye. and the browser self-aborts via IntentionallyCrashBrowserForUnusableGpuProcess. Crashpad writes a browser-process dump for the give-up, but zero child dumps, because the children die so early (before ICU init returns) that Crashpad's exception handler isn't installed yet. The only way to symbolize the real failure is cdb with child-process following, the Electron public symbol server, and a manual bp electron!base::i18n::InitializeICU walk. This is not a reasonable debugging bar for anyone outside the Electron core team.

    2. Child startup should not be this fragile to file ACL state. A stale, orphaned S-1-15-2-* SID grant on the binary's NTFS ACL, with FullControl, SHOULD ABSOLUTELY NOT BE ENOUGH TO BREAK InitializeICUFromDataFile and take the entire app down at launch WITH ZERO DIAGNOSTICS. I don't know the precise mechanism by which a package SID in the binary's file ACL breaks child startup (presumably it causes Windows to apply AppContainer-flavoured token semantics to the spawned child, and something in the child's early init path doesn't survive that token), but whatever it is, robustness against random ACL state on the binary path seems worth investigating. If that turns out to be impossible, then at minimum the failure should be surfaced as something like "child process failed to initialise: reason X" rather than presenting as a GPU crash chained into an ICU CHECK.

    Sorry for the caps - but i debugged this for 2 days straight, 16-17 hours, and EVERYTHING from electron's logs were red herrings. Exclusively red herrings. Zero useful logs. Zero useful errors. Sent me down 10 different paths.

  9. Classic298 commented on May 26, 2026

    @Classic298
    Author

    so yeah. I'd appreciate if you could greatly greatly improve your error messages and logging because the current state is brutally bad. This cost me 2 days and 17 hrs of debugging. All error messages are red herrings.

  10. Classic298 commented on May 26, 2026

    @Classic298
    Author

    and electron should not fail outright because of some orphaned SIDs

  11. nikwen commented on May 26, 2026

    @nikwen
    Member

    Please do us a favor and do not copy and paste AI output here.

    Sounds like a duplicate of #51761.

  12. Classic298 commented on May 26, 2026

    @Classic298
    Author

    @nikwen hi. I did not copy paste it purely, i edited it too.
    I know it's frustrating as a maintainer as I am one myself, but here I truly lack the ability to debug this deeply myself, so I had to rely on AI for further debugging.

    What we found is true though and removing the orphaned SIDs fixed it for me, which is even the more frustrating that all the error messages from electron were completely false and let me onto 10 different debugging paths that all led to nomansland

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions