[Windows] Codex Desktop crashes on launch in chrome.dll with 0xC0000005
What version of the Codex App are you using (From “About Codex” dialog)?
148.00.7778.179
What subscription do you have?
Pro x20
What platform is your computer?
Windows 10
What issue are you seeing?
What issue are you seeing?
Codex Desktop on Windows starts and immediately exits. No visible UI appears.
Launching through Start menu / shell:AppsFolder starts a process briefly, then the AppX container is destroyed. Launching Codex.exe manually from the package copy also exits immediately.
ProcDump captures an unhandled access violation:
C0000005.ACCESS_VIOLATION
Visual Studio dump inspection shows the crash in chrome.dll.
Call stack:
chrome.dll!00007ff94bb9963b()
chrome.dll!00007ff94a235ad3()
chrome.dll!00007ff94a20b3f6()
chrome.dll!00007ff94a16b761()
chrome.dll!00007ff947745994()
chrome.dll!00007ff9476f566a()
chrome.dll!00007ff9476f4d21()
chrome.dll!00007ff9476f3184()
Codex.exe!00007ff7eed18011()
Codex.exe!00007ff7eed15f66()
Codex.exe!00007ff7eeebfed2()
kernel32.dll!00007ffaa25d7374()
ntdll.dll!RtlUserThreadStart()
Version / environment
Codex Windows Store app: 26.527.3686.0
Package: OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0
AppID: OpenAI.Codex_2p2nqsd0c76g0!App
Codex.exe version: 148.00.7778.179
chrome.dll version: 148.00.7778.179
OS Windows 10.0.19041.*
What have you tried?
- Reinstall attempted.
- Start menu / shell launch tested.
- Direct Codex.exe launch tested from copied package folder.
- ProcDump captured crash.
- Visual Studio dump inspection points to chrome.dll.
- No useful Codex logs found.
- Application event log did not show a normal crash event.
- AppModel-Runtime/Admin shows process creation followed by AppX container destruction.
Tested Chromium flags; all crash the same:
--disable-gpu
--disable-gpu-compositing
--disable-direct-composition
--disable-features=Vulkan,UseSkiaRenderer,CanvasOopRasterization
--no-sandbox
Loaded modules / injection check
No obvious third-party injected DLLs were present in the module list. The module list appears to contain only Codex/Chromium DLLs and Windows system DLLs.
What steps can reproduce the bug?
Starting the app via icon does nothing (app crashes immediately).
What is the expected behavior?
_No response_
Additional information
_No response_
8 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
You can check whether your system has this environment variable set:
NODE_OPTIONS=--openssl-legacy-provider
If it exists, try deleting it and then see if Codex launches normally.
Well, I'll be damned - it worked. How? What?
That variable was probably set for some dev project, but it ends up affecting everything else on the machine — including Codex, which is an Electron app (Electron runs on Node). Electron doesn't allow --openssl-legacy-provider in NODE_OPTIONS, so when it sees that flag it exits immediately, before showing any window. That's the silent "won't launch."
Kudos, really.
I am seeing the same immediate launch crash on the Microsoft Store Windows app.
Environment
OpenAI.Codex_26.609.3341.0_x64__2p2nqsd0c76g026.609.3341.0OkOpenAI.Codex_2p2nqsd0c76g0!AppBehavior
shell:AppsFolder\OpenAI.Codex_2p2nqsd0c76g0!Appcreates the app process briefly..dmpis created on every launch under:%LOCALAPPDATA%\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache\Roaming\Codex\web\Codex\Crashpad\reportsCrash metadata from latest minidump
0xc00000050x7ffb3c5509ab0x0,0x1f0chrome.dll...\OpenAI.Codex_26.609.3341.0_x64__2p2nqsd0c76g0\app\chrome.dllTroubleshooting already tried
Add-AppxPackage -DisableDevelopmentMode -Register AppxManifest.xml.Reset-AppxPackageforOpenAI.Codex.winget.Latest post-reinstall dump was generated at
2026-06-12 20:13:26 Asia/Jakarta. I am not attaching the dump publicly by default, but it is available if maintainers need it through a safer channel.Follow-up: on the same machine, launching through the Start Menu /
shell:AppsFolder\OpenAI.Codex_2p2nqsd0c76g0!Appstill crashes immediately and creates a Crashpad dump.However, directly launching the installed package executable works and does not create a new dump:
After direct launch, multiple
Codex.exechild processes remain alive, plus the bundledapp\resources\codex.exe, and no new Crashpad dump is generated. This suggests the issue on this system is tied to the AppX/Start Menu activation path rather than the bundled app binary being completely unusable.I can reproduce the same native Windows crash on a newer Codex Desktop build, with a stable fault offset across two independently captured dumps.
Environment and update
26.707.9981.026.707.9564.0at2026-07-14 08:44:46local timeGet-AppxPackagereportsStatus: Ok; AppX deployment completed successfullyCrash evidence
| Run | Local crash time | Desktop PID | Dump size | Dump status / SHA-256 |
| --- | --- | ---: | ---: | --- |
| 1 |
09:09:30|2764| approximately 40 MB | rotated by Crashpad; hash unavailable || 2 |
09:33:04|25920|40,700,704bytes | rotated by Crashpad; recorded SHA-256ec0eaf1a11d0129c325e71ba25ba61bdbb40ec85ab5e33c1c3d2e50831a88c65|| 3 |
09:57:19|10276|40,753,232bytes | available; SHA-2569b240ec369f3c1e769c04a40255a8494ec0c91dcf1e98e5d0245c5f0f4bea1a2|Crashes 2 and 3 have the exact same minidump signature:
0xC0000005atchrome.dll+0x2E08F46. In run 3, the Desktop process stayed up for about 10 minutes, then the final log event was Browser Use's embedded webview reachingdom-readyonabout:blank; the Crashpad dump followed about 1.3 seconds later. The log ends abruptly, with no normal shutdown sequence.Sanitized log references for run 3:
enabled=falsedom-readyeventAdditional isolation performed:
chat_processes.jsoncontained NUL bytes before run 1. It was quarantined; the associated parsing error disappeared and the file was not regenerated, but crashes 2 and 3 still occurred.browser@openai-bundledremainedenabled=falsethroughout run 3. Codex reconciled the plugin while preserving that state, but the separate embedded IAB subsystem still created its Browser Use webview and the crash persisted.render-process-gone, app-server exit/disconnect, or normal shutdown event appears immediately before the crash.This appears to rule out the corrupted chat-process state and the Browser plugin enable flag as sufficient explanations. It does not rule out the embedded Browser Use/Electron/Chromium path; the repeated
chrome.dlloffset immediately after webview readiness makes that path the strongest current correlation.Would the maintainers like the latest dump, sanitized logs, and the parsed metadata retained from the rotated dumps through a private channel? Also, is
26.707.9981.0known to contain either a fix or a regression related to this Chromium/IAB crash signature?