codex - 💡(How to fix) Fix EXC_BREAKPOINT (SIGTRAP) crash on launch — macOS 26.4.1 (25E253), M2, Electron 40 [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#17339Fetched 2026-04-11 06:17:24
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
1
Timeline (top)
labeled ×2commented ×1

Error Message

Immediate crash on every launch with the following exception: Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000001, 0x0000000114b277c0

Fix Action

Fix / Workaround

  • Crash occurs inside Node.js/V8 bootstrapping before any app code or user data is read — cache/preference deletion has no effect
  • The Electron Framework UUID is 4c4c44d0-5555-3144-a1fe-2a4f63e403b3 (Electron 40.0.0) across all crash instances
  • The crash address (imageOffset 88848320 into the Electron Framework) and instruction bytes are identical across 4 separate launch attempts spanning two OS versions (26.4 and 26.4.1)
  • The ??? frames in the recursion block (frames 10–28) suggest the app's bundled JavaScript is hitting an incompatibility in the V8 runtime on this OS version
  • CLI (@openai/codex via npm) works correctly as a workaround
RAW_BUFFERClick to expand / collapse

What version of the Codex App are you using (From “About Codex” dialog)?

26.406.31014 (build 1395)

What subscription do you have?

Pro

What platform is your computer?

Darwin 25.4.0 arm64 arm

What issue are you seeing?

Codex crashes immediately on every launch — before any UI appears — with an EXC_BREAKPOINT (SIGTRAP) in the Electron Framework. The app has never successfully launched on this machine. The crash is 100% reproducible across multiple reinstalls, OS updates (26.4 → 26.4.1), and cache clears.

What steps can reproduce the bug?

  1. Install Codex 26.406.31014
  2. Launch the app
  3. App crashes within ~0.2 seconds, never renders UI

What is the expected behavior?

App launches normally.

Additional information

Actual behavior Immediate crash on every launch with the following exception:

Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000001, 0x0000000114b277c0 Termination Reason: Namespace SIGNAL, Code 5, Trace/BPT trap: 5

Crash stack trace (Thread 0) 0 Electron Framework ares_dns_rr_get_ttl + 3406988 1 Electron Framework ares_dns_rr_get_ttl + 3406792 2 Electron Framework v8::internal::compiler::CompilationDependencies::DependOnContextCell + 64872 3 Electron Framework ares_dns_rr_get_ttl + 3407172 4 Electron Framework cxxbridge1$box$rust_png$ResultOfReader$drop + 20268 5 Electron Framework node::PrincipalRealm::messaging_deserialize_create_object() const + 225120 ... [13 levels of recursion through unknown frames at 0x157e0e38c] ... 29 Electron Framework v8::Function::Call + 6800 30 Electron Framework v8::Function::Call + 388 31 Electron Framework node::builtins::BuiltinLoader::CompileAndCall + 268 32 Electron Framework node::Realm::ExecuteBootstrapper + 84 33 Electron Framework node::StartExecution + 2204 34 Electron Framework node::StartExecution + 1088 35 Electron Framework node::LoadEnvironment + 252 46 Electron Framework ElectronMain + 120 47 dyld start + 6992

Additional context

  • Crash occurs inside Node.js/V8 bootstrapping before any app code or user data is read — cache/preference deletion has no effect
  • The Electron Framework UUID is 4c4c44d0-5555-3144-a1fe-2a4f63e403b3 (Electron 40.0.0) across all crash instances
  • The crash address (imageOffset 88848320 into the Electron Framework) and instruction bytes are identical across 4 separate launch attempts spanning two OS versions (26.4 and 26.4.1)
  • The ??? frames in the recursion block (frames 10–28) suggest the app's bundled JavaScript is hitting an incompatibility in the V8 runtime on this OS version
  • CLI (@openai/codex via npm) works correctly as a workaround

extent analysis

TL;DR

The most likely fix is to upgrade to a newer version of the Codex App or Electron Framework that is compatible with the Darwin 25.4.0 arm64 arm platform.

Guidance

  • The crash occurs during Node.js/V8 bootstrapping, suggesting an incompatibility between the Electron Framework and the OS version.
  • The identical crash address and instruction bytes across multiple launch attempts indicate a reproducible issue.
  • The fact that the CLI version works correctly suggests that the issue is specific to the Electron Framework.
  • Try checking the Electron Framework version compatibility with the Darwin 25.4.0 arm64 arm platform to see if there are any known issues or updates available.

Notes

The issue seems to be related to the Electron Framework version (40.0.0) and its compatibility with the Darwin 25.4.0 arm64 arm platform. However, without more information about the Electron Framework and its versioning, it's difficult to provide a more specific solution.

Recommendation

Apply a workaround by using the CLI version (@openai/codex via npm) until a compatible version of the Codex App or Electron Framework is available.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING