Codex Desktop crashes with EXC_BAD_ACCESS seconds after in-app Browser Use debugger attaches
What version of the Codex App are you using (From “About Codex” dialog)?
26.707.41301 (build 5103)
What subscription do you have?
ChatGPT account (exact tier not included in this report)
What platform is your computer?
Darwin 25.3.0 arm64 arm
macOS 26.3 (25D125), Mac14,2, Apple M2, 16 GB RAM.
What issue are you seeing?
Codex Desktop repeatedly crashes when Browser Use opens an in-app browser tab during a Playwright/browser-automation task.
This is a native app crash, not a Playwright exception. macOS records:
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000548
Triggered by Thread: 0 CrBrowserMain, com.apple.main-thread
Top frame: Codex Framework!v8impl::Reference::InvokeFinalizerFromGC()
Four crashes with the same signature occurred across July 10-11, 2026. In every case, the last Browser Use lifecycle event was registered debugger listener, followed by the native crash 1.1-2.5 seconds later:
2026-07-10T11:18:30.696Z registered debugger listener
2026-07-10 15:18:33.2202 +0400 crash (2.52 seconds later)
2026-07-10T13:59:54.939Z registered debugger listener
2026-07-10 17:59:56.9156 +0400 crash (1.98 seconds later)
2026-07-11T11:30:33.472Z registered debugger listener
2026-07-11 15:30:35.5471 +0400 crash (2.08 seconds later)
2026-07-11T11:31:49.061Z registered debugger listener
2026-07-11 15:31:50.1824 +0400 crash (1.12 seconds later)
The timestamps in the app log are UTC; the crash report timestamps are UTC+4.
After one restart, the app also repeatedly logged this before a new browser route was established:
No ChatGPT browser route is available for browser session [redacted]
What steps can reproduce the bug?
- Launch Codex Desktop on macOS Apple Silicon.
- Start or continue a task that asks Codex to use Playwright/Browser Use and open a website in the in-app browser.
- Codex creates and attaches the hidden Browser Use WebView.
- The app log reaches
IAB_LIFECYCLE registered debugger listener. - Codex exits with
EXC_BAD_ACCESS / SIGSEGVwithin a few seconds. - Relaunching Codex and retrying can reproduce the same crash immediately.
Observed reproduction rate for the captured incidents: 4/4.
What is the expected behavior?
The in-app browser should open and remain attached while Codex runs the browser automation. A failed or stale browser route should be recovered or reported as a normal error without crashing the Codex process.
Additional information
- The crash occurs in the Codex Framework Chromium/V8 main thread, not in the separately bundled Node/Playwright process.
- All four macOS
.ipsreports have the same exception, faulting queue, top frame, and framework. - The machine was not under an out-of-memory termination; the reports show an invalid-address access at
0x548. - Full
.ipscrash reports and targeted Codex logs are available if maintainers provide a private upload route. They are not attached publicly because raw app logs contain local paths and session metadata. - Current workaround: run Playwright as an external/headless terminal process and avoid opening the Codex in-app browser.
8 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I can reproduce this on Codex App 26.707.62119 (build 5211), macOS 26.5.1 (25F80).
The in-app Browser Use session crashes Codex when the hidden browser attaches or navigation begins. I reproduced it twice after restarting Codex and creating fresh browser sessions.
Crash reports show:
The matching Codex logs also show:
Crash times were 2026-07-13 10:30 and 11:38 Europe/London.
Posted by Codex on behalf of the reporter.
We reproduced the same native crash signature on a newer Codex build.
Environment:
The in-app browser crashed Codex while opening an external Vercel preview. The in-app path crashed on two attempts; the available .ips report is from the retry after updating the app. Opening the same website through the Chrome Browser Use path succeeded.
The crash report matches this issue:
Crash time: 2026-07-13 11:06:48 -0400.
We do not have the Browser Use lifecycle log needed to confirm whether registered debugger listener was the immediately preceding event, but the browser action and native crash signature match exactly.
A sanitized .ips report or the complete report can be provided through a private upload route. The raw report is not being posted publicly because it contains local identifiers and system metadata.
I can confirm this exact crash remains reproducible on newer macOS Codex Desktop builds.
Observed 8 native crashes across:
Every crash report has the same signature:
Correlating the app and crash logs, all 8 incidents occurred 1.51–4.40 seconds after Browser Use called browser.tabs.new(). Different destination pages produced the same result, so the failure does not appear site-specific.
The issue therefore persists in build 5307. The current workaround is to avoid the in-app browser and use external Chrome or headless browser automation.
Sanitized crash evidence can be supplied privately if maintainers need it; raw reports are not attached publicly because they contain local metadata.
Posted by Codex on behalf of the reporter.
Additional macOS reproduction on the same currently reported build.
Environment
26.707.72221(build5307)26.5.2 (25F84)Mac14,9Reproduction evidence
Five native crashes occurred on July 15, 2026 at:
All five reports have the identical signature:
The top four crash frames are identical in all five reports.
App-log correlation
Each crash occurred approximately 0.5–1.5 seconds after Codex attached a new in-app browser WebView and it reached or approached
dom-ready.https://public-wt2.localhost, reached Codex's generatedERR_SSL_PROTOCOL_ERRORpage, and then crashed.about:blankand crashed immediately after the page was attached and mapped.mcp_app_sandbox.attach_unmatched ... url=undefined urlProtocol=invalid.No ChatGPT browser route is available for browser sessionbefore a fresh route/tab was created.Latest macOS incident identifier:
A1AC2703-DDA6-44C8-BBF5-5B1B0F8800E8.Full
.ipsreports and targeted app-log excerpts are available through a private upload route. Raw reports were not attached publicly because they contain local identifiers and filesystem/session metadata.I can confirm the same native crash signature on a newer build.
Environment
26.707.91948(build5440)26.5.1 (25F80)Reproduction
Browser Use created/opened an in-app browser tab for a local static HTML visual preview. The page contained no JavaScript, iframe, canvas, or WebGL content, and the preview server returned HTTP 200.
The browser operation then failed with:
The IAB backend disappeared afterward, and macOS generated a ChatGPT crash report at approximately 2026-07-16 12:47 local time.
Crash signature
This matches the signature reported here and confirms the issue remains reproducible in build 5440. Because the trigger page was a minimal static local page, the failure does not appear to depend on site JavaScript or complex page content.
The full
.ipsreport is available if maintainers provide a private upload route. I am not attaching it publicly because it contains local identifiers and system metadata.Retested on July 17, 2026 after updating both macOS and Codex:
26.715.21425(build5488)26.5.2(25F84)arm64)I could not reproduce the crash on this build. Using the Codex in-app Browser Use path, I created fresh tabs and tested:
about:blankhttps://example.com/Each tab attached and navigated successfully, remained accessible beyond the previously reported ~1–4.4 second crash window, and returned DOM state. The local page's live JavaScript uptime counter reached 5 seconds while the automation connection remained healthy.
There was one Codex restart between test passes, but it was deliberate to grant macOS Screen Recording permission—not a crash. A fresh in-app browser tab also passed after that restart.
So on this machine, #32399 appears fixed or at least is no longer reproducible on build 5488. I would avoid closing solely on this one result until other affected users confirm, but this is a positive data point.
Posted by Codex on behalf of the reporter as a follow-up to the previous build 5307 reproduction.
Retest result: no longer reproducible on build 5551
The same machine has now updated to:
26.715.31925(build5551)26.5.2 (25F84)Mac14,9The built-in browser is enabled again; the effective feature state reports:
The in-app browser was reopened against
https://public-wt2.localhost/, the same destination involved in four of the five earlier build 5307 crashes. On build 5551:browser sidebar dom-ready;No new matching ChatGPT/Codex native
.ipsreport was found after the July 15 failure window.This is a second positive data point after the build 5488 result already reported in this thread. On this previously affected machine, the crash appears fixed or is at least no longer reproducible in build 5551. This has not yet been treated as a long-duration soak test.