Skip to content

[macOS] ChatGPT Desktop crashes on launch — EXC_BREAKPOINT (SIGTRAP) in CrBrowserMain / Codex Framework #50192

Open

Description

@Catsweet31

ChatGPT Desktop crashes consistently shortly after launch on my Mac.

Environment:

  • Hardware: Mac15,3 / Apple Silicon (ARM64)
  • macOS: 27.0.1 (26A434)
  • ChatGPT Desktop: 26.928.40906 (12694)
  • Bundle: com.openai.codex
  • Codex app-server: 0.159.2

Crash:

  • Exception Type: EXC_BREAKPOINT (SIGTRAP)
  • Termination Reason: Namespace SIGNAL, Code 5, Trace/BPT trap: 5
  • Crashed Thread: Thread 0 — CrBrowserMain / com.apple.main-thread
  • Crash occurs inside Codex Framework / V8.

The application launches and initially initializes successfully. The logs show:

  • main window finishes loading
  • Codex CLI initializes successfully
  • app-server connection reaches "connected"

Shortly afterward, the entire application exits.

One warning appears during startup:
"Failed to register macOS push notifications"
errorCode=20
errorMessage="Authenticated workspace changed"

However, support indicated this warning appears non-fatal and may not be the root cause.

Troubleshooting already performed:

  • Completely uninstalled and reinstalled ChatGPT Desktop
  • Restarted the Mac
  • Updated macOS
  • Tested on a different network using a mobile hotspot
  • Temporarily moved/reset the OpenAI Application Support directory
  • Temporarily moved/reset com.openai.codex Application Support
  • Restored all original Application Support data afterward

The crash persists after all of the above.

Important:
I have local session transcripts in ~/.codex/sessions that do not all appear on ChatGPT Web. I have backed these up and have intentionally NOT deleted the original local session data.

This appears similar to other reports involving CrBrowserMain + EXC_BREAKPOINT/SIGTRAP in Codex Framework.

I can provide the complete macOS crash report and codex-desktop logs from:
~/Library/Logs/com.openai.codex/2026/10/02

ที่เก็บถาวร.zip

Activity

  1. added
    bug
    app
    on Oct 2, 2026
  2. github-actions commented on Oct 2, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. Catsweet31 commented on Oct 2, 2026

    @Catsweet31
    Author

    Additional diagnostic update:

    I reproduced the crash again and found a more specific failure in the terminal output.

    Immediately before the application exits, it reports:

    (node) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 destroyed listeners added to [WebContents]. MaxListeners is 10.

    This is then followed by repeated V8 garbage collection / allocation failures:

    <--- Last few GCs --->

    Scavenge 864.x (894.x) -> 537.x (568.x) MB
    allocation failure

    and finally:

    ERROR:owl/common/node_bindings.cc:107] OOM error in V8: Zone Allocation failed - process out of memory

    The process then terminates with:

    zsh: trace trap /Applications/ChatGPT.app/Contents/MacOS/ChatGPT

    Additional troubleshooting performed:

    1. Launched ChatGPT directly from Terminal.
      Result: reproduced the same V8 OOM / trace trap.

    2. Launched with:
      /Applications/ChatGPT.app/Contents/MacOS/ChatGPT --disable-gpu

      Result: still crashes with the same:
      "OOM error in V8: Zone Allocation failed - process out of memory"

    3. Temporarily moved:
      ~/Library/Application Support/com.openai.codex

      out of Application Support and launched ChatGPT with a newly generated clean com.openai.codex directory.

      Result: the crash still reproduced with the same V8 OOM error.

      I restored my original com.openai.codex directory afterward.

    During the clean Application Support test, the log also showed:

    "Sign in to ChatGPT to check remote control authorization."

    but startup otherwise progressed normally before the same V8 allocation failure occurred.

    System Activity Monitor did not indicate system-wide memory exhaustion at the time of testing. The Mac has 8 GB physical memory, memory pressure remained green, and the crash consistently occurs when the ChatGPT process reaches the V8 allocation failure.

    My ~/.codex/sessions data has NOT been deleted. I have a separate backup of the local session transcripts.

    At this point the crash is reproducible even with:

    • GPU disabled
    • clean com.openai.codex Application Support state
    • direct launch from Terminal

    This appears to narrow the failure down to a V8/Electron memory allocation issue during ChatGPT Desktop startup rather than corrupted com.openai.codex Application Support data.

    Please let me know if there are any additional diagnostic flags, dumps, or logs I can provide.

  4. CETX01 commented on Oct 2, 2026

    @CETX01

    Additional reproduction data requested by OpenAI Support:

    Environment

    • Device: MacBookPro18,1
    • Architecture: Apple Silicon / ARM64
    • macOS: 27.0.1 (26A434)
    • ChatGPT Desktop: 26.930.21537 (12776)
    • Bundle: com.openai.codex
    • Codex CLI/app-server: 0.159.0-alpha.12.1
    • Codex Framework: 154.0.8037.93
    • Codex Framework UUID: 4c4c447c-5555-3144-a17c-cd520c06dd76

    App log immediately before crash

    From:

    ~/Library/Logs/com.openai.codex/2026/10/02

    The Codex CLI/app-server initializes successfully:

    2026-10-02T14:48:02.002Z info [AppServerConnection] Current reported app-server version: currentVersion=0.159.0-alpha.12.1 hostId=local

    2026-10-02T14:48:02.002Z info [AppServerConnection] initialize_handshake_result durationMs=33 initializeRequestId=__codex_initialize__ outcome=success transportKind=stdio

    2026-10-02T14:48:02.002Z info [AppServerConnection] Codex CLI initialized

    2026-10-02T14:48:02.004Z info [AppServerConnection] app_server_connection.state_changed cause=post_initialize_connection_state currentState=connecting hasConnection=true hostId=local initialized=true next=connected transport=stdio

    The window then loads:

    2026-10-02T14:48:02.849Z info [window-manager] window main frame finished load appearance=primary hostId=local startupElapsedMs=1007 webContentsId=1 windowId=1

    2026-10-02T14:48:03.432Z info [window-manager] window ready-to-show appearance=primary hostId=local startupElapsedMs=1590 webContentsId=1 windowId=1

    Final application activity immediately before the crash:

    2026-10-02T14:48:07.053Z info [AppServerConnection] response_routed ... method=remoteControl/status/read ...

    2026-10-02T14:48:07.058Z info [AppServerConnection] response_routed ... method=config/read ...

    The corresponding macOS crash occurred at:

    2026-10-02 17:48:07 +0300

    which corresponds to 14:48:07Z in the application log.

    Terminal reproduction / V8 OOM

    I also reproduced the failure by launching:

    "/Applications/ChatGPT.app/Contents/MacOS/ChatGPT"

    Immediately before termination:

    MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 destroyed listeners added to [WebContents]. MaxListeners is 10.

    followed by repeated V8 GC allocation failures:

    Scavenge 807.4 (837.1) -> 503.2 (533.4) MB ... allocation failure

    Scavenge 806.9 (837.1) -> 503.2 (533.7) MB ... allocation failure

    followed by:

    OOM error in V8: Zone Allocation failed - process out of memory

    and:

    zsh: trace trap "/Applications/ChatGPT.app/Contents/MacOS/ChatGPT"

    The macOS crash report generated by this exact Terminal reproduction identifies the same ChatGPT process (PID 2084) and records:

    • EXC_BREAKPOINT (SIGTRAP)
    • Namespace SIGNAL, Code 5, Trace/BPT trap
    • Thread 0 / CrBrowserMain
    • Codex Framework
    • reading_mode$cxxbridge1$199$parse_distilled_html
    • V8 frames

    The issue persists after reinstalling ChatGPT Desktop and after resetting the local Codex/Chromium application profile.

    ChatGPT Classic works normally on the same Mac and account.

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

    appbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions