Skip to content

Windows desktop: browser-process crash loop persists across 26.820.7780 → 26.825.3734 #41268

Open

Description

@Andronigitty

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.

  1. Launch Codex normally.
  2. Use the app or leave it running.
  3. 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

  1. added
    bug
    app
    windows-os
    on Aug 28, 2026
  2. github-actions commented on Aug 28, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. Zikang7 commented on Aug 28, 2026

    @Zikang7

    +1

  4. wojtaw commented on Sep 2, 2026

    @wojtaw

    I reproduced this crash class and captured five full dumps across two Codex Windows builds. The dumps provide the discriminator requested above.

    Current environment

    • Windows 11 Pro x64, build 10.0.26200
    • Microsoft Store package: OpenAI.Codex_26.831.2377.0_x64__2p2nqsd0c76g0
    • ChatGPT.exe / chrome.dll file version: 152.0.7977.64
    • Earlier affected package: 26.825.x

    Native crash signature

    Both fresh full dumps from 2026-09-02 fail identically:

    Exception: 0xC0000005 (access violation)
    Operation: write
    Target address: 0x0000000000000008
    Thread: CrBrowserMain
    Module: chrome.dll
    Current offset: chrome.dll+0x3640F0E
    Faulting instruction: mov qword ptr [rax+8], rcx
    RAX: 0x0000000000000000
    

    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 target 0x8, and stack shape at chrome.dll+0x367D83E. This is therefore not the separate windows-updater.node+0x2D693 failure family.

    Additional controls:

    • Every corresponding Crashpad sidecar reports capture_kind=crash, ptype=browser.
    • Rebuilding the Chromium profile did not prevent the crash.
    • Launching with --disable-gpu --disable-extensions did not prevent it.
    • Windows produced no normal Application Error/WER event.
    • The dump module list contains no injected third-party/overlay DLL.
    • The crash persists across the 26.825.x → 26.831.2377 Store update.

    Fresh Crashpad report IDs:

    • 4e7b3a46-fca9-4207-803e-3b2ef30c4538
    • ea2ab00a-1df8-4c6a-a6c5-21105dc4c711

    I 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.

  5. fakescammer commented on Sep 2, 2026

    @fakescammer

    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

    • Windows 10 Home x64, build 19045
    • Earlier package: 26.825.6671.0
    • Current package: 26.831.2377.0
    • ChatGPT.exe file version: 152.0.7977.64
    • NVIDIA GeForce RTX 3070 Ti, driver 32.0.16.1062

    Five locally confirmed crash records (UTC)

    • 2026-09-01 05:12:48
    • 2026-09-01 08:48:36
    • 2026-09-01 17:18:39
    • 2026-09-02 08:48:38
    • 2026-09-02 10:46:07 — already on 26.831.2377.0

    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.

  6. carlosesquivelroisenvit commented on Sep 2, 2026

    @carlosesquivelroisenvit

    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.0 to 26.831.2377.0 at 11:22 local time (UTC+7):

    • 15:59:53
    • 16:37:47
    • 17:33:34
    • 20:31:48

    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:

    • zero browser-use-pip events
    • zero Cannot find context with specified id errors
    • zero reason=target-close events
    • zero renderer/child-process-gone events
    • zero non-null browserTabId owner-sync events

    The logs instead record Concurrent reasoning summaries feature override resolved featureOverride=true. The last retained desktop event before each Crashpad timestamp was Reasoning 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 206 ResizeObserver loop completed with undelivered notifications errors. In the latest crash, a ResizeObserver error 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

  7. wojtaw commented on Sep 2, 2026

    @wojtaw

    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.

  8. wojtaw commented on Sep 2, 2026

    @wojtaw

    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, and computer_use=false; the app logged Browser availability as false (browserPane=false, reason browser-pane-disabled), and there were zero internal Browser backend startup events. Crashpad still classified each failure as ptype=browser, meaning the Electron/Chromium main process rather than the Codex Browser feature. The previously captured full dump has the same native class: 0xC0000005 on CrBrowserMain in chrome.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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions