[Windows][26.721.11231.0] App exits ~2.4s after launch after two renderer 0xC0000005 crashes
What version of the Codex App are you using?
- Microsoft Store package:
OpenAI.Codex 26.721.11231.0(x64) - Bundled Codex CLI reported by the desktop log:
0.146.0-alpha.3.1 - Bundled
chrome.dll:150.0.7871.128
What subscription do you have?
Pro Lite ($100)
What platform is your computer?
- Windows 11 Pro
10.0.26200, x64 - Microsoft Store/MSIX installation
- AMD Radeon Graphics, driver
32.0.21037.1004 - Parsec Virtual Display Adapter
0.45.0.0is also installed
What issue are you seeing?
Normal AppX activation succeeds, but the app exits silently about 2.4 seconds after launch. No usable window or error dialog remains.
The desktop log shows that the bundled Codex app-server starts and initializes successfully. Immediately afterward, the main UI fails to load:
Launching app ... packaged=true platform=win32
[StdioConnection] stdio_transport_spawned ... codex.exe
[AppServerConnection] initialize_handshake_result ... outcome=success
[AppServerConnection] Codex CLI initialized
[window-manager] Failed to load bundle at errorCode=ERR_FAILED errorMessage="ERR_FAILED (-2) loading 'app://-/index.html'"
A single reproduction generated three Crashpad minidumps:
- Renderer process:
0xC0000005access violation, operationexecute, exception/invalid address0x00007FFEE98F3CB0. - Second renderer process: the same
0xC0000005execute violation at the same address. - Browser/main process:
0x80000003in bundledchrome.dll+0x15C4CC8.
The two renderer dumps are small early-process dumps and do not contain chrome.dll in their module lists, so I am not claiming that their exception address maps to a specific module. The reliable facts are the identical renderer execute violations, the subsequent browser-process breakpoint in bundled chrome.dll, and the UI bundle load failure.
This reproduced on all three observed launches. On the measured launch, the ChatGPT.exe process tree was gone after approximately 2.4 seconds.
What steps can reproduce the bug?
- Install or register Microsoft Store package
OpenAI.Codex_26.721.11231.0_x64__2p2nqsd0c76g0. - Launch the normal Start menu entry or activate
OpenAI.Codex_2p2nqsd0c76g0!App. - Observe the processes start and then disappear after approximately 2.4 seconds.
- Inspect the desktop log and Crashpad reports under the package's local app-data directory.
- Observe two renderer
0xC0000005dumps and one browser/main-process dump per launch.
What is the expected behavior?
The signed Store app should open and remain usable. If the renderer or local app:// bundle cannot initialize, the app should show a recoverable diagnostic instead of silently terminating the entire desktop host.
Additional diagnostic results
Get-AppxPackagereports package statusOk.- AppX Stage/Register operations completed successfully.
- The Microsoft Store package catalog signature is valid.
app.asaris present and its header containswebview/index.html(size=14213, SHA-256 recorded in the ASAR metadata), so the logged URL failure is not explained by a missing packaged HTML entry.- No matching Code Integrity block was found around the crash.
- No Windows Display, GPU-reset, WHEA, or related System error was recorded around the reproduction.
NODE_OPTIONS,ELECTRON_RUN_AS_NODE,ELECTRON_NO_ASAR, and Electron logging override variables are unset at process, user, and machine scope.- AppInit DLL loading is disabled and no
ChatGPT.exeIFEO debugger entry is configured. - The application log contains no Codex/ChatGPT WER crash event; the crashes are captured by the app's own Crashpad handler.
Related issues
- #34923 reports a very similar post-activation
chrome.dllaccess-violation regression on Store package26.715.10079.0and Windows build26200. - #29425 reports silent startup crashes on Windows build
26200, but for an older package and without this dump sequence. - #31153 concerns a startup failure caused by
NODE_OPTIONS; that variable is not set on this system, and this app reaches successful Codex CLI initialization. - #32683 concerns a browser-main access violation after Browser Use navigation. This issue occurs during initial UI startup before Browser Use can be invoked.
Raw dumps are retained locally because minidumps can contain private process memory, paths, and session data. A narrowly scoped dump or symbolicated excerpt can be provided privately to OpenAI maintainers if requested. No raw dump, full log, username, SID, machine name, session ID, or account data is attached publicly.
4 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I can reproduce what appears to be the same startup failure on a newer Codex Windows build.
Environment
OpenAI.Codex 26.818.5229.0(x64)10.0.26200x640.149.0-alpha.4.1151.0.7922.170Behavior
Normal AppX activation succeeds, but the app exits within approximately 1–2 seconds without displaying a usable window.
The desktop log shows successful backend initialization:
followed immediately by:
I verified separately with
asar listthat\webview\index.htmlis present inside the installedapp\resources\app.asar, so this does not appear to be caused by a missing packaged HTML file.Crashpad
Every reproduced launch creates:
ptype: browser)ptype: renderer)WinDbg analysis of a renderer dump:
The renderer stack reaches
RtlpFlsDataCleanup,LdrShutdownProcess, andRtlExitUserProcess, so this particular crash may occur secondarily during process shutdown.The browser-process dump shows:
Interestingly, that
FAILURE_ID_HASHis identical to the Chromium breakpoint reported in #38310, although the trigger in that issue is different (typing/after the app has successfully launched).Troubleshooting already attempted
Get-AppxPackagereports package statusOkapp.asarexists (~287 MB)webview/index.htmlexists insideapp.asarshell:AppsFolder\OpenAI.Codex_2p2nqsd0c76g0!AppELECTRON_DISABLE_GPU=1ELECTRON_DISABLE_GPU_COMPOSITING=1I also observed the issue around the time of an AMD graphics-driver update, but I currently have no evidence that the AMD driver is the cause. No AMD or NVIDIA driver module appears in the faulting WinDbg stacks, and disabling Electron GPU acceleration did not change the behavior.
I have retained the original Codex logs and Crashpad dumps locally and can provide additional debugger output if useful. I have not attached the raw dumps publicly because they may contain process memory.
One potentially relevant timeline detail: the Codex/ChatGPT Windows app worked normally immediately after I first installed it.
I later installed/updated AMD Adrenalin graphics drivers. The already-running app continued to work before reboot, although I did not explicitly close and relaunch it during that period. After rebooting Windows, the app began consistently failing during startup as described above.
Therefore, the reboot and/or graphics-driver update correlate with the first observed occurrence of the issue, but I cannot establish causation. Other GPU-accelerated applications and a 3D game continue to work normally, the Electron GPU-disable environment-variable tests did not change the Codex behavior, and the analyzed crash stacks do not directly implicate an AMD or NVIDIA driver.
Update: I was able to isolate a strong correlation with the AMD Radeon display driver.
The app originally worked normally on this machine. The startup failure was first observed after an AMD Adrenalin/display-driver update followed by a Windows reboot.
I performed a controlled driver rollback:
Failing configuration
31.0.21925.1001(2026-05-20)32.0.16.108826.818.5229.010.0.26200x64With this configuration, every Codex launch reproducibly resulted in the previously described
ERR_FAILED (-2) loading 'app://-/index.html', followed by the browser/renderer Crashpad failures and application exit.I then used Device Manager → Roll Back Driver for the AMD Radeon adapter only.
Working configuration
27.20.14032.8(2020-12-22)32.0.16.1088(unchanged)After rebooting with the older AMD driver, Codex opened normally.
I then:
I am currently using the Codex desktop app successfully from this same installation after the AMD driver rollback.
So, on this machine, changing only the AMD Radeon display driver from
31.0.21925.1001to27.20.14032.8changes the behavior from consistently reproducible startup failure to consistently successful startup.This does not establish whether the root cause is in the AMD driver itself, Chromium/Electron, or an interaction between them, but it provides a reproducible workaround and strongly suggests the AMD display-driver version is involved.
One potentially interesting comparison: the original report also lists AMD Radeon Graphics (driver
32.0.21037.1004), although it is a different driver version from mine.