You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex Desktop 26.616 crashes on startup on Windows Insider Canary Build 26200 #29425
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
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)
The referenced file is present inside the installed ASAR:
\.vite\build\child-process-snapshot-worker.js
The packaged application starts this worker with the name:
child-process-snapshot
This worker name exactly matches the crashing thread in all three crashes.
Additional checks:
The underlying WMI process queries complete normally.
NODE_OPTIONS and ELECTRON_RUN_AS_NODE are not set.
Disabling Codex plugins did not stop the crashes.
This appears to involve the Windows electron-sampler child-process snapshot worker, its ASAR loading/lifecycle, or a V8/CppGC interaction in Chromium 149.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.
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 the child-process-snapshot worker.
It does not modify the signed Microsoft Store installation. The installed app directory 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:
Create a local side-by-side hotfix for my installed OpenAI.Codex Windows
Store package. Do not modify anything under Program Files\WindowsApps.
1. Detect the installed package with Get-AppxPackage -Name OpenAI.Codex.
2. Copy its complete app directory to:
%LOCALAPPDATA%\OpenAI\CodexHotfix\<installed-version>\app
3. Back up the copied resources\app.asar as app.asar.original.
4. In the copied app.asar, perform an equal-length binary ASCII replacement:
old: async addChildProcessFields(e){try{let r=await
new: async addChildProcessFields(e){try{return;/**/
5. Require the old sequence to occur exactly once before patching.
6. Require the old sequence to occur zero times and the new sequence exactly
once after patching.
7. Verify that the ASAR size is unchanged and record the original and patched
SHA-256 hashes.
8. Create a launcher and desktop shortcut for the copied app\Codex.exe.
9. Keep the Store installation and original ASAR untouched so the workaround
can be removed by deleting the side-by-side copy.
10. Briefly launch the patched copy with an isolated temporary user-data-dir,
verify that it stays running, then terminate only processes whose executable
path is inside the hotfix directory.
Use native PowerShell/.NET byte APIs for the replacement. Do not use a text
editor, do not unpack and rebuild the ASAR, and do not change the byte length.
Codex should inspect the target and confirm all preconditions instead of blindly applying the replacement to another application version.
Exact patch
The target is:
<hotfix copy>\app\resources\app.asar
Replace this ASCII byte sequence:
async addChildProcessFields(e){try{let r=await
with:
async addChildProcessFields(e){try{return;/**/
The actual changed portion is:
let r=await
to:
return;/**/
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=await may occur elsewhere. The full old context must occur exactly once.
Read the copied ASAR as bytes. Find the complete old ASCII context and confirm that it occurs exactly once.
Replace only its let r=await bytes with return;/**/.
Write to a temporary file first, then replace the copied ASAR.
Verify:
old context count = 0
patched context count = 1
original size = patched size
original SHA-256 != patched SHA-256
Close the normal Codex Desktop instance and launch:
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
The patched application passes Electron/ASAR startup validation.
It remains running and starts its normal Codex child processes.
The child-process-snapshot worker is no longer created.
Normal conversations and tool execution continue to work.
Since applying this workaround, I have not observed any new Codex Desktop crashes during normal use.
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.
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Jun 22, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
SleepingBag945 commentedon Jun 22, 2026
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.
SleepingBag945 commentedon Jun 22, 2026
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
Detect the package and paths:
Copy the complete application without following directory junctions:
Back up the copied ASAR:
Read the copied ASAR as bytes. Find the complete old ASCII context and confirm that it occurs exactly once.
Replace only its
let r=awaitbytes withreturn;/**/.Write to a temporary file first, then replace the copied ASAR.
Verify:
Close the normal Codex Desktop instance and launch:
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.