Skip to content

Codex Desktop 26.623.81905 crashes with EXC_BREAKPOINT/SIGTRAP in FSEvents uv__fsevents_close and leaves stale helpers #30824

Open

Description

@kerimala

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:

  1. Launch Codex Desktop 26.623.81905 on macOS 26.5.1.
  2. Use Codex normally over a long-running session.
  3. Leave Codex running in the background.
  4. Codex unexpectedly quits after roughly 10h 53m of app uptime.
  5. macOS records EXC_BREAKPOINT / SIGTRAP on Thread 51, with top frames involving FSEventStreamCreate and uv__fsevents_close.
  6. After relaunch, stale helper processes from the crashed session remain orphaned under launchd until 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:

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.

Activity

  1. added
    bug
    app
    app-server
    on Jul 1, 2026
  2. andybergon commented on Jul 2, 2026

    @andybergon

    Adding another matching data point from macOS.

    Environment:

    • Codex Desktop: 26.623.70822 build 4559 for the first crash, then 26.623.81905 build 4598 for the second crash
    • macOS: 26.5.1 (25F80)
    • Hardware model: Mac17,8
    • Architecture: Apple Silicon / ARM64

    Crash reports found locally:

    2026-07-01 02:32:25 +0100
    Codex 26.623.70822 (4559)
    Incident: 33C9BFC3-C74B-48B7-8520-8AF4EB9BB37C
    Exception: EXC_BREAKPOINT / SIGTRAP
    Termination: Trace/BPT trap: 5
    
    2026-07-01 14:19:38 +0100
    Codex 26.623.81905 (4598)
    Incident: 0C8B5361-4C17-40E8-BCAA-4CB561369F5C
    Exception: EXC_BREAKPOINT / SIGTRAP
    Termination: Trace/BPT trap: 5
    

    Both crash reports have the same relevant faulting-thread shape as this issue:

    temporal_rs_PlainDateTime_hour
    v8::internal::compiler::CompilationDependencies::RecordDependency(...)
    v8::TryCatch::TryCatch(v8::Isolate*)
    _FSEventStreamCreate
    FSEventStreamCreate
    uv__fsevents_close
    CFRunLoopRun
    uv__fsevents_close
    _pthread_start
    

    The first crash is useful because it shows the same FSEvents/libuv EXC_BREAKPOINT / SIGTRAP signature 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_chronicle lock contention before the crash window:

    Starting local app-server sidecar ... command=/Applications/Codex.app/Contents/Resources/codex_chronicle
    codex_chronicle starting
    Waiting to acquire lock (owned by pid=48820)...
    

    That lock-wait message repeated roughly every 10 seconds and was still repeating immediately before the 14:19:38 +0100 crash. After a later restart, a new Desktop log still showed the same Waiting to acquire lock (owned by pid=48820)... loop.

    I am not attaching the full .ips or 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.

  3. SoraTakai commented on Jul 2, 2026

    @SoraTakai

    I'm getting this too, very often.
    It is a critical bug.

    It crashes when I'm not doing anything on it.

    Image
  4. gm-fire commented on Jul 3, 2026

    @gm-fire

    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:

    • Codex Desktop: 26.623.101652 / build 4674
    • Codex Framework / Chromium in the crash report: 149.0.7827.197
    • OS: macOS 15.3.1 (24D70)
    • Hardware model: Mac16,10
    • Architecture: Apple Silicon / ARM64
    • SIP: enabled

    Crash summary from the macOS .ips report:

    App: Codex 26.623.101652 (4674)
    Process role: Background
    Process launch time: 2026-07-02 13:24:16 +0800
    Capture time: 2026-07-03 17:10:23 +0800
    Exception: EXC_BREAKPOINT / SIGTRAP
    Termination: SIGNAL 5, Trace/BPT trap: 5
    Faulting thread: 0
    Thread name: CrBrowserMain
    Queue: com.apple.main-thread
    

    Top sanitized crashing frames:

    0  temporal_rs_PlainDateTime_hour + 5760080
    1  temporal_rs_PlainDateTime_hour + 5760080
    2  temporal_rs_PlainDateTime_hour + 5760104
    3  temporal_rs_PlainDateTime_hour + 5760132
    4  temporal_rs_PlainDateTime_hour + 5761808
    5  temporal_rs_PlainDateTime_hour + 5761456
    6  v8::internal::compiler::CompilationDependencies::RecordDependency(...) + 110140
    7  v8::TryCatch::TryCatch(v8::Isolate*) + 34024
    8  v8::internal::ThreadIsolation::SplitJitPage(...) + 156568
    9  temporal_rs_PlainDateTime_hour + 5789712
    10 uv_handle_get_data + 157068
    11 uv_handle_get_data + 155848
    12 xml_ffi$cxxbridge1$194$saw_error + 12332
    13 v8::Isolate::Dispose() + 487784
    14 rust_png$cxxbridge1$194$Reader$output_color_type + 97284
    

    VM triage lines in the same report:

    VM - Fault was interrupted
    VM - Waiting on busy page was interrupted
    VM - Fault was interrupted
    VM - Fault was interrupted
    VM - Fault was interrupted
    

    Post-crash process state:

    • Codex relaunched immediately: new main process around 17:10:52 +0800, new codex app-server --analytics-default-enabled child around 17:10:56 +0800.
    • One old codex app-server --analytics-default-enabled from the pre-crash session remained under launchd (PPID=1) after relaunch. I am omitting raw PIDs and local paths here.

    Local log checks:

    • Crashpad only had a tiny browser sidecar (ptype=browser, osarch=arm64); no useful minidump payload was available locally.
    • Sentry local queue was empty; local Sentry scope showed release [email protected].
    • A narrow macOS unified-log query around the crash did not return useful Codex events.
    • Codex logs_2.sqlite had no ERROR/WARN rows in the 10 minutes before the crash (17:00:23-17:10:23 +0800). It only showed normal codex_app_server::thread_state DEBUG rows in that pre-crash window.
    • After the crash time (17:10:23-17:20:23 +0800), logs_2.sqlite resumed with normal post-relaunch DEBUG/TRACE/INFO activity and one WARN from codex_core_plugins::manifest.

    I intentionally did not attach the raw .ips or raw Codex log rows because they may contain local identifiers. I can provide a further-redacted excerpt if maintainers need a specific section.

  5. SoraTakai commented on Jul 4, 2026

    @SoraTakai

    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.

  6. kerimala commented on Jul 11, 2026

    @kerimala
    Author

    Adding a new matching crash from a substantially newer Desktop build. The exact FSEvents/libuv signature is still present.

    Environment:

    • ChatGPT/Codex Desktop: 26.707.41301 / build 5103
    • Codex Framework / Chromium: 150.0.7871.115
    • macOS: 26.5.2 (25F84)
    • Hardware: Mac16,13
    • Architecture: Apple Silicon / ARM64
    • App uptime before crash: about 19h 43m
    • Crash time: 2026-07-11 20:11:54 +0200

    Crash summary:

    Exception: EXC_BREAKPOINT (SIGTRAP)
    Termination: SIGNAL 5, Trace/BPT trap: 5
    Faulting thread: 52
    
    _FSEventStreamCreate
    FSEventStreamCreate
    uv__fsevents_close
    __CFRunLoopRun
    CFRunLoopRun
    uv__fsevents_close
    _pthread_start
    

    Local correlation:

    • The Desktop log had no ERROR/WARN immediately before the crash.
    • The final entries were normal periodic Statsig refreshes; the primary window was visible but unfocused.
    • Roughly five minutes earlier, the remote-control window context reconciled twice without a reported error.
    • Earlier in the session the app repeatedly started multiple git-repo-watcher instances 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, two browser_crashpad_handler processes, and two bare-modifier-monitor processes were still alive under launchd with 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.

  7. shunkakinoki commented on Sep 19, 2026

    @shunkakinoki

    Same FSEvents/libuv signature on a much newer build and on macOS 27. This report also captures the concurrent thread: a Node git worker was closing an fs.watch handle when the FSEvents thread trapped.

    Environment:

    • ChatGPT/Codex Desktop: 26.915.31945 / build 9922
    • Codex Framework: 153.0.8010.48
    • macOS: 27.0 (26A428)
    • Hardware: Mac16,5 (Apple Silicon / ARM64)
    • Process role: Background
    • App uptime before crash: about 1h 45m
    • SIP: enabled

    Crash summary:

    Identifier:          com.openai.codex
    Version:             26.915.31945 (9922)
    Triggered by Thread: 52
    Exception Type:      EXC_BREAKPOINT (SIGTRAP)
    Exception Codes:     0x0000000000000001, <pc>
    Termination Reason:  Namespace SIGNAL, Code 5, Trace/BPT trap: 5
    esr: 0xf2000000 (Breakpoint) brk 0
    

    Crashing thread (unnamed libuv FSEvents run-loop thread):

    Thread 52 Crashed:
    0-7  Codex Framework  (stripped / misleading symbols, e.g. node::inspector::protocol::BinaryValue::AppendSerialized + 18561212)
    8    Codex Framework  v8impl::Reference::InvokeFinalizerFromGC() + 1010136
    9    FSEvents         _FSEventStreamCreate + 920
    10   FSEvents         FSEventStreamCreate + 76
    11   Codex Framework  uv__fsevents_close + 1472
    12   CoreFoundation   __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
    13   CoreFoundation   __CFRunLoopDoSource0 + 224
    14   CoreFoundation   __CFRunLoopDoSources0 + 232
    15   CoreFoundation   __CFRunLoopRun + 832
    16   CoreFoundation   _CFRunLoopRunSpecificWithOptions + 536
    17   CoreFoundation   CFRunLoopRun + 64
    18   Codex Framework  uv__fsevents_close + 1696
    19   libsystem_pthread.dylib _pthread_start + 136
    

    Concurrent thread at crash time, the git Node worker, blocked closing an FSEvents watcher:

    Thread 51:: git
    0   libsystem_kernel.dylib  semaphore_wait_trap + 8
    1   Codex Framework         uv__fsevents_close + 236
    2   Codex Framework         uv_fs_event_stop + 228
    3   Codex Framework         uv_close + 164
    4   Codex Framework         node::HandleWrap::Close(v8::Local<v8::Value>) + 56
    5-13 ???                    (JIT JS frames)
    ...
    20  Codex Framework         node::worker::MessagePort::OnMessage(...) + 1116
    21  Codex Framework         uv__async_io + 280
    23  Codex Framework         uv_run + 936
    25  Codex Framework         node::worker::Worker::Run() + 4772
    

    Observations:

    • The git worker is in uv_fs_event_stop -> uv__fsevents_close (waiting on the loop semaphore) while the shared FSEvents thread is inside FSEventStreamCreate re-creating the stream from its run-loop source callback. This looks like a close vs. stream-reschedule race in libuv's fsevents backend, triggered by a watcher owned by the git worker being torn down in response to a worker message.
    • Crashing registers: x9 = 0x00657a69735f6176 (ASCII "va_size"), x1 = x19 = 0x200000 (2 MB). This may be a CHECK on a 2 MB reservation in the Framework's allocator, but that is not confirmed.
    • No EXC_RESOURCE, jetsam, or memorystatus termination. The crash happened in the background, with no user interaction.

    So far this signature covers builds 26.623.x -> 26.707.41301 -> 26.915.31945, Framework 149 -> 150 -> 153, and macOS 15.3.1, 26.5.x, and 27.0.

  8. olive8882-1996 commented on Sep 21, 2026

    @olive8882-1996

    Adding a matching crash from ChatGPT Desktop 26.915.31945 / build 9922 on macOS 26.5 (25F71), plus a possible watcher-lifecycle trigger that may help investigate this issue. This is a sanitized report from my local diagnostics.

    Environment

    • Bundle ID: com.openai.codex
    • Codex Framework: 153.0.8010.48
    • Apple Silicon / ARM64, 16 GiB RAM
    • Latest crash: 2026-09-21 06:36:41.588 UTC (14:36:41 +0800)
    • Application had been running for approximately 19 h 28 min.

    Crash signature

    Exception: EXC_BREAKPOINT / SIGTRAP
    Termination: SIGNAL 5, Trace/BPT trap
    Faulting thread: 54
    
    Codex Framework (stripped/misleading top-level exported symbols)
    Codex Framework v8impl::Reference::InvokeFinalizerFromGC() + 1010136
    FSEvents        _FSEventStreamCreate + 900
    FSEvents        FSEventStreamCreate + 76
    Codex Framework uv__fsevents_close + 1472
    CoreFoundation  __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
    CoreFoundation  __CFRunLoopDoSource0 / __CFRunLoopDoSources0
    CoreFoundation  __CFRunLoopRun / CFRunLoopRun
    Codex Framework uv__fsevents_close + 1696
    libsystem_pthread _pthread_start / thread_start
    

    The concurrent thread named git was waiting in semaphore_wait_trap -> uv__fsevents_close -> uv_fs_event_stop. As in the newer report above, the top crash symbol is shown as node::inspector::protocol::BinaryValue::AppendSerialized + 18561212; that large offset should not be treated as accurate source-level symbolication.

    Repeated occurrences
    Of nine retained local crash reports, seven contain the FSEvents/libuv path:

    • Six on September 15, with app 26.908.40834 / build 8881.
    • One on September 21, with app 26.915.31945 / build 9922.
      The other two, on September 20, have a main-thread CrBrowserMain/V8 signature; I am not asserting that all nine have the same root cause.

    Potentially useful pre-crash correlation
    From 02:07:34 to 06:36:40 UTC on September 21, the git worker logged 3,175 failed attempts to watch the same already-missing worktree directory, approximately every five seconds:

    warning [git-init-watcher] Failed to watch workspace root for git init
    cwd=[REDACTED missing worktree]
    errorCode=ENOENT
    errorMessage="ENOENT: no such file or directory, watch '[REDACTED]'"
    

    The final such log was at 06:36:40.570 UTC, about one second before the crash. Read-only inspection of the installed worker code showed reconnect backoff from 250 ms to a 5,000 ms cap, without an apparent retry-count limit in that watcher reconnect method. A git-repo-watcher start was also logged at 06:36:37.210 UTC.

    This is a correlation / possible trigger or amplifier, not a proven cause. I did not find the same ENOENT messages in the retained September 15 app logs, so this missing-directory loop does not explain every historical crash. There is no controlled minimal reproduction yet.

    No explicit OOM, EMFILE or ENOSPC diagnostic was found in the checked latest-crash window, and the recorded termination is not a memory-pressure SIGKILL. After relaunch, the new git-worker log had no recurrence of the missing-directory retry loop during the observation period; that is not evidence of a permanent fix.

    Impact / expected behavior
    Repeated process exits interrupt active work. Missing or removed worktrees and watcher creation/teardown failures should be handled without terminating the desktop process. Please investigate the FSEvents/libuv lifecycle and how subscriptions to removed worktrees are retired.

    Raw crash reports and app logs have been retained locally. This public comment deliberately omits account details, usernames, full project paths, conversation contents, credentials and raw logs.

  9. 0xdevalias commented on Sep 22, 2026

    @0xdevalias

    Source-backed detail from another macOS occurrence: six bare-modifier-monitor processes from prior Desktop launches survived under PPID 1 for 47-56 days, alongside seven historical Crashpad pairs. Only one modifier monitor and one Crashpad pair belonged to the current launch. Gracefully terminating only the PPID-1 historical helpers reclaimed their memory without affecting the current app.

    In the installed bundle, the modifier monitor is created with Node child_process.spawn; cleanup reaches child.kill() only through the JavaScript unregister path. If the Electron main process exits/updates/crashes without that path running, the helper is orphaned and nothing at next startup reconciles older instances. This appears to explain the modifier component of this report. A robust fix would make the child die with its parent and/or sweep clearly foreign-generation PPID-1 helpers at startup. Crashpad update-specific evidence is also being cross-linked to #25259.

  10. ohnoah commented on Sep 24, 2026

    @ohnoah

    Same crash on the current build (26.917.62051 / 10789) and the one before it (26.917.51856 / 10492). On my machine it lines up with the git watcher running out of file descriptors (EMFILE) just before each crash.

    Environment

    • ChatGPT Desktop (com.openai.codex), Codex Framework 153.0.8010.53
    • macOS 26.7 (25G229), Mac15,11, Apple Silicon, 36 GB RAM
    • Launched from the Dock (launchctl limit maxfiles → 256 unlimited)

    Crash signature (same as the original report)

    Exception: EXC_BREAKPOINT (SIGTRAP), Trace/BPT trap: 5
    Faulting thread: 61–63 (unnamed)
    
    Codex Framework  node::inspector::protocol::BinaryValue::AppendSerialized(...) + 18568244   (misleading symbol)
    ...
    Codex Framework  v8impl::Reference::InvokeFinalizerFromGC() + 10229xx
    FSEvents         _FSEventStreamCreate + 900        (2 of 4)
      — or —
    CoreFoundation   __CFStringCreateImmutableFunnel3 + 2100   (2 of 4)
    Codex Framework  uv__fsevents_close + 1472 / 1340
    CoreFoundation   __CFRunLoopDoSource0 → CFRunLoopRun
    Codex Framework  uv__fsevents_close + 1696
    libsystem_pthread _pthread_start
    

    Four crashes in about 19 hours. The git watcher logged EMFILE shortly before each one.

    Crash (PDT) Build Last EMFILE before crash EMFILE lines that launch
    Sep 22 22:11:03 10492 3 s 18,139
    Sep 23 00:18:55 10492 4 s 14,024
    Sep 23 13:50:53 10492 50 s 17,438
    Sep 23 17:03:17 10789 41 s 27,376

    The log lines are from the git worker, and they're logged under the same PID as the process that crashed:

    warning [git-repo-watcher] Git repo watcher failed errorCode=EMFILE
      errorMessage="EMFILE: too many open files, watch"
      errorStack="Error: EMFILE: too many open files, watch
        at FSWatcher._handle.onchange (node:internal/fs/watchers:269:21)"
      path=<repo>/.git/...
    

    In the last launch, Starting git repo watcher appears 84 times, so the watcher keeps failing and restarting. It also cancels in-flight git commands each time (failureReason=canceled requestKind=review-sum).

    What seems to trigger it: a lot of worktrees. The main repo in my sidebar had 599 registered worktrees and about 2,600 local branches, and a second repo had 256 worktrees. The failing paths are 880 distinct .git/ subdirectories: .git/refs/*, .git/worktrees/<name>, and the individual worktree roots. That's well over 256 descriptors for one process. 37 of the worktrees were stale (their folders no longer existed), which fits the ENOENT retry loop @olive8882-1996 described above.

    Pattern: the watcher runs out of FDs, fails, and restarts (tearing down and recreating its FSEvents streams) over and over. The FSEvents thread then traps inside FSEventStreamCreate or a CoreFoundation allocation. Memory isn't the cause: the system was about 65% free, and none of the four reports is a jetsam kill.

    Also seen: after the crashes, orphaned browser_crashpad_handler pairs and bare-modifier-monitor processes from earlier launches were still running (same as @0xdevalias reported above).

  11. KanavKG commented on Sep 24, 2026

    @KanavKG

    Can someone please fix this?

  12. huangruiteng commented on Sep 24, 2026

    @huangruiteng

    New occurrence on 26.917.71314 (build 10954): repeated FSEvents crashes with an EMFILE watcher storm

    Environment: ChatGPT/Codex desktop app (com.openai.codex), macOS 26.5.2 (25F84), Apple Silicon (Mac16,7). The app bundle is the unmodified, signed OpenAI release. This instance uses an isolated CODEX_HOME and Electron user-data directory via a local launcher, with the native OpenAI provider and no custom model catalog.

    After updating to build 10954 on September 24, 2026, macOS recorded eight main-app EXC_BREAKPOINT / SIGTRAP crashes from 18:11 to 21:25 (UTC+8). Seven reports have an unnamed faulting thread in the FSEvents/libuv path; six include _FSEventStreamCreate -> FSEventStreamCreate -> uv__fsevents_close, and the seventh includes uv__fsevents_close during run-loop teardown. The eighth report traps on CrBrowserMain and is a different stack, so I am not asserting that it has the same immediate cause.

    For each of the eight crashed PIDs, its matching desktop logs contain 37,655–44,592 warning [git-repo-watcher] Git repo watcher failed errorCode=EMFILE events. Each launch failed on 678–694 distinct watch paths, of which 657–673 were under .git/worktrees/. In five of the seven FSEvents crashes, the last recorded watcher failure was 26–118 seconds before the crash; in the other two, it was 459 and 696 seconds before. The user launchd domain reports maxfiles 256 unlimited (soft/hard); I have not verified the crashed processes' individual limits.

    The failures are strongly correlated with watcher exhaustion and repeated watcher restart/teardown, but this is not a proven causal chain. There is no deterministic minimal reproduction yet: the app was used normally with many worktrees and crashed in both foreground and background. The expected behavior is to handle EMFILE and FSEvents watcher failures without terminating the desktop process or retrying tens of thousands of times.

    As a temporary local workaround, I launched the same profile with signed app build 9922. Its initial run has shown no git-repo-watcher failure, but the observation is limited and other reports here show that build 9922 can also crash. I am retaining the raw .ips reports and logs locally; they contain personal paths and identifiers, so I have not attached them publicly. I can share redacted excerpts if useful.

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

    appapp-serverbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions