Skip to content

Windows desktop 26.1007: repeated browser-process crash after Browser Use guest teardown #53010

Open

Description

@venchan

Environment

  • Windows 10 x64, OS build 19045.
  • Installed desktop package: 26.1007.2314.0.
  • Desktop logs report release 26.1007.21434, build 13901.

Observed problem

The desktop application unexpectedly exits during ongoing work. Three separate Crashpad sidecars on 2026-10-11 identify capture_kind=crash and ptype=browser (the Chromium browser/main process, not proof of a particular tab fault).

Local timestamps, Europe/Sofia (UTC+03:00):

  • 01:44:14
  • 02:40:12
  • 03:12:59

In all three runs, the last available main-process log records the same sequence immediately before the crash marker:

  1. Browser Use guest torn down.
  2. Browser sidebar webview removed; tab lifecycle action=closed.
  3. browser-use-pip: Received Browser Use PiP metadata, backend=iab, tabID=undefined.

This repeated temporal association suggests investigating the Browser Use teardown/PiP handoff path. It does NOT establish the root cause. We have not deliberately repeated the action because it interrupts ongoing work.

Reproduction status

Observed three times during real use of the integrated browser. The exact initiating click/tool action is not isolated, and there is no clean-profile minimal reproduction or symbolized stack. The app was reopened successfully after each exit.

Expected behavior

Closing or disposing an integrated Browser Use guest should not terminate the desktop main process or interrupt unrelated active work.

Diagnostics and limitations

  • Only sidecar metadata and bounded log excerpts were available locally; no usable minidump/exception stack was found.
  • Current memory after restart: about 16.5 GiB free of 31.9 GiB. This does not rule out memory pressure at the time of a crash.
  • No settings reset, profile deletion, app-bundle modification or browser-based forced reproduction was attempted.
  • Temporarily avoiding the integrated browser is a precaution, not a verified fix.
  • Related but different symptom: Windows desktop 26.1007.2314.0 crashes at startup: codex.exe c0000005 #52822 is a backend startup access violation, whereas these exits occur after the application has been running.

Please investigate the browser guest disposal/PiP lifecycle in this Windows build and advise on a supported diagnostic or workaround that preserves existing chats.

Privacy

Submitted with the affected users explicit approval. No conversation content, session/thread identifiers, project names, repository data, local paths, screenshots, credentials or full logs are included.

