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
42.2.0, 37.6.0
What operating system(s) are you using?
Windows
Operating System Version
Windows 11 25H2
What arch are you using?
x64
Last Known Working Electron version
No response
Does the issue also appear in Chromium / Google Chrome?
I don't know how to test
Expected Behavior
Electron applications should launch normally even if the directory contains unparseable or orphaned zombie SIDs, or gracefully handle the permission validation error without crashing the entire GPU process.
Actual Behavior
The GPU process crashes on startup with exit_code=-2147483645 and outputs "FATAL:gpu_data_manager_impl_private.cc: GPU process isn't usable. Goodbye."
Testcase Gist URL
No response
Additional Information
TL;DR: Electron apps crash with exit_code=-2147483645 because the folder's DACL contains orphaned zombie SIDs (S-1-15...). Granting permissions to S-1-15-2-2 (ALL RESTRICTED APPLICATION PACKAGES) or running icacls /reset fixes the crash. This is closely related to the LPAC sandbox requirement discussed in #49143.
Description
Recently, on my Windows PC, many Electron-based desktop applications (such as Discord, Bitwarden, LM Studio, Postman, VS Code, etc.) crash frequently, making them completely unusable. The error messages are as follows:
[33240:0524/193721.652:ERROR:content\browser\gpu\gpu_process_host.cc:999] GPU process exited unexpectedly: exit_code=-2147483645
[33240:0524/193721.652:FATAL:content\browser\gpu\gpu_data_manager_impl_private.cc:417] GPU process isn't usable. Goodbye.
After searching online, I found that other users have reported the same error recently:
- [Bug] GPU process crash on Intel Arc Graphics (Core Ultra / Meteor Lake) — exit_code=-2147483645 liliMozi/openhanako#1083
- [BUG] GPU process crashes instantly on GTX 1650 Max-Q, Windows 11 Home anthropics/claude-code#61372
- Postman all Version crashes immediately on Windows 11 build 26200 with GPU process failure postmanlabs/postman-app-support#14149
Currently, the only temporary solution is to add the --disable-gpu-sandbox parameter at startup. However, this requires doing it manually every time and is not a permanent solution.
Hypothesis
After repeated troubleshooting and verification with AI, we ruled out hardware and driver issues. (During this time, I tried reinstalling drivers, reinstalling software, reinstalling Windows, adjusting Core Isolation and HAGS, updating BIOS, etc., but nothing worked.)
Finally, the AI identified the possible cause: an issue with the security permission list (DACL) of the application folder, which contains an unresolvable "zombie SID" (shown as "Unknown Account" in the Windows interface). This conclusion can be consistently reproduced using the following steps.
Reproduction Steps
Please create a clean Electron project then package, or use an existing Electron application folder directly (the following example uses VS Code with PowerShell):
- Add a zombie SID to the application folder:
icacls "$env:LOCALAPPDATA\Programs\Microsoft VS Code" /grant "*S-1-15-2-999-999-999:(OI)(CI)(F)"- Run the application:
& "$env:LOCALAPPDATA\Programs\Microsoft VS Code\Code.exe" --verboseExpected Result: The application will crash immediately during GPU initialization and output the following error logs:
[37568:0524/201836.841:ERROR:content\browser\gpu\gpu_process_host.cc:999] GPU process exited unexpectedly: exit_code=-2147483645
[37568:0524/201836.841:FATAL:content\browser\gpu\gpu_data_manager_impl_private.cc:415] GPU process isn't usable. Goodbye.
- Run the following command to reset permissions and remove the zombie SID. After that, the application will work normally again:
icacls "$env:LOCALAPPDATA\Programs\Microsoft VS Code" /resetAdditional Context
Before submitting this issue, I researched related past reports and noticed:
It mentions that enabling the network sandbox in newer versions might cause permission issues, requiring the following command to grant permissions:
icacls <install dir> /grant *S-1-15-2-2:(OI)(CI)(RX)Following this clue, I did a cross-test and made a new discovery: if both the unknown zombie SID and the S-1-15-2-2 permission exist at the same time, the application can start successfully without crashing.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fields👍 Does Not Block Stable
Activity
outlookhude commentedon May 25, 2026
I've been stuck on this for days. Thanks for saving my computer!
44 remaining items
feat(browser): one engine everywhere — the desktop switches to agent-…
feat(browser): one engine everywhere — desktop on agent-browser, Elec…
feat(win): add icacls orphan-SID parser for sandbox recovery
Windsage63 commentedon Sep 19, 2026
This appears to be stopping Google Antigravity 2.0 from running. I tried a targeted reset and tried some manual cleanup. I finally decided Antigravity is not worth the effort.
fix: 应用内禁用 Chromium 沙箱以绕过启动崩溃
revert: 恢复 Chromium 沙箱(撤销应用内 no-sandbox)
tiancaixiaoxi commentedon Sep 29, 2026
Cross-linking in case it helps separate the two failure modes.
I hit the identical symptom (
exit_code=-2147483645/0x80000003, six GPU-process crashes, thenGPU process isn't usable. Goodbye.) on three unrelated Electron apps (Electron 41 / 43 / 44) — but the DACL / zombie-SID fix does not apply. There are no orphanedS-1-15-2-*ACEs in any install directory, and the apps are installed underD:/software/, not%LOCALAPPDATA%\Programs.icacls /resetchanges nothing.In my case the machine has two Indirect Display Driver (IDD) adapters on the ROOT bus (
ROOT\DISPLAY\0000andROOT\DISPLAY\0001, both UMDF/IddCxwithUpperFilters=IndirectKmd), and the kernel PnP log shows those nodes being torn down and re-created by user-mode software while the session is live. Both IDDs enumerate before the real Intel Arc adapter.So I filed the display-topology variant separately, with full hardware data, the flag matrix, and the source-level reasoning on
CollectDriverInfoD3D(): #54552.Worth noting for anyone triaging:
--no-sandboxreliably works here, but--disable-gpu-sandboxdoes not (0/3), and neither does--disable-gpuor any--use-angle=*value. That's a different signature from the ACL case, where--disable-gpu-sandboxis usually enough.feat(crash-reporting): read-only Windows install-dir DACL probe bread…
fix(windows): repair the install-dir package ACL that blanks the wind…
fix(windows): make the install-dir ACL repair rescue the launch it ru…
fix(desktop): recover from the Windows GPU sandbox crash at launch (#…
fix(installer): 安装后给安装目录授予应用包组读取权限,避免沙箱子进程连崩
chore(deps): Electron 升到 43.8.13
fix(desktop): recover from the Windows GPU sandbox crash at launch (#…