Skip to content

Bug: Electron renderer crashes on startup (exit code -36861) #41251

Open

Description

@ypyu-123

+## Bug: Electron renderer crashes on startup (exit code -36861)
+
+### Description
+The Hermes desktop app (Electron wrapper) shows a blank white window. The Python backend starts successfully, but the Chromium renderer .+
+### Environment
+- Hermes version: CLI 0.16.0, desktop app 0.15.1
+- Electron: 40.9.3 / Chromium 144.0.7559.236
+- OS: Windows 11 build 26200
+- Display: Dual monitor, both at 175% DPI scaling (2195x1235 + 1464x915)
+- Python: 3.11.4 in venv
+- Node: v24.13.0
+
+### Steps to Reproduce
+1. Install Hermes on Windows 11 (build 26200) with dual high-DPI monitors
+2. Launch via desktop shortcut or hermes desktop --skip-build
+3. App window appears but stays completely white
+4. CLI (hermes in terminal) works perfectly
+
+### What I've tried (none helped)
+- --disable-gpu
+- --disable-gpu --disable-gpu-sandbox --in-process-gpu
+- --disable-gpu --disable-gpu-sandbox --in-process-gpu --disable-software-rasterizer --use-angle=swiftshader
+- hermes desktop --force-build (full rebuild)
+- Installed missing Python deps (annotated-doc, fastapi, uvicorn)
+
+### Logs
+From ~/.hermes/logs/desktop.log (repeats in a crash loop):
+
+ +[hermes] [boot] Hermes runtime is ready +[hermes] Starting Hermes backend via existing Hermes CLI +[hermes] [boot] Waiting for Hermes backend to become ready +[hermes] Hermes Web UI → http://127.0.0.1:9120 +[hermes] [boot] Hermes backend is ready. Finalizing desktop startup +[hermes] [renderer] render-process-gone reason=crashed exitCode=-36861 +[hermes] [renderer] render-process-gone reason=crashed exitCode=-36861 +[hermes] [renderer] render-process-gone reason=crashed exitCode=-36861 +[hermes] [renderer] render-process-gone reason=crashed exitCode=-36861 +[hermes] [renderer] suppressing reload: 3 crashes within 60000ms (likely a crash loop) +
+
+No crash dumps found. --enable-logging --v=1 shows only normal Chromium init messages before the crash, no errors.
+
+### Note
+The CLI (hermes in terminal) works perfectly. This is specific to the Electron desktop wrapper.

Activity

  1. added
    type/bugSomething isn't working
    P3Low — cosmetic, nice to have
    on Jun 7, 2026
  2. DavidMetcalfe commented on Jul 21, 2026

    @DavidMetcalfe

    Hi @ypyu-123, thanks for reporting this. A few things have changed since this was filed that may help:

    Note: This is distinct from the Windows GPU sandbox 0x80000003 crash fixed in PR #66842 / Issue #38216 — your exit code (-36861 / 0xFFFF7003) is different and is not covered by that recovery logic.

    Things to try on current version (0.19.0+):

    1. --no-sandbox — even though the exit code doesn't match the known sandbox breakpoint signature, it's worth testing:

      hermes desktop -- --no-sandbox
      
    2. GPU disable via config.yaml — you tried the env var form, but the config form is now the supported path:

      # ~/.hermes/config.yaml
      desktop:
        disable_gpu: true
    3. Crash dump — if the crash still reproduces, getting a Chromium crash dump would help narrow this down:

      set ELECTRON_ENABLE_CRASH_REPORTER=1
      set CRASHPAD_DUMP_LOCATION=%LOCALAPPDATA%\Hermes\crashes
      

      Then reproduce and share the .dmp file from that directory.

    Environment info that would help:

    • Does this still reproduce on the latest Hermes version?
    • GPU model and driver version (e.g. NVIDIA/AMD/Intel, driver date)
    • Does it reproduce with a single monitor at 100% scaling?
    • Are you running any third-party antivirus, screen recording (OBS), or GPU overlay tools (RivaTuner, MSI Afterburner) that might hook into the renderer process?
    • Does hermes serve + opening http://127.0.0.1:9120 in Chrome work?

    The exit code -36861 (0xFFFF7003) is not a standard Windows NTSTATUS code and hasn't been root-caused even in other Electron apps (VSCode #159601). Without a crash dump or a way to reproduce, this is hard to investigate further — but the mitigations above may get you unblocked.

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

    P3Low — cosmetic, nice to havetype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions