Repository navigation
Description
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a bug report that matches the one I want to file, without success.
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
VerSpark commentedon May 26, 2026
Also has been happening to me with a NVIDIA RTX 2070
nikwen commentedon May 26, 2026
Just to make sure, does running
npx electroncrash in the same way?Classic298 commentedon May 26, 2026
Checking...
Classic298 commentedon May 26, 2026
@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 minimalelectron .with a defaultmain.js. Three runs, four processes each (browser + GPU + utility + renderer), no GPU crashes, noGoodbye., 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 withCN=Proton AG.Proton Mail.exeis signed by Proton AG. The vanilla DLLs are unsigned.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); vanillaelectron .from a clean dir is unaffected, and a fresh Windows user account on the same hardware does not reproduce at all.Classic298 commentedon May 26, 2026
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.
Classic298 commentedon May 26, 2026
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 electrondoes not crash on this machine. I tested with Electron 40.8.5 specifically (the exact version Proton Mail 1.13.0 bundles): freshnpm install --no-save [email protected]into a clean%TEMP%\electron-repro\dir, a minimalmain.jsopening a singleBrowserWindow, three runs, four processes each (browser + GPU + utility + renderer), no GPU crashes, noGoodbye., log clean. Same withnpx 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 withCN=Proton AG.Proton Mail.exeis signed by Proton AG. The vanillaelectron.exefrom npm isNotSigned.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-*is the AppContainer / UWP package SID class. Traced inheritance up the parent chain: explicit=6 atC:\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\Mappingseven 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:
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
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.logreportschild-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 showsGPU process isn't usable. Goodbye.and the browser self-aborts viaIntentionallyCrashBrowserForUnusableGpuProcess. 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 iscdbwith child-process following, the Electron public symbol server, and a manualbp electron!base::i18n::InitializeICUwalk. This is not a reasonable debugging bar for anyone outside the Electron core team.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 BREAKInitializeICUFromDataFileand 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.
Classic298 commentedon May 26, 2026
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.
Classic298 commentedon May 26, 2026
and electron should not fail outright because of some orphaned SIDs
nikwen commentedon May 26, 2026
Please do us a favor and do not copy and paste AI output here.
Sounds like a duplicate of #51761.
Classic298 commentedon May 26, 2026
@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