Codex Desktop 26.616 crashes on startup on Windows Insider Canary Build 26200
Open 💬 3 comments Opened Jun 22, 2026 by chenhaom318-prog
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
Version
OpenAI.Codex 26.616.6631.0 (Store package)
Platform
Windows 11 Pro 10.0.26200.8655 x64 (Insider Canary)
GPU: Intel Arc 130T (Driver 32.0.101.6554)
Issue
App crashes silently on startup — no window appears. 6+ crash dumps generated. Previous versions (installed 6/3–6/15) worked fine on the same OS build.
Crash Dump Analysis
Key strings found in minidumps:
- IsSandboxedProcess
- electron/js2c/sandbox_bundle
- ScopedMayLoadLibraryAtBackgroundPriority
- Failed to load Chrome DLL from
- DelayLoadFailureHook
- Loading the shim engine DLL failed
- LdrpPreprocessDllName for DLL failed
- Unable to create status tray icon
Appears to be an Electron GPU/sandbox initialization failure.
Notes
- Manifest MaxVersionTested: 10.0.26100.0; actual OS: 10.0.26200
- App data reset (LocalState/Settings/LocalCache/TempState) had no effect
- No proxy/network issues
- No Windows Error Reporting entries (Crashpad handles internally)
Steps
- Install Codex from Store on Win11 Build 26200
- Launch → crashes in 1–2s, no window
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Additional crash evidence for 26.616.6631.0
Codex Desktop frequently crashes during normal use on:
10.0.2620026.616.6631.0chrome.dll149.0.7827.115I captured three separate crashes locally. All three have the same signature:
The latest crash was an invalid pointer read near address
0x342at:Codex logs also repeatedly report:
One occurrence reported:
The referenced file is present inside the installed ASAR:
The packaged application starts this worker with the name:
This worker name exactly matches the crashing thread in all three crashes.
Additional checks:
NODE_OPTIONSandELECTRON_RUN_AS_NODEare not set.This appears to involve the Windows
electron-samplerchild-process snapshot worker, its ASAR loading/lifecycle, or a V8/CppGC interaction in Chromium149.0.7827.115.Please investigate the worker creation/error-handling path and whether repeated snapshot workers can outlive or race with their associated V8 context.
For privacy reasons, I cannot share the dump files. The reproducible exception signature and relevant log evidence are included above.
Temporary local workaround
I found a reproducible local workaround for
26.616.6631.0.The workaround disables only the Windows child-process snapshot collection by making
addChildProcessFields()return before it creates thechild-process-snapshotworker.It does not modify the signed Microsoft Store installation. The installed
appdirectory is copied to a user-writable location and only that copy is patched.Let Codex apply it
Users can give the following instruction to Codex on the affected machine:
Codex should inspect the target and confirm all preconditions instead of blindly applying the replacement to another application version.
Exact patch
The target is:
Replace this ASCII byte sequence:
with:
The actual changed portion is:
to:
Both portions are 11 ASCII bytes. This keeps the ASAR file size and every following data offset unchanged. Rebuilding or repacking the ASAR is unnecessary.
The surrounding context is important because
let r=awaitmay occur elsewhere. The full old context must occur exactly once.Manual reproduction
``
powershell
``$pkg = Get-AppxPackage -Name OpenAI.Codex
$version = $pkg.Version.ToString()
$source = Join-Path $pkg.InstallLocation "app"
$target = Join-Path $env:LOCALAPPDATA "OpenAI\CodexHotfix\$version\app"
``
powershell
``robocopy $source $target /E /COPY:DAT /DCOPY:DAT /XJ /R:2 /W:1
``
powershell
``$asar = Join-Path $target "resources\app.asar"
Copy-Item $asar "$asar.original" -Force
let r=awaitbytes withreturn;/**/.``
text
``old context count = 0
patched context count = 1
original size = patched size
original SHA-256 != patched SHA-256
``
powershell
``Start-Process (Join-Path $target "Codex.exe")
Starting Codex from the Start menu still launches the unmodified Store version. The copied executable or its dedicated shortcut must be used.
Result
child-process-snapshotworker is no longer created.The expected side effect is that child-process CPU and memory snapshot telemetry is no longer collected. Renderer and main-process telemetry are not changed.
To roll back, close the patched instance and delete
%LOCALAPPDATA%\OpenAI\CodexHotfix. The Microsoft Store installation remains unchanged.This appears to have resolved the frequent crashes on my machine so far. It is still an unsupported temporary workaround rather than a confirmed permanent fix, but the result strongly suggests that bypassing
electron-sampler.addChildProcessFields()avoids the crash and further narrows the issue to the Windows child-process snapshot worker or its V8 lifecycle.