Skip to content

Windows desktop app crashes when in-app Browser route is torn down (5 reproducible crashes) #42006

Open

Description

@kingballyy

Summary

The Codex desktop app for Windows repeatedly crashes when an in-app Browser / browser-use session is closed after its route becomes unavailable.

Five app-level crashes occurred on the same day. Every Crashpad sidecar reports:

{"capture_kind":"crash","osarch":"x86_64","ptype":"browser"}

Environment

  • Codex desktop app: 26.825.6671.0
  • OS: Windows x64
  • Time zone: Asia/Shanghai

Crash times

  • 2026-09-01 11:41:47
  • 2026-09-01 12:06:28
  • 2026-09-01 15:22:35
  • 2026-09-01 15:38:42
  • 2026-09-01 16:01:13

The app restarted successfully after each crash. Windows Application/System event logs did not show a system restart or a separate OS-level failure.

Repeated log sequence

Immediately before the crashes, the desktop logs repeatedly show:

No ChatGPT browser route is available for browser session <conversation-id>
IAB_LIFECYCLE unregistered debugger listener ... reason=target-close
IAB_LIFECYCLE browser sidebar guest torn down
IAB_LIFECYCLE renderer removed browser sidebar webview
IAB_LIFECYCLE closed browser sidebar page
IAB_LIFECYCLE iab rejected tab for route ... tabRouteKey=null

The Crashpad report is then created within roughly one second of the browser target/webview teardown.

Reproduction pattern

  1. Run a Codex task that uses the in-app Browser for visual verification or a web form.
  2. Let the task create/open an in-app browser-use page.
  3. The app reports that no ChatGPT browser route is available.
  4. When the browser target closes and the webview is torn down, the desktop app crashes.
  5. After restarting Codex, resuming a browser-using task can reproduce the issue.

The issue appeared more frequently when two tasks were using the in-app Browser concurrently, but one particular long-running browser-using task was present immediately before all five crashes.

Expected behavior

A missing/stale browser route or browser tab teardown should fail the tool call or close the tab without terminating the desktop app.

Actual behavior

The Codex desktop browser process crashes and all active tasks are interrupted.

Additional information

The full local logs and affected session transcripts may contain sensitive project information, so they are not attached publicly. They can be shared privately with OpenAI if needed.

Activity

  1. kingballyy commented on Sep 1, 2026

    @kingballyy
    Author

    Related reports found after submission:

    This report adds a newer affected build (26.825.6671.0), five Crashpad-confirmed ptype=browser crashes in one day, and a repeated stale-route sequence ending in iab rejected tab for route ... tabRouteKey=null.

  2. added
    bugSomething isn't working
    appIssues related to the Codex desktop app
    windows-osIssues related to Codex on Windows systems
    on Sep 1, 2026
  3. github-actions commented on Sep 1, 2026

    @github-actions
    Contributor
  4. 84dnnvbdvp-debug commented on Sep 1, 2026

    @84dnnvbdvp-debug

    One older teardown report may materially narrow this without treating ptype=browser as a root-cause marker. In #34239, a later occurrence of the same iab rejected tab for route ... tabRouteKey=null teardown family produced a native dump from the main/browser ChatGPT.exe: 0xC0000005 read at 0xFFFFFFFFFFFFFFFF, faulting in chrome.dll+0xEC1491E, with register poison patterns consistent with a lifecycle/use-after-free class failure. That occurrence involved tearing down the active Browser Use guest while an orphan guest remained, forcing a route/tab switch.

    That does not prove the five #42006 crashes share the exact native fault. But if one of the retained Crashpad events can be reduced privately or publicly to just exception code + faulting module/offset, comparing it with #34239 would distinguish this IAB teardown/switch family from unrelated ptype=browser crashes. A focused regression matrix could then cover explicit finalize, automatic end-of-task teardown, stale-route/active-tab-to-orphan switching, and concurrent tasks, with the invariant that Browser cleanup may fail or close a tab but must not terminate the desktop main process.

  5. dhnova commented on Sep 10, 2026

    @dhnova

    Additional reproduction from newer 26.903 builds, with a deterministic final trigger and post-crash persistence evidence.

    Environment

    • Windows NT 10.0.26200.9445 x64 (25H2)
    • Codex packages affected: 26.903.8094.0 and 26.903.9818.0
    • Desktop-reported app-server version: 0.153.4
    • Local time zone: MDT (UTC-06:00)

    Four additional browser-process crashes

    The same long-running task produced four Crashpad sidecars:

    Local time Package Browser tabs closed immediately beforehand
    2026-09-09 20:53:02.850 26.903.8094.0 1
    2026-09-09 21:28:57.599 26.903.8094.0 3
    2026-09-09 22:23:50.586 26.903.8094.0 1
    2026-09-10 10:23:18.455 26.903.9818.0 1

    Every sidecar contains exactly:

    {"capture_kind":"crash","osarch":"x86_64","ptype":"browser"}

    For all four incidents, the sidecar timestamp is approximately 0.6–0.8 seconds after the desktop log ends during IAB target/webview teardown. This reproduces across the two listed package builds. Only the four 60-byte sidecars were retained; there are no .dmp files in the reports directory.

    Latest trigger captured in the durable rollout

    The final tool request was:

    await (await browser.capabilities.get('viewport')).reset();
    await tab.close();

    The tool result itself was recorded as completed (not an error), took about 16 ms, and reported openTabIds: []. The desktop log then ended with:

    16:23:17.772Z IAB_LIFECYCLE unregistered debugger listener ... reason=target-close ... webContentsDestroyed=false
    16:23:17.818Z IAB_LIFECYCLE browser sidebar guest torn down
    16:23:17.831Z IAB_LIFECYCLE renderer removed browser sidebar webview ... tabType=closed
    16:23:17.832Z IAB_LIFECYCLE closed browser sidebar page
    

    The Crashpad sidecar was written at 16:23:18.455Z. This suggests the crash occurs after the logical close reports success, during or immediately after native/browser-process cleanup.

    Possible route-identity correlation

    In the same run, getInfo requests were attributed to the persisted task ID and failed with:

    No ChatGPT browser route is available for browser session <persisted-thread-id>
    

    However, the active browser sidebar guest and its route key were registered under a different identity shaped like:

    client-new-thread:<uuid>
    

    The target that subsequently closed also used that client-new-thread:<uuid> route. I cannot establish causality from the logs alone, but the persisted-thread/browser-route identity split may help narrow the stale-route teardown path.

    Post-restart history rollback

    The crash also exposed a second failure mode:

    1. Codex restarted about 70 seconds later.
    2. Automatic goal continuation began, then a new turn was recorded as turn_aborted with reason interrupted after 5.173 seconds.
    3. The task reopened at an older interrupted checkpoint, and roughly an hour of conversation was no longer presented in the UI.
    4. The durable rollout JSONL was still present (30,204,861 bytes, 44 user-role records), including the messages absent from the UI.
    5. Integrity checks for state_5.sqlite, goals_1.sqlite, and logs_2.sqlite returned ok; the goal remained present but paused.
    6. Repository commits and working-tree changes made before the crash also remained on disk.

    This looks like a browser teardown crash followed by a stale task projection/recovery problem, rather than deletion of the underlying rollout or workspace data. Closely related reports:

    The affected IDs and redacted desktop logs/rollout excerpts can be provided privately if maintainers need them. No project source, prompt content, credentials, or full rollout is attached publicly.

  6. olinkluzz1v commented on Sep 11, 2026

    @olinkluzz1v

    I’m seeing a closely matching crash on Windows x64 with Codex desktop version 26.903.9818.0.

    Submitted feedback ID: 01a090bc-af91-7fc1-8126-f5a329ffff7a

    Codex closed completely twice today. The latest confirmed crash was September 11, 2026, at 15:11:33 UTC / 17:11:33 CEST.

    Immediately before that crash, logs show embedded-browser teardown and repeated “No ChatGPT browser route is available for browser session” errors. A Crashpad sidecar created in the same second contains:
    {"capture_kind":"crash","osarch":"x86_64","ptype":"browser"}

    The agent had attempted to switch browsers after “Browser is not available: chrome”, then the next tool call reported “Transport closed”.

    The exact cause is unconfirmed, but this appears closely related to the sequence described here. I submitted the incident through /feedback; please use the ID above to correlate the report.

    Additional detail: before the Chrome-unavailable and Transport-closed errors, the browser tool reported “Node is detached from document” while inspecting the weekly-export controls.

    The agent then refreshed the controls and continued through several browser actions before the later crash. Including this for chronology; I don’t know whether it contributed to the crash.

  7. entigit commented on Oct 4, 2026

    @entigit

    I can reproduce what appears to be the same Browser Use teardown crash on a substantially newer Windows build.

    Environment

    • Windows: Windows 11
    • Codex Desktop: 26.930.31730
    • MSIX package: 26.930.3930.0
    • Agent environment: Native Windows
    • Feedback/session ID: 01a0cebb-0c14-7db0-b4d9-b23544757a8b
    • Crashpad report: f968d0f4-a065-44e3-86ba-6e8407b7d68a
    • Crash timestamp: 2026-10-03T12:08:30Z

    Crashpad

    The matching Crashpad sidecar contains:

    {"capture_kind":"crash","osarch":"x86_64","ptype":"browser"}

    Browser Use teardown immediately before the crash

    Immediately before the Crashpad report was created, the Codex desktop log shows:

    2026-10-03T12:08:29.607Z IAB_LIFECYCLE unregistered debugger listener ... reason=target-close
    2026-10-03T12:08:29.612Z IAB_LIFECYCLE syncing browser use active state ... isActive=false
    2026-10-03T12:08:29.617Z IAB_LIFECYCLE renderer synced browser use webview state ... isBrowserUseActive=false
    2026-10-03T12:08:29.621Z IAB_LIFECYCLE renderer disposed browser sidebar webview
    2026-10-03T12:08:29.628Z IAB_LIFECYCLE browser sidebar guest torn down
    2026-10-03T12:08:29.632Z IAB_LIFECYCLE renderer removed browser sidebar webview ... tabType=closed
    2026-10-03T12:08:29.633Z IAB_LIFECYCLE closed browser sidebar page
    2026-10-03T12:08:29.633Z IAB_TAB_ANALYTICS browser tab lifecycle action=closed
    

    The Crashpad sidecar was created at approximately 2026-10-03T12:08:30Z, effectively immediately after this teardown sequence.

    Errors shortly before the crash

    There were also repeated renderer/conversation-state errors shortly beforehand, including:

    Received item/completed for unknown conversation
    Conversation state not found
    Received item/started for unknown conversation
    Received turn/completed for unknown conversation
    

    The desktop log also recorded a pubsub transport close/reconnect and repeated:

    ResizeObserver loop completed with undelivered notifications.
    

    I am not assuming these are the root cause, but they occurred shortly before the Browser Use teardown and Crashpad event.

    Restart

    The next Codex desktop startup log begins at:

    2026-10-03T12:19:39.507Z
    

    This is approximately 11 minutes after the Crashpad event.

    The restart log shows a fresh codex.exe process and fresh app-server / Browser Use initialization. The earlier unknown conversation errors are not present in the first 30 startup lines.

    This appears to show that the same browser-process crash pattern is still reproducible on:

    • Codex Desktop 26.930.31730
    • MSIX 26.930.3930.0

    I have the full crash-adjacent desktop log and session transcript locally and can provide a specific sanitized range if useful.

  8. adrianonna commented on Oct 4, 2026

    @adrianonna

    Additional report of the same Windows desktop crash pattern.

    Environment:

    • Installed desktop package: OpenAI.Codex_26.930.3930.0_x64.
    • Bundled Codex runtime: 0.160.0.
    • Windows x64, 25H2, build 26200.9457.
    • In-app Browser automation via cua_repl.

    Four Crashpad sidecar records were found:

    • 2026-10-03 02:39:32.867
    • 2026-10-03 11:45:47.789
    • 2026-10-03 19:26:21.214
    • 2026-10-04 07:23:41.237
      All times above are America/Fortaleza (UTC-03:00) and represent the sidecar files' LastWriteTime, not independently measured exception timestamps. The incidents span an app update on October 3; the current package version is verified for the latest incident and is not asserted for every earlier incident.

    Each sidecar contains:
    {"capture_kind":"crash","osarch":"x86_64","ptype":"browser"}

    For all four incidents, the matching local task records show an awaited tab.close() immediately beforehand, after UI checks of a local web application. The tool calls returned successfully; the final browser-cleanup log was followed approximately 0.74-0.80 seconds later by a crash sidecar. This is intermittent: some other tab closures succeeded.

    Latest incident, UTC:

    • 10:23:40.449: IAB_LIFECYCLE unregistered debugger listener, reason=target-close.
    • 10:23:40.458: renderer disposed browser sidebar webview.
    • 10:23:40.470: browser sidebar guest torn down.
    • 10:23:40.485: browser sidebar page closed; appBrowserUseTabCount=0.
    • 10:23:40.502: Browser Use PiP metadata changed to tabID=undefined.
    • 10:23:41.237: browser-process crash sidecar written.
    • 10:23:41.648: Windows AppModel-Runtime event 217 recorded destruction of the desktop app's container.
      The app was reopened at about 10:41:57 UTC with the same package version.

    No app deployment, Windows sleep or system restart was found in the inspected interval around the latest incident. Only crash metadata remained locally; no native dump or exception stack was available. The repeated timing strongly points to browser-tab teardown, but the internal root cause has not been established. No deliberate crash reproduction was performed.

    Expected: closing a temporary Browser Use tab should leave the desktop app and other chats running. Please investigate webview cleanup and PiP state updates when an automated tab closes.

    This report omits project names, local user paths, credentials, conversation identifiers and full transcripts.

  9. olinkluzz1v commented on Oct 9, 2026

    @olinkluzz1v

    Happened again today, same scenario, ne need to even write down the details.

  10. z595484296-dev commented on Oct 17, 2026

    @z595484296-dev

    Additional evidence: three Windows main/browser-process crashes on October 16-17, including package 26.1013.4894.0

    The affected user explicitly requested that this issue be reported. The entire ChatGPT desktop window disappears unexpectedly, interrupting normal work. This is distinct from an individual response stopping or a WebSocket disconnect.

    Environment verified locally on October 17, 2026:

    • Windows 11 Home, x64, OS version/build 10.0.26200.
    • Current Microsoft Store package: OpenAI.Codex 26.1013.4894.0, package status OK. Its executable is ChatGPT.exe.
    • Built-in update check: installedVersion 26.1013.40934, installedBuildVersion 20770, production channel, status up_to_date. These identifiers are reported separately from the MSIX version.
    • Windows reliability history records a successful OpenAI.Codex update at 2026-10-17 10:31:26 Asia/Shanghai. The latest documented crash occurred afterward; this does not by itself establish an update regression.

    Retained Crashpad evidence

    The timestamps below are sidecar filesystem last-write times, not decoded native exception timestamps. IDs are local Crashpad report IDs, not verified server-side Sentry IDs.

    UTC Asia/Shanghai (UTC+8) Crashpad report ID
    2026-10-16 14:40:31.206 2026-10-16 22:40:31.206 4a0b2741-0461-4464-8646-7a137c5fbd68
    2026-10-16 15:28:16.672 2026-10-16 23:28:16.672 c7e28135-fa2f-4791-9dbf-2fc35d5d6a8a
    2026-10-17 03:22:44.348 2026-10-17 11:22:44.348 a7a8e97f-4307-43fc-9efa-1034487ba122

    All three sidecars contain exactly:

    {"capture_kind":"crash","osarch":"x86_64","ptype":"browser"}

    Selected desktop-log chronology

    Below, conversation IDs, tab UUIDs, local paths and page URLs are omitted. Lifecycle messages are abridged; original UTC timestamps are retained.

    Incident 1: the process log identifies package 26.1013.3656.0. Its final entries include browser-route rejection and a handled missing-tab error:

    2026-10-16T14:40:30.485Z IAB_LIFECYCLE iab rejected tab for route; tabId=5; tabRouteKey=null
    2026-10-16T14:40:30.486Z IAB_LIFECYCLE iab backend request failed; Tab 5 is not part of browser session <redacted>
    

    The matching crash sidecar was written 0.720 seconds after the final log entry. The missing-tab diagnostic is not a native crash stack.

    Incident 2: a Browser Use tab closes, followed by repeated owner synchronization/rebinding for another tab:

    2026-10-16T15:28:15.626Z IAB_LIFECYCLE closed browser sidebar page
    2026-10-16T15:28:15.627Z IAB_TAB_ANALYTICS action=closed; appBrowserTabCount=6; appBrowserUseTabCount=1
    2026-10-16T15:28:15.794Z IAB_LIFECYCLE received browser sidebar owner sync
    2026-10-16T15:28:15.794Z IAB_LIFECYCLE rebound browser sidebar window; ownerWebContentsId=1; previousOwnerWebContentsId=1; windowId=1
    

    The crash sidecar follows the final log entry by 0.878 seconds. Another Browser Use tab remained according to the counters.

    Incident 3: package 26.1013.4894.0; two Browser Use tabs are torn down immediately before the main log ends:

    2026-10-17T03:22:43.575Z IAB_LIFECYCLE unregistered debugger listener; reason=target-close; tabId=11; webContentsDestroyed=false
    2026-10-17T03:22:43.581Z IAB_LIFECYCLE unregistered debugger listener; reason=target-close; tabId=10; webContentsDestroyed=false
    2026-10-17T03:22:43.639Z IAB_LIFECYCLE renderer disposed browser sidebar webview
    2026-10-17T03:22:43.647Z IAB_LIFECYCLE browser sidebar guest torn down
    2026-10-17T03:22:43.654Z IAB_LIFECYCLE renderer removed browser sidebar webview; tabType=closed
    2026-10-17T03:22:43.654Z IAB_LIFECYCLE closed browser sidebar page
    2026-10-17T03:22:43.654Z IAB_TAB_ANALYTICS action=closed; appBrowserTabCount=9; appBrowserUseTabCount=3
    2026-10-17T03:22:43.676Z browser sidebar dom-ready; interactionMode=browse; url=<local development URL omitted>
    

    The matching crash sidecar follows the final entry by 0.672 seconds. This occurrence did not require closing the application's last Browser Use tab.

    Checks and limitations

    • No matching ChatGPT/Codex Application Error, Windows Error Reporting, or hang event was found in the queried Application events 1000/1001/1002 over the preceding three days.
    • No System events 2004/4101/41/6008 were returned over the queried two-day interval. These negative checks do not exclude all memory, driver, or native failure mechanisms.
    • The inspected Crashpad directories retain sidecars but no matching native dumps. No native exception code, faulting module, or symbolized stack is available.
    • A later codex doctor run reports a consistent install, healthy databases, successful local desktop app-server initialization, and no failed checks. It also reports rollout/state-index discrepancies and optional configuration warnings. Their relationship to these crashes is unestablished; this is not an all-clear or proof of desktop stability.
    • The crashes correlate with the IAB/browser-route/teardown path. A shared native root cause, a specific use-after-free, and a deterministic minimal reproduction have not been proven. No deliberate crash reproduction was attempted on the active app.
    • Delivery of the Crashpad events to OpenAI has not been verified. This GitHub submission is not an in-app feedback receipt.

    Please investigate the Windows IAB guest/webview destruction and owner/route synchronization path, including concurrent browser sessions and closure of a non-final Browser Use tab. Please advise on a verified fixed build or supported mitigation, and a supported private method to retain the next native crash dump.

    Only minimized technical evidence is included. No raw logs, chat/session transcripts, project source, user filesystem paths, credentials, screenshots, or native memory dumps are attached.

  11. YiQian128 commented on Oct 17, 2026

    @YiQian128

    Additional Windows evidence on 26.1013.40934 (build 20770), MSIX 26.1013.4894.0, Chromium 155.0.8059.80.

    Three more whole-app crashes occurred on October 17 after a separate plugin-marketplace source conflict had been repaired. The selected pre-crash logs contain zero primary_runtime_restore_failed entries. Avoiding explicit tab close calls did not prevent automatic task-end cleanup.

    UTC chronology (crash times are sidecar last-write times, not decoded exception timestamps):

    • Task completed 06:00:02.722Z; one temporary tab closed at 06:00:02.738Z; crash sidecar at 06:00:03.615Z. Report b1c56527-81c4-488f-a549-e6bc7195ef9b.
    • Task completed 07:06:50.717Z; four temporary tabs closed between 07:06:50.775Z and 07:06:51.338Z; crash sidecar at 07:06:52.242Z. Report a6f378ef-b3fe-48db-88bb-bfa7f84f7db6.
    • Task completed 07:35:47.671Z; two temporary tabs closed at 07:35:47.678Z and 07:35:47.722Z; crash sidecar at 07:35:48.461Z. Report b5f83f4c-493d-4056-b374-ff4660be2dfb.

    All sidecars classify the process as browser, x86_64, capture_kind=crash. No explicit Browser Use close/finalize was found in these turns; the latest turn contains 39 Browser Use calls. Native exception code, native stack, and delivery of these local Crashpad report IDs to OpenAI are not established.

    Read-only inspection of the current packaged main bundle confirms that turnEnded performs asynchronous per-tab debugger cleanup and closes unmarked temporary tabs. Current finalizeThreadTeardown delegates to disposePage, which disposes observers before conditionally calling native webContents.close(). This differs from the older close-before-dispose hypothesis; changing that ordering alone is not a justified current fix. Native guest ownership/reentrancy and overlapping cleanup remain candidates, not proven causes.

    Please investigate the automatic turn-end path as well as explicit close, and provide a verified signed fix or supported diagnostic build/private capture method. Regression coverage should include one and multiple tabs, non-final-tab closure, automatic completion, interrupted turns, and retained handoff tabs, with the main process and other tasks surviving.

    The affected user needs the built-in browser and preservation of chat data/cache and concurrent work. No raw logs, transcripts, project source, local paths, screenshots, credentials or dumps are included here. This follow-up does not claim a proven use-after-free or a completed local repair.

  12. z595484296-dev commented on Oct 18, 2026

    @z595484296-dev

    Follow-up to my October 17 evidence: a fourth confirmed main/browser-process crash on October 18, after IAB teardown followed immediately by route recovery and new guest attachment

    The affected user reports that the entire desktop application disappeared again. This adds a combined teardown/recreation sequence to my previous report, without isolating which lifecycle operation caused the native failure.

    Environment rechecked: MSIX OpenAI.Codex 26.1013.4894.0, Windows x64. The built-in updater still reports installedVersion 26.1013.40934, build 20770, production channel, up_to_date.

    New local Crashpad evidence:

    • Report ID: 5c2e5154-9164-4b95-996f-65e3186f8595.
    • Sidecar filesystem last-write time: 2026-10-18T02:33:41.563Z, or 10:33:41.563 Asia/Shanghai.
    • Complete metadata: {"capture_kind":"crash","osarch":"x86_64","ptype":"browser"}.
    • The corresponding main log ends at 2026-10-18T02:33:40.914Z, 0.649 seconds before the sidecar timestamp.
    • The application was manually relaunched at approximately 02:42:01Z / 10:42:01 Asia/Shanghai.

    Selected redacted/abridged sequence, all UTC:

    02:33:40.657        unregistered debugger listener; reason=target-close; tabId=14; webContentsId=19; webContentsDestroyed=false
    02:33:40.665        renderer disposed browser sidebar webview
    02:33:40.676        browser sidebar guest torn down; guestWebContentsId=19
    02:33:40.685        browser tab lifecycle action=closed; appBrowserTabCount=9; appBrowserUseTabCount=0
    02:33:40.695-40.696  repeated getInfo failures: No ChatGPT browser route is available for browser session <redacted>
    02:33:40.710        IAB_LIFECYCLE created browser use host
    02:33:40.712        browser tab lifecycle action=opened; appBrowserTabCount=10; appBrowserUseTabCount=1
    02:33:40.812        renderer created browser sidebar webview; hostKind=hidden-browser-use; initialUrl=about:blank
    02:33:40.821        queued browser sidebar webview route; hostGeneration=15; instanceId=33; pendingAttachCount=1
    02:33:40.830        mcp_app_sandbox.attach_unmatched; guestWebContentsId=20; url=undefined; urlProtocol=invalid
    02:33:40.832        runtime attached browser sidebar webview; guestWebContentsId=20
    02:33:40.838        attached browser sidebar guest; guestWebContentsId=20
    02:33:40.913        browser sidebar dom-ready; interactionMode=browse; url=about:blank
    02:33:40.914        browser use open wait resolved; guestWebContentsId=20
    02:33:40.914        host opened page; webContentsId=20
    02:33:40.914        iab createTab mapped page to tab; tabId=15; webContentsId=20
    

    The failed getInfo calls reference a persisted conversation identity, while the new host/page is registered under a client-new-thread: route. Actual identifiers are omitted. Whether this identity difference or the sandbox diagnostic contributes to the native crash is unknown; neither is a native exception stack.

    This occurrence adds missing-route recovery and guest creation/attachment immediately after teardown to the sequence requiring investigation. It does not prove that tab creation alone crashes the app, or exclude delayed failure from the preceding teardown. No deterministic reproduction or specific native root cause is claimed.

    No matching ChatGPT/Codex Application Error, WER, or hang event was found in Application events 1000/1001/1002 between 10:30 and 10:35 local time. No System events 2004/4101/41/6008 were returned for the same interval. The inspected Crashpad directory still retains sidecars without matching native dumps; native exception code and stack remain unavailable. Absence of these Windows events does not rule out all resource/driver involvement. Server-side receipt of the local Crashpad ID is unverified.

    Please investigate this occurrence alongside the prior three, including stale-route recovery, persisted-conversation versus client-new-thread ownership, and guest attachment/reentrancy. Please provide a signed fixed build or supported mitigation and a private native-dump capture procedure. This is a new occurrence on the same affected installation, not a claim of four independent users.

    No private chat contents, project names, page history, user paths, credentials, raw logs, screenshots or dumps are included.

  13. ljh006008-blip commented on Oct 18, 2026

    @ljh006008-blip

    Additional occurrence on Windows with MSIX package version 26.1013.4894.0 (identified from the installed app path recorded in desktop logs; About-dialog version not independently checked).

    Environment: Microsoft Windows NT 10.0.19045.0 x64.

    Two desktop-app crashes were recorded on 2026-10-18:

    • 20:00:05 UTC+09:00 (11:00:05Z)
    • 20:13:49 UTC+09:00 (11:13:49Z)

    Both local Crashpad sidecars contain exactly:

    {"capture_kind":"crash","osarch":"x86_64","ptype":"browser"}

    The second crash occurred while a coding task was cleaning up its in-app browser verification tab. The previous desktop log ends at 11:13:48.468Z with this sequence (identifiers and private paths omitted):

    11:13:48.424Z IAB_LIFECYCLE unregistered debugger listener ... reason=target-close
    11:13:48.435Z IAB_LIFECYCLE iab rejected tab for route ... tabRouteKey=null
    11:13:48.435Z IAB_LIFECYCLE iab backend request failed ... "Tab <id> is not part of browser session <redacted>"
    11:13:48.452Z IAB_LIFECYCLE renderer disposed browser sidebar webview
    11:13:48.461Z IAB_LIFECYCLE browser sidebar guest torn down
    11:13:48.467Z IAB_LIFECYCLE renderer removed browser sidebar webview ... tabType=closed
    11:13:48.468Z IAB_LIFECYCLE closed browser sidebar page
    

    The Crashpad sidecar was last written at 11:13:49Z, and a new desktop process log starts at 11:13:56Z after the app was reopened.

    This appears consistent with the browser-route/tab-teardown failure described in this issue. It is a temporal correlation, not a confirmed native root cause. Only the second crash's teardown sequence was checked in detail.

    Impact: the desktop app exits during ongoing work and the user must reopen it to continue. This is not merely a tool-call failure.

    No matching Application Error / Windows Error Reporting / Application Hang events (1000/1001/1002) were found in the Windows Application log during the inspected eight-hour window. No .dmp files remain in the inspected app Crashpad directory, so an exception code/native stack is unavailable. There is no established evidence here that OOM, a GPU fault, or an automatic update caused these crashes.

    Expected: closing a verification tab or encountering a stale browser-route association should not terminate the desktop app.

    This report was posted at the affected user's explicit request. Raw session transcripts, project content, local usernames/paths, and conversation IDs have been omitted.

  14. qiu7824 commented on Oct 21, 2026

    @qiu7824

    Additional occurrence on Windows with MSIX package 26.1016.6573.0: two more whole-app crashes on October 21, 2026, including both IAB tab creation/attachment and explicit tab teardown.

    Environment

    • Windows 11 Home x64, OS version/build 10.0.26300.
    • Running package: OpenAI.Codex_26.1016.6573.0_x64; executable: ChatGPT.exe. Package version is verified from the process path and matching desktop logs, not the About dialog.
    • Desktop logs report buildNumber=21161.
    • ChatGPT.exe file/product version: 155.0.8059.80 (reported separately from the MSIX version).
    • Native Windows local task using the built-in Browser through cua_repl to verify a local web application.

    Windows reliability history records a successful Codex package update at 13:35:41 UTC+8 that day. Both incidents occurred afterward, but this chronology alone does not establish an update regression.

    Crashpad evidence

    These are sidecar filesystem creation/last-write timestamps, not decoded native exception timestamps. The report IDs below are local Crashpad IDs; server-side receipt has not been verified.

    UTC, 2026-10-21 Asia/Shanghai, UTC+8 Local Crashpad report ID
    09:05:55.523Z 17:05:55.523 380fe115-670f-4c94-a4a8-acfedc31ffbd
    09:25:50.953Z 17:25:50.953 8e697ce9-8359-4256-9dec-e1fefa3ce3b9

    Both sidecars contain exactly:

    {"capture_kind":"crash","osarch":"x86_64","ptype":"browser"}

    The desktop app disappeared on both occasions. The corresponding task turns are recorded as interrupted. The application was reopened afterward.

    Incident 1: creation/attachment immediately before the crash

    Selected desktop-log entries below retain UTC timestamps; identifiers and unrelated fields are omitted:

    09:05:54.828 IAB_TAB_ANALYTICS browser tab lifecycle action=opened appBrowserTabCount=1 appBrowserUseTabCount=1
    09:05:54.833 IAB_LIFECYCLE renderer created browser sidebar webview hostKind=hidden-browser-use initialUrl=about:blank
    09:05:54.841 IAB_LIFECYCLE queued browser sidebar webview route hostGeneration=6 instanceId=15 pendingAttachCount=1
    09:05:54.849 mcp_app_sandbox.attach_unmatched guestWebContentsId=11 url=undefined urlProtocol=invalid
    09:05:54.852 IAB_LIFECYCLE runtime attached browser sidebar webview guestWebContentsId=11
    09:05:54.936 browser sidebar dom-ready interactionMode=browse url=about:blank
    09:05:54.937 IAB_LIFECYCLE browser use open wait resolved guestWebContentsId=11
    09:05:54.937 IAB_LIFECYCLE iab createTab mapped page to tab tabId=6 webContentsId=11
    09:05:54.948 IAB_LIFECYCLE registered debugger listener tabId=6 webContentsId=11
    

    The process log ends there. The matching sidecar appears approximately 0.575 seconds later. This incident adds a creation/attachment observation; it does not prove that debugger attachment itself caused the native crash.

    Incident 2: successful explicit close followed by main-process crash

    The final browser tool call was an awaited tab.close() (variable name normalized), recorded as completed in 40 ms. Immediately afterward, the desktop log ends with:

    09:25:50.284 IAB_LIFECYCLE unregistered debugger listener reason=target-close tabId=2 webContentsDestroyed=false webContentsId=9
    09:25:50.290 IAB_LIFECYCLE renderer disposed browser sidebar webview
    09:25:50.298 IAB_LIFECYCLE browser sidebar guest torn down guestWebContentsId=9
    09:25:50.304 IAB_LIFECYCLE renderer removed browser sidebar webview tabType=closed
    09:25:50.304 IAB_LIFECYCLE closed browser sidebar page
    09:25:50.304 IAB_TAB_ANALYTICS browser tab lifecycle action=closed appBrowserTabCount=0 appBrowserUseTabCount=0
    09:25:50.311 IAB_LIFECYCLE created browser use host
    09:25:50.312 IAB_LIFECYCLE iab rejected tab for route tabId=2 tabRouteKey=null
    09:25:50.312 IAB_LIFECYCLE iab backend request failed errorMessage="Tab 2 is not part of browser session <redacted>"
    09:25:50.324 Received Browser Use PiP metadata backend=iab browserID=2 tabID=undefined
    

    The matching sidecar appears approximately 0.629 seconds after the final log entry. A new main process started at 09:26:00Z.

    Diagnostic limits and expected behavior

    • Only the two metadata sidecars remain in the inspected app Crashpad directory; no native dump, exception code, or native stack was available.
    • No matching Codex/ChatGPT Application Error, Windows Error Reporting, or Application Hang entries (1000/1001/1002) were found in the inspected two-day Windows Application log window. No matching System resource-exhaustion/display-reset events (2004/4101) were found in that window.
    • The machine had roughly 18 GiB of available physical memory at the post-restart check. This is not a measurement at the crash instant and does not rule out a transient process-specific memory failure.
    • No deliberate crash reproduction, cache reset, or application modification was performed during diagnosis.

    The second sequence closely matches this issue's teardown pattern. The shared native root cause remains unconfirmed. Creating or closing an automated browser tab, or rejecting a stale tab/session association, should not terminate the desktop app or interrupt the task. Please include both guest attachment and last-tab teardown/PiP cleanup in investigation and regression coverage.

    Project names, local user paths, conversation IDs, page contents, credentials, and full transcripts are omitted from this public report.

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

    appIssues related to the Codex desktop appbrowserbugSomething isn't workingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions