Codex Desktop 26.623.81905 crashes with EXC_BREAKPOINT/SIGTRAP in FSEvents uv__fsevents_close and leaves stale helpers
What version of the Codex App are you using (From “About Codex” dialog)?
Codex Desktop 26.623.81905 build 4598
Codex Framework / Chromium in crash report: 149.0.7827.197
What subscription do you have?
ChatGPT Pro
What platform is your computer?
- macOS
26.5.1 (25F80) - Apple Silicon / ARM64
- Hardware Model:
Mac16,13 - Memory module shown in report:
LPDDR5, Micron - System Integrity Protection: enabled
What issue are you seeing?
Codex Desktop quit unexpectedly while running in the background. The macOS crash report points to an EXC_BREAKPOINT / SIGTRAP crash in a file-watcher / FSEvents path rather than a memory-pressure kill.
Crash summary from the macOS report:
Process: Codex [9424]
Path: /Applications/Codex.app/Contents/MacOS/Codex
Identifier: com.openai.codex
Version: 26.623.81905 (4598)
Code Type: ARM-64 (Native)
Role: Background
Date/Time: 2026-07-01 09:06:24.0005 +0200
Launch Time: 2026-06-30 22:13:24.9933 +0200
OS Version: macOS 26.5.1 (25F80)
Triggered by Thread: 51
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000012c288898
Termination Reason: Namespace SIGNAL, Code 5, Trace/BPT trap: 5
Terminating Process: exc handler [9424]
Crashing thread excerpt:
Thread 51 Crashed:
0 Codex Framework 0x12c288898 temporal_rs_PlainDateTime_hour + 5760080
1 Codex Framework 0x12c288898 temporal_rs_PlainDateTime_hour + 5760080
2 Codex Framework 0x12c2888b0 temporal_rs_PlainDateTime_hour + 5760104
3 Codex Framework 0x12c2888cc temporal_rs_PlainDateTime_hour + 5760132
4 Codex Framework 0x12c288f58 temporal_rs_PlainDateTime_hour + 5761808
5 Codex Framework 0x12c288df8 temporal_rs_PlainDateTime_hour + 5761456
6 Codex Framework 0x12482280c v8::internal::compiler::CompilationDependencies::RecordDependency(...) + 109820
7 Codex Framework 0x12463be30 v8::TryCatch::TryCatch(v8::Isolate*) + 34024
8 Codex Framework 0x12c28fc58 temporal_rs_PlainDateTime_hour + 5789712
9 FSEvents 0x19a01ba54 _FSEventStreamCreate + 900
10 FSEvents 0x19a016d4c FSEventStreamCreate + 76
11 Codex Framework 0x12fe2a008 uv__fsevents_close + 1472
12 CoreFoundation __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
13 CoreFoundation __CFRunLoopDoSource0 + 172
14 CoreFoundation __CFRunLoopDoSources0 + 232
15 CoreFoundation __CFRunLoopRun + 820
16 CoreFoundation _CFRunLoopRunSpecificWithOptions + 532
17 CoreFoundation CFRunLoopRun + 64
18 Codex Framework 0x12fe2a0e8 uv__fsevents_close + 1696
19 libsystem_pthread.dylib _pthread_start + 136
20 libsystem_pthread.dylib thread_start + 8
The crash report did not show EXC_RESOURCE, jetsam, memorystatus, or another explicit out-of-memory termination reason. A narrow unified-log check around the crash did not show a matching memory-pressure kill event.
After relaunch, stale orphaned helpers from the crashed session were still present with PPID 1 and the original June 30 launch time:
9426 browser_crashpad_handler
9428 browser_crashpad_handler
9442 bare-modifier-monitor --key DoubleCommand --immediate
9453 /Applications/Codex.app/Contents/Resources/codex app-server --analytics-default-enabled
9529 bare-modifier-monitor --key RightOption --trigger-on-release
They exited cleanly after sending normal TERM. The current relaunched Codex process tree remained running.
What steps can reproduce the bug?
I do not have a deterministic minimal reproduction yet.
Observed sequence:
- Launch Codex Desktop
26.623.81905on macOS26.5.1. - Use Codex normally over a long-running session.
- Leave Codex running in the background.
- Codex unexpectedly quits after roughly 10h 53m of app uptime.
- macOS records
EXC_BREAKPOINT / SIGTRAPonThread 51, with top frames involvingFSEventStreamCreateanduv__fsevents_close. - After relaunch, stale helper processes from the crashed session remain orphaned under
launchduntil manually terminated.
What is the expected behavior?
Codex Desktop should not crash while closing or managing file-system watchers. If an FSEvents/libuv watcher operation fails during shutdown or cleanup, it should fail gracefully without terminating the main app process.
After a crash/restart, Codex should not leave stale app-server / helper processes from the old crashed session running under launchd.
Additional information
This appears related to the broader recent family of macOS Desktop EXC_BREAKPOINT / SIGTRAP crashes, but I did not find an exact existing issue for this newer build plus the FSEvents/libuv crash frame.
Related issues:
- #30553 - Codex Desktop 26.623.61825 crashes with EXC_BREAKPOINT/SIGTRAP in CrBrowserMain on macOS 27.0
- #27880 - Repeated macOS Codex Desktop 26.609 crashes: CrBrowserMain EXC_BREAKPOINT, Renderer SIGABRT, stale app-server helpers
- #26869 - Codex Desktop app-server leaks child processes and writes excessive logs after crash/restart
I am not attaching the full raw crash report publicly because it contains local paths, timestamps, identifiers, and process command lines. I can provide a redacted excerpt or the full report privately if useful.
6 Comments
Confirming this on Windows 11 (build 26200, 32 GB RAM), Codex Desktop 26.623.9142.0 — same helper-stack accumulation described here.
What I saw (matches this issue):
• Under the codex.exe app-server, ~21 node.exe ./mcp/server.mjs --stdio / server.bundle.mjs children (~52–54 MB each) plus accumulating node_repl.exe (computer-use), holding ~1.1 GB and climbing.
• The burst correlated exactly with 3 long computer-use sessions left open for hours (per-session ~510k / 579k / 732k tokens).
Two extra data points that may help the fix:
Repro: long/concurrent computer-use sessions left open → node_repl + internal mcp/server.mjs children accumulate and are not reaped on turn/session completion.
Requested: reap (or pool+reuse) internal MCP-server + node_repl children on turn/session completion, with a cap + idle reclamation, so long/multi-session use doesn’t leak host processes. Happy to provide a process-tree snapshot if useful.
Adding another matching data point from macOS.
Environment:
26.623.70822build4559for the first crash, then26.623.81905build4598for the second crash26.5.1 (25F80)Mac17,8Crash reports found locally:
Both crash reports have the same relevant faulting-thread shape as this issue:
The first crash is useful because it shows the same FSEvents/libuv
EXC_BREAKPOINT / SIGTRAPsignature one build earlier (26.623.70822/4559). The second crash matches this issue's build (26.623.81905/4598).Adjacent app-log signal around the second crash: the Desktop log for the crashed PID repeatedly logged
codex_chroniclelock contention before the crash window:That lock-wait message repeated roughly every 10 seconds and was still repeating immediately before the
14:19:38 +0100crash. After a later restart, a new Desktop log still showed the sameWaiting to acquire lock (owned by pid=48820)...loop.I am not attaching the full
.ipsor raw app logs publicly because they include local paths, process details, and identifiers. I can provide redacted excerpts or the raw files privately if helpful.I'm getting this too, very often.
It is a critical bug.
It crashes when I'm not doing anything on it.
<img width="802" height="463" alt="Image" src="https://github.com/user-attachments/assets/8e1b4360-356c-4f58-8ac7-093df17e0b0e" />
Adding another sanitized data point from a newer 26.623 build. This looks related to the same background-crash/stale-helper family, but with a few useful differences: stable macOS 15.3.1, app build 4674, and no pre-crash ERROR/WARN in Codex's own SQLite log window.
Environment:
26.623.101652/ build4674149.0.7827.19715.3.1 (24D70)Mac16,10Crash summary from the macOS
.ipsreport:Top sanitized crashing frames:
VM triage lines in the same report:
Post-crash process state:
17:10:52 +0800, newcodex app-server --analytics-default-enabledchild around17:10:56 +0800.codex app-server --analytics-default-enabledfrom the pre-crash session remained underlaunchd(PPID=1) after relaunch. I am omitting raw PIDs and local paths here.Local log checks:
ptype=browser,osarch=arm64); no useful minidump payload was available locally.codex@26.623.101652.logs_2.sqlitehad no ERROR/WARN rows in the 10 minutes before the crash (17:00:23-17:10:23 +0800). It only showed normalcodex_app_server::thread_stateDEBUG rows in that pre-crash window.17:10:23-17:20:23 +0800),logs_2.sqliteresumed with normal post-relaunch DEBUG/TRACE/INFO activity and one WARN fromcodex_core_plugins::manifest.I intentionally did not attach the raw
.ipsor raw Codex log rows because they may contain local identifiers. I can provide a further-redacted excerpt if maintainers need a specific section.What I don't understand is, how this critical bug gets literally zero response from the dev for so many days.
This is exactly why bug fixing should be automated by LLMs, like Anthropic does it.
Adding a new matching crash from a substantially newer Desktop build. The exact FSEvents/libuv signature is still present.
Environment:
26.707.41301/ build5103150.0.7871.11526.5.2 (25F84)Mac16,13Crash summary:
Local correlation:
git-repo-watcherinstances across several repositories.Inference: the crash report still points to a race/assertion while creating or closing a macOS FSEvents stream, likely in watcher lifecycle cleanup. The available logs do not identify one specific repository, file operation, prompt, or user action as the trigger.
Post-crash, the old process tree was not fully reaped. On 2026-07-12, the pre-crash
codex app-server,codex-code-mode-host, twobrowser_crashpad_handlerprocesses, and twobare-modifier-monitorprocesses were still alive underlaunchdwith PPID 1, alongside the newly relaunched app tree.The raw crash report and logs are not attached because they contain local paths and identifiers; sanitized excerpts can be provided if needed.