Activity

  1. added
    bug
    app
    windows-os
    on Oct 11, 2026
  2. UweKeim commented on Oct 11, 2026

    @UweKeim

    I observed the same pattern twice today on Windows 11 Pro x64 (build 26200), desktop package 26.1007.2314.0. The desktop app exited during active work, and the initiating browser-automation calls are available in the local transcript:

    2026-10-11, Europe/Berlin (UTC+02:00) Immediately preceding action
    10:22:30 await tab.close() after taking a screenshot
    11:03:17 Two sequential await tabA.close(); await tabB.close(); calls while cleaning up test tabs

    (Tab variable names above are normalized.) In both cases, the final desktop log entries record IAB guest teardown, sidebar webview removal and action=closed, followed by Browser Use PiP metadata. The first run ends with another tab ID; the second ends with tabID=undefined.

    Crashpad sidecars written at 10:22:31 and 11:03:18, respectively, both contain:

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

    This confirms two browser/main-process crashes and provides a repeated temporal association with tab.close(). It does not establish the underlying defect. No matching Windows Application Error/WER entry or usable minidump was found, and no deliberate reproduction has been attempted because it interrupts ongoing work. Closing a test tab should leave the desktop app and other active work running.


    Update 1

    It seems that this mostly (only?) happens when my workstation is locked while Codex Desktop is running.

  3. michaelatmmc commented on Oct 11, 2026

    @michaelatmmc

    Additional Windows evidence and a controlled retest, submitted with the affected user's authorization.

    Environment

    • Windows x64; OS version 10.0.22621.0.
    • Desktop package 26.1007.2314.0; desktop logs report release 26.1007.21434, build 13901.
    • These observations are from a different affected environment than the original issue.

    Three earlier native crashes and the actual initiating calls

    On 2026-10-11, three Crashpad sidecars were recorded. All contain:

    {"capture_kind":"crash","osarch":"x86_64","ptype":"browser"}
    Crash sidecar time (UTC) Immediately preceding automation sequence
    02:30:11.926 await tabA.close(); await tabB.close();
    04:34:41.468 await tabA.close(); await tabB.close();
    05:04:44.088 await tabB.close(); await tabA.close();

    Tab variable names are normalized. The actual initiating calls were verified against the local tool transcript; these were already sequential awaited calls, not Promise.all. Reversing their order did not prevent the third crash. Therefore simply recommending sequential closure does not address the observed failures.

    The desktop main-process logs end after the two in-app browser tabs are torn down. No retained minidump or symbolized native stack was available. This establishes repeated browser/main-process crashes associated in time with tab teardown, but does not establish the native fault, a race, or any particular faulty module. There was no matching Windows Application Error/WER entry in the inspected interval.

    Controlled retest: no recurrence, not evidence of a repair

    On the same day, at 11:06 UTC:

    1. Read the DOM of an existing loaded public HTTPS diagnostic page successfully.
    2. Sequentially closed that page and an existing blank diagnostic tab, including the last automation tab. The automation tab list returned empty.
    3. Created a new blank tab, successfully read its empty DOM, closed it, and observed an empty automation tab list again.
    4. Verified that the desktop main process was still the same running instance and that no new native crash sidecar or dump had appeared.

    No app update, binary modification, data reset, or security-setting change was made between these checks. The tested pair was one loaded public page plus one blank page; the original two-page development workflow was not rerun, and this was not a clean-profile reproduction. A passing run does not demonstrate that the underlying defect is fixed or that prolonged/multi-window use is stable.

    A lifecycle detail that may help investigation: after the two close events and automation count reaching zero, the desktop log recorded an opened event for the same tab identifier with isBrowserUseTab=false. Its significance is unknown; we are not presenting it as the repair mechanism.

    Content-reading latency is a separate observation: a combined binding/content-read call exceeded a 15-second timeout. Splitting the operations allowed binding to complete in about 12 seconds and a DOM snapshot in about 25 seconds. Tool timeouts should not be conflated with a native process crash.

    Workarounds and requested engineering follow-up

    • External Google Chrome through the Chrome team's official Chrome DevTools MCP was verified for navigation, DOM reads, link clicking, local diagnostic form input, result readback, and screenshots. It is a usable alternative for development when IAB is unstable; it does not repair the in-app engine.
    • Reusing tabs and using the documented turn-scoped markHandoff() when work really continues into a later turn may avoid a disposal path, but its effectiveness against this crash has not been established. Merely omitting explicit close() is insufficient because temporary tabs are cleaned up automatically.
    • Please investigate native guest/webview disposal, debugger-listener detach, the final automation tab/route lifecycle, and transitions between automation and non-automation tab ownership. These are investigation targets, not asserted causes.
    • Regression coverage should include two loaded development tabs, both close orders, last-tab closure, recreation after closure, and end-of-turn cleanup.
    • Please provide a supported way to retain a local native minidump and correlate it with tab lifecycle events if the issue recurs, so the fault can be located before claiming a fix in a future desktop update.

    Only sanitized technical findings are posted. No raw conversation transcripts, session identifiers, project details, local usernames/paths, credentials, screenshots, or memory dumps are attached.

  4. UweKeim commented on Oct 11, 2026

    @UweKeim

    Just to trigger notifications:

    As I mentioned above now, It seems that this mostly (only?) happens when my workstation is locked while Codex Desktop is running.

  5. pickle780 commented on Oct 13, 2026

    @pickle780

    Additional affected Windows installation with three matching desktop exits on 2026-10-13.

    Environment:

    • Desktop version 26.1007.21434, build 13901, prod channel.
    • Installed Windows package 26.1007.2314.0, x64.
    • Desktop logs report Windows OS release 10.0.26200.
    • The app update check returned up_to_date at the time of investigation.

    Three separate local Crashpad sidecars have these modification timestamps (Asia/Shanghai, UTC+08:00):

    • 2026-10-13 16:36:57 (08:36:57 UTC)
    • 2026-10-13 17:28:03 (09:28:03 UTC)
    • 2026-10-13 18:22:37 (10:22:37 UTC)

    All three contain the same metadata:

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

    The corresponding main-process logs stop about 1–2 seconds earlier:

    • 08:36:55 UTC: Browser Use debugger listener removed with reason=target-close; browser sidebar guest torn down; webview removed; tab lifecycle action=closed; then Browser Use PiP metadata received (backend=iab, tabID=4).
    • 09:28:01 UTC: browser sidebar webview backgrounded/disposed; guest torn down; tab closed; then sidebar owner sync/rebinding and a tab-open lifecycle entry.
    • 10:22:35 UTC: browser sidebar page closed; Browser Use host created; debugger listener registered; an IAB request rejected a tab because it was no longer part of the browser session; then Browser Use PiP metadata received (backend=iab, tabID=1).

    Expected: Closing or disposing an integrated browser tab should close only that tab. The desktop app and unrelated chats should remain running.
    Actual: The entire desktop app exited three times, interrupting the user's work and requiring reopening.

    This is a repeated temporal association with Browser Use/sidebar teardown and rebinding, not a confirmed root cause. Unlike the original report, the final PiP metadata in two of these runs had defined tab IDs. No usable minidump or symbolized stack was found in the inspected crash-report directory, and no deliberate crash reproduction was attempted.

    Please investigate whether these exits share the same native browser-process lifecycle failure and provide a supported fix or workaround. This report includes only the relevant technical summary; full logs, local user paths, account identifiers, conversation identifiers, and browsing content are omitted.

  6. Linkq123 commented on Oct 14, 2026

    @Linkq123

    Additional affected Windows installation: two full desktop exits immediately following explicit in-app browser tab.close() calls, with fresh crash IDs for telemetry correlation.

    Environment

    • Windows 11 Pro x64, OS version 10.0.26200.
    • Installed MSIX package 26.1007.2314.0.
    • Installed app.asar/package.json: app version 26.1007.21434, build 13901 (read from package metadata, not the About dialog).
    • Crashpad launch annotation: ver=155.0.8059.40.

    Two observed incidents — all timestamps below are UTC on 2026-10-14

    Event Incident A Incident B
    Actual browser-tool call in local transcript (variable names normalized) 03:19:27.242 — await tabA.close(); 03:46:01.589 — await tabB.close();
    Debugger listener unregistered, reason=target-close 03:19:27.266 03:46:01.610
    renderer disposed browser sidebar webview 03:19:27.280 03:46:01.626
    browser sidebar guest torn down 03:19:27.286 03:46:01.633
    closed browser sidebar page 03:19:27.291 03:46:01.639
    Last application-log record 03:19:27.309 — Browser Use PiP metadata, tabID=undefined 03:46:01.640 — tab lifecycle action=closed
    Crashpad sidecar last-write timestamp 03:19:27.8419527 03:46:02.1799774
    Crashpad report ID abcb2b04-2c21-496f-a8c7-4d932ace79a1 4814add2-366e-4c60-ae03-a59b1cf0b99e

    Both sidecars contain:

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

    The entire app window disappeared, not just the page. These were separate application runs during the same real task; the current main process restarted at 03:46:08.6837700Z. Sidecar modification times indicate when metadata was written, not the exact native-exception instant.

    Incident A also logged rejection of a data:text/html fallback error page representing a localhost ERR_CONNECTION_REFUSED while the tab was being torn down. That rejection is not present in the final sequence for incident B, so it is not established as a necessary trigger.

    This adds two repeated temporal associations with explicit close calls, not proof of the native root cause. No corresponding minidump or symbolized stack was retained in the inspected Crashpad reports directory. The workstation lock state at those moments was not recorded. No deliberate crash reproduction, profile reset, or app modification was performed.

    Please correlate the two crash IDs/timestamps with available native crash telemetry, investigate the IAB guest/webview disposal and debugger/PiP lifecycle, and advise on a supported fix or way to retain a useful minidump. Closing a validation tab should leave the desktop app and other active work running.

    Submitted at the affected user's request. This comment includes only relevant diagnostic facts; local usernames/paths, project details, conversation identifiers/content, raw logs, screenshots, and credentials are omitted.

  7. tialki commented on Oct 14, 2026

    @tialki

    Additional observations on a newer Windows desktop package, with the initiating Browser Use operation identified.

    Environment

    • Windows x64, OS build 26300.
    • Installed MSIX package: 26.1007.9446.0.
    • Desktop app release: 26.1007.71326.
    • Chromium/Owl desktop runtime file version: 155.0.8059.40 (not presented as a standard Electron version).

    Two observed occurrences on 2026-10-14

    Both occurred while an agent was cleaning up a temporary in-app Browser Use tab after testing a local web application. The captured tool calls explicitly executed await temporaryTab.close(); the app then exited.

    All times below are UTC. Crashpad times are the sidecar file write timestamps, not a symbolized exception timestamp.

    Evidence First occurrence Second occurrence
    Agent tool call containing tab.close() 11:12:08.638 11:34:06.376
    Debugger cleanup with reason=target-close 11:12:08.678 11:34:09.309
    Renderer disposed browser sidebar webview 11:12:08.751 11:34:09.323
    Browser sidebar guest torn down 11:12:08.759 11:34:09.335
    Tab lifecycle action=closed isBrowserUseTab=true 11:12:08.772 11:34:09.342
    Crashpad crash sidecar written 11:12:09.338 11:34:09.928

    The crash markers follow the completed tab-close log by approximately 0.57 seconds in both cases. Both closures leave one regular browser tab and zero Browser Use tabs.

    The second occurrence also logs requests interleaved with teardown:

    • No ChatGPT browser route is available for browser session <redacted>.
    • Creation of a new Browser Use host.
    • Tab 2 is not part of browser session <redacted>, with tabRouteKey=null.
    • PiP metadata with backend=iab and tabID=undefined, followed by the end of the main log.

    Crash confirmation and limits
    Both Crashpad sidecars contain:

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

    The corresponding local Sentry events record platform=native, level=fatal, event.process=browser, exit.reason=crashed, and minidumpAttachmentUploadEnabled=false. No usable minidump or exception stack remains locally.

    The same day's logs contain six regular-tab closures (isBrowserUseTab=false) after which the app continued running. Repeated ResizeObserver warnings also occurred without immediate termination; the last such warning before the second crash was approximately 58 seconds earlier.

    This adds two observed instances with the initiating tab.close() operation identified. It is not a clean-profile minimal reproduction or proof of a particular native race/use-after-free. No deliberate crash reproduction or settings reset was performed during this investigation.

    Expected behavior
    Closing a temporary in-app Browser Use tab should release that tab without terminating the desktop application or interrupting other active work. Please investigate the close/debugger-release/guest-disposal and PiP handoff path, and advise on a supported way to capture a retained native dump if more evidence is needed.

    Only sanitized diagnostic details are included here; account information, local paths, project names, session/thread identifiers, raw transcripts and full logs are omitted.

  8. SoanEx commented on Oct 15, 2026

    @SoanEx

    Additional affected installation on Windows 11 Pro x64, build 26300, running Codex desktop MSIX package 26.1007.9446.0 (verified from the running executable/package path, not the About dialog).

    Two observed crashes on 2026-10-15 immediately followed explicit IAB tab cleanup. All timestamps below are UTC; tab variable names are normalized.

    Evidence Incident A Incident B
    Tool call containing await tab.close() 08:04:34.626 09:49:43.072
    Debugger listener unregistered, reason=target-close 08:04:34.635 09:49:43.311
    Last main-process log: Browser Use PiP metadata, tabID=undefined 08:04:34.672 09:49:43.347
    Crashpad sidecar write time 08:04:35.5579027 09:49:44.1432036
    Crashpad report ID cf6e8229-ff68-4613-8f54-4098d3a86c27 e33f9b07-e4ea-4ccc-9350-985ae268440a

    Both sequences include guest/webview teardown, followed by getCommittedTabUrl failing with Tab 1 is not part of browser session <redacted>. Both sidecars contain:

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

    Sidecar times are metadata-write times, not exact native-exception timestamps. The desktop app was subsequently reopened. Closing a validation tab should leave the app and other active work running.

    This is a repeated temporal association with explicit tab closure, not proof of a specific native defect, race, or use-after-free. No retained minidump/native stack or matching Windows Application Error/WER crash was found. No deliberate crash reproduction or app modification was performed. Avoiding automatic IAB tab closure is only a precaution, not a verified fix.

    Please correlate these report IDs/timestamps with available crash telemetry and investigate the IAB close/disposal/PiP lifecycle.

    Submitted at the affected user's request. Private paths, project names, conversation/session identifiers, browsing contents, raw transcripts and full logs are omitted.

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

    appbrowserbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions