You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[macOS] ChatGPT Desktop crashes on launch — EXC_BREAKPOINT (SIGTRAP) in CrBrowserMain / Codex Framework #50192
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
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.
Activity
github-actions commentedon Oct 2, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Catsweet31 commentedon Oct 2, 2026
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:
Launched ChatGPT directly from Terminal.
Result: reproduced the same V8 OOM / trace trap.
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"
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:
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.
CETX01 commentedon Oct 2, 2026
Additional reproduction data requested by OpenAI Support:
Environment
4c4c447c-5555-3144-a17c-cd520c06dd76App log immediately before crash
From:
~/Library/Logs/com.openai.codex/2026/10/02The 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=local2026-10-02T14:48:02.002Z info [AppServerConnection] initialize_handshake_result durationMs=33 initializeRequestId=__codex_initialize__ outcome=success transportKind=stdio2026-10-02T14:48:02.002Z info [AppServerConnection] Codex CLI initialized2026-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=stdioThe 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=12026-10-02T14:48:03.432Z info [window-manager] window ready-to-show appearance=primary hostId=local startupElapsedMs=1590 webContentsId=1 windowId=1Final 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 +0300which corresponds to
14:48:07Zin 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 failureScavenge 806.9 (837.1) -> 503.2 (533.7) MB ... allocation failurefollowed by:
OOM error in V8: Zone Allocation failed - process out of memoryand:
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 trapCrBrowserMainreading_mode$cxxbridge1$199$parse_distilled_htmlThe 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.