Codex CLI 0.141.0 crashes with SIGTRAP on Intel macOS when executing tools

Open 💬 3 comments Opened Jun 22, 2026 by thaafox

What version of the Codex CLI is running?

0.141.0

What subscription do you have?

Plus

Which model were you using?

gpt-5.5

What platform is your computer?

macOS 12.7.6 (Intel x86_64)

What terminal emulator and version are you using (if applicable)?

Apple Terminal 445.1

Codex doctor report

{
  "overallStatus": "ok",
  "codexVersion": "0.141.0",
  "checks": {
    "runtime.provenance": { "status": "ok", "install method": "standalone", "platform": "macos-x86_64" },
    "auth.credentials": { "status": "ok", "stored ChatGPT tokens": "true" },
    "config.load": { "status": "ok", "feature flags enabled": "29" },
    "network.websocket_reachability": { "status": "warn", "handshake result": "HTTP 401 Unauthorized" },
    "sandbox.helpers": { "status": "ok" }
  }
}

What issue are you seeing?

Codex CLI 0.141.0 crashes with zsh: trace trap codex (SIGTRAP / EXC_BREAKPOINT) on Intel macOS when the agent executes tools.

Observed behavior:

  • TUI starts and accepts input
  • Short read-only prompts succeed
  • Crash happens when tool execution begins (e.g., shell commands, file writes)
  • codex doctor reports installation and runtime as healthy
  • Crash signature consistently shows EXC_BREAKPOINT / SIGTRAP / Trace/BPT trap: 5

Steps to reproduce:

  1. Install Codex CLI 0.141.0 on Intel macOS (standalone installer)
  2. Run codex
  3. Ask a prompt that requires tool execution (e.g., create or edit a file)
  4. Process aborts with zsh: trace trap codex

Additional context:

  • Reproduces with both the standalone installer and npm install
  • Reproduces outside VS Code and in a clean terminal
  • Reproduces after resetting ~/.codex
  • 0.140.0 does not exhibit this crash on the same hardware/OS combination
  • Looks related to V8 isolate initialization in tool execution on x86_64

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