Repository navigation
Description
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:
- Browser Use guest torn down.
- Browser sidebar webview removed; tab lifecycle action=closed.
- 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
UweKeim commentedon Oct 11, 2026
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:
await tab.close()after taking a screenshotawait 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 withtabID=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.
michaelatmmc commentedon Oct 11, 2026
Additional Windows evidence and a controlled retest, submitted with the affected user's authorization.
Environment
10.0.22621.0.26.1007.2314.0; desktop logs report release26.1007.21434, build13901.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"}await tabA.close(); await tabB.close();await tabA.close(); await tabB.close();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:
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
openedevent for the same tab identifier withisBrowserUseTab=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
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 explicitclose()is insufficient because temporary tabs are cleaned up automatically.Only sanitized technical findings are posted. No raw conversation transcripts, session identifiers, project details, local usernames/paths, credentials, screenshots, or memory dumps are attached.
UweKeim commentedon Oct 11, 2026
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.
pickle780 commentedon Oct 13, 2026
Additional affected Windows installation with three matching desktop exits on 2026-10-13.
Environment:
Three separate local Crashpad sidecars have these modification timestamps (Asia/Shanghai, UTC+08:00):
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:
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.
Linkq123 commentedon Oct 14, 2026
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
10.0.26200.26.1007.2314.0.app.asar/package.json: app version26.1007.21434, build13901(read from package metadata, not the About dialog).ver=155.0.8059.40.Two observed incidents — all timestamps below are UTC on 2026-10-14
await tabA.close();await tabB.close();reason=target-closerenderer disposed browser sidebar webviewbrowser sidebar guest torn downclosed browser sidebar pagetabID=undefinedaction=closedabcb2b04-2c21-496f-a8c7-4d932ace79a14814add2-366e-4c60-ae03-a59b1cf0b99eBoth 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/htmlfallback error page representing a localhostERR_CONNECTION_REFUSEDwhile 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.
tialki commentedon Oct 14, 2026
Additional observations on a newer Windows desktop package, with the initiating Browser Use operation identified.
Environment
26.1007.9446.0.26.1007.71326.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.
tab.close()reason=target-closeaction=closed isBrowserUseTab=trueThe 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>.Tab 2 is not part of browser session <redacted>, withtabRouteKey=null.backend=iabandtabID=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, andminidumpAttachmentUploadEnabled=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.
SoanEx commentedon Oct 15, 2026
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.
await tab.close()reason=target-closetabID=undefinedcf6e8229-ff68-4613-8f54-4098d3a86c27e33f9b07-e4ea-4ccc-9350-985ae268440aBoth sequences include guest/webview teardown, followed by
getCommittedTabUrlfailing withTab 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.