Skip to content

Desktop crashes on startup for users with Google Antigravity installed #22237

Open

Description

@niik

We've received multiple reports recently about GitHub Desktop and other applications built on Electron crashing at startup. We're still investigating this but users have reported that they've been able to resolve this by removing a faulty SID (security identifier) from their %LOCALAPPDATA% folder that was seemingly left there by Google Antigravity.

We'll be keeping this issue pinned as we gather more information about this.

See
electron/electron#51761
#22184 (comment)
https://www.reddit.com/r/google_antigravity/comments/1tiqpcv/antigravity_20_update_broke_my_electron_apps/

Related issues (may need to be closed and directed here)

Activity

  1. pinned this issue on Jun 2, 2026
  2. added
    bug
    priority-2
    and removed on Jun 3, 2026
  3. sameerjanjua commented on Jun 7, 2026

    @sameerjanjua

    i was using previous version of antigravity and with that GitHub was working fine after I update to antigravity ide after uninstalling previous version of that it cause GitHub stop working like I also reinstalled it but still its not opening.

  4. Ajayos commented on Jun 10, 2026

    @Ajayos

    any update same issue to me

  5. 1458436854ghf commented on Jun 27, 2026

    @1458436854ghf

    Sharing my root cause analysis for reference — diagnosed with assistance from Claude (Anthropic)

    I encountered the same crash on my machine and traced it to a specific DACL permission issue. Sharing the findings here as a reference; the root cause on other machines may differ even if the symptoms are identical.


    My environment

    • OS: Windows 11 Home 23H2 (Build 22631)
    • Hermes Desktop (Electron 40.10.2), win-unpacked install
    • Hardware: NVIDIA GeForce RTX 3060 Laptop GPU
    • Other relevant software: Oray Sunflower remote desktop (向日葵远程控制)

    Symptoms

    App crashes immediately on launch with no window. Event Viewer (Application Error 1000) shows exception code 0x80000003. Console output:

    GPU process exited unexpectedly: exit_code=-2147483645
    GPU process isn't usable. Goodbye.
    

    Launching with --no-sandbox --use-angle=d3d11 allowed the app to start normally. The same crash was reproduced on my machine with OpenCode Desktop and GitHub Desktop — all three are Electron-based apps installed in win-unpacked format under AppData\Local.


    What I found on my machine

    Running icacls on the Hermes install directory revealed two conditions simultaneously:

    1. Orphaned App Container SIDs — two unresolvable SIDs inherited from the parent AppData\Local directory:

      • S-1-15-2-3481562171-132365818-2184647172-2817059645-2637462451-718459203-114284215
      • S-1-15-2-615616492-4017234974-2568916711-887146842-396317020-997242959-303624905

      Traced back via registry (AppContainer\Mappings) to Oray Sunflower, which had written its own App Container SIDs into AppData\Local with (OI)(CI) inheritance flags during installation, leaving them behind as orphans. The trigger software will likely differ on other machines.

    2. S-1-15-2-2 (ALL APPLICATION PACKAGES) absent — win-unpacked installs do not add this ACE automatically, unlike MSIX-packaged apps (e.g. Claude Desktop installs to WindowsApps and was unaffected on my machine).

    Per [electron/electron#51761](electron/electron#51761), having orphaned SIDs and missing S-1-15-2-2 simultaneously causes Chromium's GPU sandbox CHECK() to fail with 0x80000003 (STATUS_BREAKPOINT).


    What fixed it on my machine

    icacls "%LOCALAPPDATA%" /grant *S-1-15-2-2:(OI)(CI)(RX)

    After running this, Hermes, OpenCode, and GitHub Desktop all launched normally without any extra flags. Note: this is specific to my environment. If your DACL state differs, this may not be the root cause on your machine.


    Possible developer-side fix for consideration

    Adding the following to the bootstrap install script after extracting the win-unpacked build would prevent this class of issue regardless of the user's existing DACL state:

    icacls $InstallDir /grant "*S-1-15-2-2:(OI)(CI)(RX)" | Out-Null

  6. sergiou87 commented on Jun 29, 2026

    @sergiou87
    Member

    Another (very detailed) report in #22424 :

    The problem

    Summary

    GitHub Desktop crashes immediately after launch on Windows 11 25H2. The crash occurs because Chromium's GPU process repeatedly exits during initialization. After six failed attempts, Electron aborts with an EXCEPTION_BREAKPOINT.

    After extensive debugging, I found that launching GitHub Desktop with:

    --disable-gpu-sandbox
    allows the application to run normally without any crashes.

    This appears to be a GPU sandbox compatibility issue between GitHub Desktop/Electron and the current Windows build.

    Environment

    GitHub Desktop Versions Tested

    • 3.6.1
    • 3.5.12
    • 3.5.11
    • 3.5.10

    All versions exhibit identical behavior.

    Operating System

    Windows 11 Home Single Language
    Version 25H2
    OS Build 26200.8737
    

    Hardware

    Laptop:
    HP Pavilion Laptop 14-dv2xxx
    
    CPU:
    12th Gen Intel Core i5-1235U
    
    GPU:
    Intel Iris Xe Graphics
    

    Graphics Driver

    Original:

    31.0.101.4502
    

    Updated using Intel Driver & Support Assistant:

    32.0.101.7088
    Released: June 22, 2026
    

    The issue still persists after updating.

    Reproduction

    1. Install GitHub Desktop.
    2. Launch GitHub Desktop normally.
    3. Application immediately crashes.

    Expected Behavior

    GitHub Desktop should launch successfully.

    Actual Behavior

    Chromium repeatedly fails to create the GPU process.

    After six retries:

    GPU process isn't usable. Goodbye.
    Received fatal exception EXCEPTION_BREAKPOINT
    

    The application terminates.

    Event Viewer

    Faulting application name: GitHubDesktop.exe
    
    Faulting module name: GitHubDesktop.exe
    
    Exception code:
    0x80000003
    
    Fault offset:
    0x00000000075f5076
    

    WinDbg

    Exception:
    0x80000003
    
    EXCEPTION_BREAKPOINT
    

    The faulting module is:

    GitHubDesktop.exe
    

    No external DLL appears to be responsible.

    Startup Log

    Normal startup:

    [desktop-notifications] [error] Failed to initialize with RO_INIT_MULTITHREADED: -2147417850
    
    GPU process exited unexpectedly
    GPU process exited unexpectedly
    GPU process exited unexpectedly
    GPU process exited unexpectedly
    GPU process exited unexpectedly
    GPU process exited unexpectedly
    
    GPU process isn't usable. Goodbye.
    
    Received fatal exception EXCEPTION_BREAKPOINT
    

    Full Stack Trace

    Received fatal exception EXCEPTION_BREAKPOINT
    
    v8::internal::compiler::CompilationDependencies::PrepareInstallPredictable
    uv_os_getpid
    PrepareInstallPredictable
    PrepareInstallPredictable
    PrepareInstallPredictable
    PrepareInstallPredictable
    DependOnInitialMapInstanceSizePrediction
    IsSandboxedProcess
    Cr_z_crc32
    v8::ArrayBuffer::Allocator::MaxAllocationSize
    FieldTypeDependencyOffTheRecord
    node::FreePlatform
    BaseThreadInitThunk
    RtlUserThreadStart
    

    Workaround

    Launching GitHub Desktop with:

    GitHubDesktop.exe --disable-gpu-sandbox
    works correctly.

    The application:

    • Launches successfully
    • Renders correctly
    • Allows GitHub authentication
    • Loads repositories
    • Remains stable
    • No GPU crashes occur

    Console output:

    App ready time: ...
    
    Renderer ready time: ...
    
    Load time: ...
    
    Subscribed 'csxark' to Alive channel
    
    Stats reported.
    

    Commands Tested

    ❌ Crash

    GitHubDesktop.exe

    ❌ Crash

    GitHubDesktop.exe --disable-gpu

    ❌ Crash

    GitHubDesktop.exe --disable-gpu-compositing

    ❌ Crash

    GitHubDesktop.exe --disable-software-rasterizer

    ❌ Crash

    GitHubDesktop.exe --in-process-gpu

    ❌ Crash

    GitHubDesktop.exe --use-angle=d3d11

    ❌ Crash

    GitHubDesktop.exe --use-angle=d3d9

    ❌ Crash

    GitHubDesktop.exe --use-angle=gl

    ❌ Crash

    GitHubDesktop.exe --use-angle=swiftshader

    ❌ Crash

    GitHubDesktop.exe --no-sandbox
    (launches but disables the entire Chromium sandbox; not a suitable long-term workaround)

    ✅ Works

    GitHubDesktop.exe --disable-gpu-sandbox

    Troubleshooting Performed

    • Completely removed GitHub Desktop
    • Deleted all installation folders
    • Deleted all cache folders
    • Deleted GPUCache
    • Deleted Code Cache
    • Deleted SquirrelTemp
    • Deleted updater folders
    • Installed multiple GitHub Desktop versions
    • Updated Intel graphics driver to latest available version
    • Tested all Chromium ANGLE backends
    • Tested software rendering
    • Tested in-process GPU
    • Tested Electron logging
    • Debugged using WinDbg
    • Collected Event Viewer logs
    • Verified crash dumps
    • Updated Intel GPU drivers using Intel Driver & Support Assistant

    None of the above resolved the issue except:

    --disable-gpu-sandbox

    Additional Information

    Visual Studio Code works correctly on the same system.

    Other applications do not exhibit GPU-related crashes.

    This appears to be specific to GitHub Desktop's Electron/Chromium runtime.

    Possible Cause

    This appears to be a regression involving Chromium's GPU sandbox.

    The GPU process fails during initialization, Electron retries six times, then intentionally aborts.

    Disabling only the GPU sandbox:

    --disable-gpu-sandbox
    avoids the crash entirely.

    This suggests the GPU sandbox is incompatible with the current Windows configuration.

    System Information

    Windows 11 Home Single Language
    Version 25H2
    OS Build 26200.8737
    
    HP Pavilion Laptop 14-dv2xxx
    
    Intel Core i5-1235U
    
    Intel Iris Xe Graphics
    
    Graphics Driver:
    32.0.101.7088
    

    Attachments

    Available upon request:

    • Crash dump (.dmp)
    • WinDbg logs
    • Event Viewer logs
    • Complete Electron startup logs
    • DXDIAG report
    • MSINFO32 report

    Notes

    The application consistently crashes when launched normally.

    Launching with:

    GitHubDesktop.exe --disable-gpu-sandbox
    works every time and allows the application to function normally.

    This strongly suggests the issue is related to Chromium's GPU sandbox initialization rather than GPU drivers or GitHub Desktop installation corruption.

    Release version

    3..

    Operating system

    Windows 11

    Steps to reproduce the behavior

    No response

    Log files

    GitHubDesktop.exe.2636.dmp

    Screenshots

    No response

    Additional context

    No response

  7. One-sixth commented on Jul 12, 2026

    @One-sixth

    I ran into the exact same issue a moment ago — GitHub Desktop suddenly failed to launch with an identical error on the latest release, v3.6.2. The fix is to launch the app with the --disable-gpu-sandbox flag.
    I have no idea what triggered this error out of nowhere. There haven’t been any recent Windows system updates, nor have I installed any new software.
    System info: Microsoft Windows Version 25H2 (OS Build 26200.8655)

  8. agbuddy7 commented on Aug 5, 2026

    @agbuddy7

    is there a resolution....??? ,i read somwhere to use the msi version

  9. dwd1 commented on Aug 26, 2026

    @dwd1

    I investigated this failure on Windows 10 x64 using CDB/WinDbg, LiveKD, clean profiles, and a minimal USER32/GDI probe. In the bad state, USER32.dll initialization failed because GDI32!GdiDllInitialize returned 0xC0000017 (STATUS_NO_MEMORY / “Not enough quota”), with the failure occurring around NtGdiInit/GDI process setup. ACL/SID repairs and GPU-related flags did not resolve the underlying state; --disable-gpu-sandbox was only a workaround.
    As an experimental mitigation, I increased SessionViewSize from 48 to 128 MB in an elevated Command Prompt and rebooted:
    reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v SessionViewSize /t REG_DWORD /d 128 /f
    Normal sandboxed Chrome/Electron startup has remained healthy so far. This is not yet proof of the root cause - the likely issue is exhaustion or leakage of per-session USER/GDI resources - but it may help others experiencing the same recurring failure.

  10. y0umu commented on Sep 12, 2026

    @y0umu

    Sharing my root cause analysis for reference — diagnosed with assistance from Claude (Anthropic)

    I encountered the same crash on my machine and traced it to a specific DACL permission issue. Sharing the findings here as a reference; the root cause on other machines may differ even if the symptoms are identical.

    My environment

    * OS: Windows 11 Home 23H2 (Build 22631)
    
    * Hermes Desktop (Electron 40.10.2), win-unpacked install
    
    * Hardware: NVIDIA GeForce RTX 3060 Laptop GPU
    
    * Other relevant software: Oray Sunflower remote desktop (向日葵远程控制)
    

    Symptoms

    App crashes immediately on launch with no window. Event Viewer (Application Error 1000) shows exception code 0x80000003. Console output:

    GPU process exited unexpectedly: exit_code=-2147483645
    GPU process isn't usable. Goodbye.
    

    Launching with --no-sandbox --use-angle=d3d11 allowed the app to start normally. The same crash was reproduced on my machine with OpenCode Desktop and GitHub Desktop — all three are Electron-based apps installed in win-unpacked format under AppData\Local.

    What I found on my machine

    Running icacls on the Hermes install directory revealed two conditions simultaneously:

    1. **Orphaned App Container SIDs** — two unresolvable SIDs inherited from the parent `AppData\Local` directory:
       
       * `S-1-15-2-3481562171-132365818-2184647172-2817059645-2637462451-718459203-114284215`
       * `S-1-15-2-615616492-4017234974-2568916711-887146842-396317020-997242959-303624905`
       
       Traced back via registry (`AppContainer\Mappings`) to **Oray Sunflower**, which had written its own App Container SIDs into `AppData\Local` with `(OI)(CI)` inheritance flags during installation, leaving them behind as orphans. The trigger software will likely differ on other machines.
    
    2. **S-1-15-2-2 (ALL APPLICATION PACKAGES) absent** — win-unpacked installs do not add this ACE automatically, unlike MSIX-packaged apps (e.g. Claude Desktop installs to `WindowsApps` and was unaffected on my machine).
    

    Per [electron/electron#51761](electron/electron#51761), having orphaned SIDs and missing S-1-15-2-2 simultaneously causes Chromium's GPU sandbox CHECK() to fail with 0x80000003 (STATUS_BREAKPOINT).

    What fixed it on my machine

    icacls "%LOCALAPPDATA%" /grant *S-1-15-2-2:(OI)(CI)(RX)

    After running this, Hermes, OpenCode, and GitHub Desktop all launched normally without any extra flags. Note: this is specific to my environment. If your DACL state differs, this may not be the root cause on your machine.

    Possible developer-side fix for consideration

    Adding the following to the bootstrap install script after extracting the win-unpacked build would prevent this class of issue regardless of the user's existing DACL state:

    icacls $InstallDir /grant "*S-1-15-2-2:(OI)(CI)(RX)" | Out-Null

    Although I am not using github desktop, I can confirm some wrong setup of Access Control Entry (ACE) similar to my quotations will cause trouble to Chrome sandboxing - not just the GPU part, but the GPU process is the first to suffer as someone else has pointed out. To put it simple, if I move the chrome binary from a random subdirectory in %USERPROFILE% to some D:\Applications\chrome, everything just works fine, no special command line flags.

    Update: I asked my agent to do some experiment, it was found that:

    • Adding SID of AppContainer other than S-1-15-2-1 or S-1-15-2-2 to the chrome directory, regard less of the package is installed or not, seems to trigger the crash. Removing problematic SID with icacls "affected_directory" /remove:g "*S-1-15-2-860547328-1...something-like-this..." will also bring the chrome sandboxing back.
    • Capability SID (S-1-15-3-*) does not seem related
    • ALL APPLICATION PACKAGES (S-1-15-2-1) does not seem related
  11. cihatsarsilmaz commented on Oct 4, 2026

    @cihatsarsilmaz

    @copilot

  12. unpinned this issue on Nov 3, 2026
  13. ChuckWalters commented on Nov 7, 2026

    @ChuckWalters

    In prior version, had to use cmdline param --disable-gpu-sandbox

    The latest GitHubDesktop update had an ACL issue requiring:
    cmd /c 'icacls "C:\Users<yourname>\AppData\Local\GitHubDesktop\app-3.6.10" /grant *S-1-15-2-1:(OI)(CI)(RX)'

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority-2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions