Repository navigation
Description
Description
The native Codex Windows desktop app repeatedly terminates without a visible error. Crashpad records each event as a browser/main-process crash, but the desktop log ends abruptly without a fatal exception and no minidump was retained.
Environment
- Windows 11 x64
- Codex package versions observed: 26.820.7780 and 26.825.3734
- Current package: 26.825.3734
- Native Windows/PowerShell mode
Reproduction / timeline
Local timezone: AEST (UTC+10), 28/08/2026.
- Launch Codex normally.
- Use the app or leave it running.
- The entire app closes abruptly.
Crashpad sidecars were created at:
- 14:22:27 — 26.820.7780, about 6 seconds after launch
- 14:28:43 — 26.820.7780, about 2 minutes 30 seconds after launch
- Microsoft Store then updated Codex to 26.825.3734
- 14:48:44 — 26.825.3734, about 18 minutes 39 seconds after launch
- 14:49:02 — 26.825.3734, about 6 seconds after launch
- 14:49:11 — 26.825.3734, about 5 seconds after launch
There were eight earlier browser-process Crashpad events on 24/08 and 26/08. The crash loop therefore persisted across the Store update.
Every retained sidecar contains the equivalent of:
{"capture_kind":"crash","osarch":"x86_64","ptype":"browser"}Additional diagnostics
During one affected startup, the bundled primary runtime update ran for about 83 seconds and failed during activation:
primary_runtime_install_failed
failureStage=activate_runtime
bundleVersion=26.826.12353
trigger=startup_missing
retryable=false
permission_denied
EPERM while renaming %USERPROFILE%\.cache\codex-runtimes\codex-primary-runtime
Two incomplete codex-runtime-install-* staging directories remained. After updating to 26.825.3734, the log also reported bundled_plugin_status_unknown with The system cannot find the path specified. (os error 3) for bundled components.
Some longer-running crashes ended immediately after three GitHub sidebar warnings saying no git remotes found. However, the same warnings occur in sessions that remain running, so this appears correlated rather than proven causal.
Windows event history showed no corresponding:
- Application Error / WER event
- GPU/display driver reset
- resource-exhaustion or out-of-memory event
- Defender action
- scheduled-task termination
One separate Store deployment did use ForceTargetApplicationShutdownOption; that update termination is distinguishable from the Crashpad-recorded browser-process crashes.
Expected behavior
Codex remains running, or records a usable fatal exception/dump if the main process fails.
Actual behavior
The complete desktop app closes abruptly and only a small Crashpad sidecar remains.
Further evidence
Windows LocalDumps is now enabled for full ChatGPT.exe dumps with a ten-file retention limit. I can attach the next captured dump or provide additional logs if requested.
Activity
github-actions commentedon Aug 28, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Zikang7 commentedon Aug 28, 2026
+1
wojtaw commentedon Sep 2, 2026
I reproduced this crash class and captured five full dumps across two Codex Windows builds. The dumps provide the discriminator requested above.
Current environment
OpenAI.Codex_26.831.2377.0_x64__2p2nqsd0c76g0ChatGPT.exe/chrome.dllfile version:152.0.7977.64Native crash signature
Both fresh full dumps from 2026-09-02 fail identically:
The two fresh dumps have the same RIP and the same initial stack addresses relative to
chrome.dll. Three earlier full dumps from 26.825.x show the same exception type, write target0x8, and stack shape atchrome.dll+0x367D83E. This is therefore not the separatewindows-updater.node+0x2D693failure family.Additional controls:
capture_kind=crash,ptype=browser.--disable-gpu --disable-extensionsdid not prevent it.Fresh Crashpad report IDs:
4e7b3a46-fca9-4207-803e-3b2ef30c4538ea2ab00a-1df8-4c6a-a6c5-21105dc4c711I am not attaching the full dumps publicly because they contain process memory. I can retain them and provide a narrowly scoped artifact through a private maintainer-approved channel if needed.
fakescammer commentedon Sep 2, 2026
Another affected Windows installation, with the same retained Crashpad signature and crashes across the 26.825.x → 26.831.2377 update. I cannot yet confirm that the native exception matches the chrome.dll or windows-updater.node signatures reported above.
Environment
Five locally confirmed crash records (UTC)
All five sidecars contain:
{"capture_kind":"crash","osarch":"x86_64","ptype":"browser"}Timestamps are sidecar modification times corroborated by application log endings. The latest log abruptly ends at 10:46:07.257Z; the next app instance starts logging at 10:46:11.012Z. No .dmp files remain in the inspected Crashpad directory, and no fatal exception/stack appears in the inspected desktop logs.
There were no matching ChatGPT Application Error/WER events or relevant resource-exhaustion/display/WHEA events in the inspected event range. Separate Explorer.exe/twinui.pcshell.dll crashes were present, but a causal link has not been established.
The exact reproduction trigger is still unknown. Native crash capture is being configured locally so the next report can include the exception code and faulting module+offset. No conversation transcripts, raw logs, account identifiers or process memory are attached to this public comment.
carlosesquivelroisenvit commentedon Sep 2, 2026
Corroborating this on Windows with the current Microsoft Store build
26.831.2377.0.I observed the complete Codex desktop app close at least six times on 2026-09-02. The surviving local evidence confirms four native main-process crashes after my app updated from
26.825.6671.0to26.831.2377.0at 11:22 local time (UTC+7):Each crash created the same Crashpad sidecar:
{"capture_kind":"crash","osarch":"x86_64","ptype":"browser"}Windows AppModel Runtime recorded the AppX container being destroyed at the same four timestamps. The older build ran from 07:03 until the orderly Store update at 11:22 without a Crashpad sidecar; all retained crashes occurred on
26.831.2377.0.This does not show the in-app Browser teardown signature from #36674:
browser-use-pipeventsCannot find context with specified iderrorsreason=target-closeeventsbrowserTabIdowner-sync eventsThe logs instead record
Concurrent reasoning summaries feature override resolved featureOverride=true. The last retained desktop event before each Crashpad timestamp wasReasoning summary item completed, respectively about 18 seconds, 9 seconds, 2 seconds, and 7 seconds before termination. The four affected lifetimes also recorded 103, 1, 35, and 206ResizeObserver loop completed with undelivered notificationserrors. In the latest crash, aResizeObservererror occurred about 30 seconds before the Crashpad event. This may connect the failure to the reasoning-summary/layout path reported in #33996, but it is correlation rather than a proven native root cause.No matching Windows Application Error, WER dump, GPU/display reset, Defender action, Code Integrity failure, or resource-exhaustion event survived. No Crashpad minidump was retained, so the exact native exception remains unknown.
I am attaching a sanitized evidence bundle containing only the package timeline, Crashpad metadata, aggregate signature counts, and redacted final-event sequence. It contains no prompts, task titles, repository names, local paths, thread/turn/item IDs, account identifiers, credentials, cookies, or raw application logs.
codex-desktop-crash-20260902.zip
wojtaw commentedon Sep 2, 2026
Follow-up reproduction on Windows, release 26.831.21537 (Store package 26.831.2377.0): I disabled browser@openai-bundled, computer-use, and unified-computer-use; enabled only chrome@openai-bundled; and set BROWSER_USE_AVAILABLE_BACKENDS=chrome plus BROWSER_USE_TINYSKY_ENABLED=0. After restarting, the main log still recorded IAB_LIFECYCLE for a new thread and browser_use_iab_backend_startup_ready backend=iab at 2026-09-02T19:41:54.826Z. Crashpad then recorded capture_kind=crash, ptype=browser at 21:42:00 local, about 6 seconds later. No external Edge browser action had run. After automatic relaunch, config.toml was replaced and the values reverted to chrome,iab and TINYSKY=1. This shows the external-only/backend setting is not honored or persisted and the embedded backend can start even with its plugin disabled.
wojtaw commentedon Sep 2, 2026
Sanitized follow-up / correction (Windows app 26.831.2377.0): Three consecutive native crashes were recorded at 22:14:25, 22:14:39, and 22:14:53 local time. During all three sessions,
browser_use=false,in_app_browser=false, andcomputer_use=false; the app logged Browser availability as false (browserPane=false, reasonbrowser-pane-disabled), and there were zero internal Browser backend startup events. Crashpad still classified each failure asptype=browser, meaning the Electron/Chromium main process rather than the Codex Browser feature. The previously captured full dump has the same native class:0xC0000005onCrBrowserMaininchrome.dll, writing through a null pointer. This disproves internal Browser startup as a necessary trigger and points to a broader Electron main-process window/task-restoration lifecycle defect. The app also creates an invisible avatar-overlay renderer on every launch; terminating that renderer caused it to be recreated immediately, so it is not a usable workaround and is only a correlation, not a proven root cause. Impact: the Windows desktop app is unusable for sustained paid work and research because it can terminate repeatedly within seconds. Browser side chat is not an adequate substitute for extensive Codex work. Please prioritize symbolication of this build and provide a fixed or rollback-capable Windows package. No raw logs, dumps, local paths, prompts, project names, account identifiers, or session contents are included in this comment.