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
codex-cli 0.142.3 still crashes with Trace/BPT trap: 5 (SIGTRAP) on tool calls (web_search + shell) on Intel macOS — regression of #29000 #30306
On Intel (x86_64) macOS, codex-cli0.142.3 still crashes with a native Trace/BPT trap: 5 (SIGTRAP) the moment it invokes a tool — both web_search and local shell/file reads abort with no output and the conversation reports "Conversation interrupted."
This appears to be the same crash as #29000 (closed as completed on 2026-06-23) and #28090 (open). #29000 was marked fixed, but it is still reproducing on 0.142.0–0.142.3 per recent comments there. Filing fresh so the regression on the latest version is visible.
What version of Codex CLI is running?
0.142.3
Which model were you using?
gpt-5.5
What platform is your computer?
macOS 13.7.5 (build 22H527), x86_64 (Intel)
Steps to reproduce
Start codex in a repository (a SessionStart hook was active; working directory path contains a space: .../Wordpress for Apps).
Ask Codex to perform a web search.
Codex first attempts a local file read / shell command; the command aborts and the terminal prints:
Trace/BPT trap: 5
Resume the session and ask Codex to invoke web search directly (no shell command).
The search produces no output; the conversation reports:
Conversation interrupted - tell the model what to do differently.
Something went wrong? Hit /feedback to report the issue.
Expected behavior
Tool calls (web_search, shell, file read) return results or a recoverable error without terminating the process.
Actual behavior
Any tool invocation aborts without output; at least one invocation produced a native Trace/BPT trap: 5 (SIGTRAP). web_search is effectively unusable in the session.
Additional observations
Both local command execution and web search are affected, which points at the shared tool runner / JIT path rather than web_search alone.
codex_core::util: Custom tool call output is missing for call id: ...
That appears to be fallout after the native process dies mid-tool-call: the session has a recorded tool call but no corresponding output.
This looks consistent with the V8/JIT/hardened-runtime SIGTRAP already discussed here. Adding this data point because it reproduces on 0.142.4 and on macOS 14.8.4, not only macOS 15/26.
I’m seeing what appears to be the same issue on my Intel Mac server.
Environment:
Machine: Mid-2012 MacBook Pro, MacBookPro9,1
CPU: Intel Core i7 quad-core 2.3 GHz
RAM: 16 GB
macOS: Catalina 10.15.7
Build: 19H2026
Architecture: x86_64 / Intel
Shell: bash
Usage: connected over SSH, usually running Codex inside tmux
Install method: npm/global Codex CLI install
Codex CLI version 0.142.0 line
Behavior:
When Codex tries to invoke tools, especially shell commands/file reads, the session crashes/interrupts instead of returning tool output. I have seen the native macOS error:
Trace/BPT trap: 5
After that, Codex reports the conversation as interrupted / failed rather than showing the result of the tool call.
This is happening on an older Intel Mac server, not Apple Silicon. It sounds consistent with the Intel macOS SIGTRAP/tool-runner issue described here and in the related issues. The main trigger appears to be tool execution.
Activity
github-actions commentedon Jun 26, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Karabaaa commentedon Jun 29, 2026
Still reproducible with Codex CLI 0.142.4 and the VS Code extension.
Environment:
The app-server exits with SIGTRAP while initializing V8:
v8::base::OS::SetPermissions
v8::internal::CodeRange::InitReservation
v8::internal::Heap::SetUp
v8::internal::Isolate::Init
v8::Isolate::New
The issue still reproduces after:
features.plugins = falsechatgpt.cliExecutableto the standalone 0.142.4 binarycodesign --verify --strictalso reports an invalid signature for both the standalone and VS Code bundled Intel binaries.I am attaching a sanitized macOS crash report and VS Code Codex log.
codex-crash-2026-06-29-sanitized.zip
Codex.sanitized.log
charlieargue commentedon Jun 29, 2026
I’m seeing the same issue on
@openai/[email protected]installed via Volta/npm on Intel macOS.Environment:
0.142.40.137.014.8.4 (23J319)x86_64zshin iTerm2v24.14.0/Users/karlgolka/.volta/tools/image/packages/@openai/codex/...Failure mode:
0.142.4crashes when a turn attempts a tool/custom tool call.0.137.0restores normal operation.Crash reports observed:
~/Library/Logs/DiagnosticReports/codex-2026-06-29-125709.ips~/Library/Logs/DiagnosticReports/codex-2026-06-29-130301.000.ips~/Library/Logs/DiagnosticReports/codex-2026-06-29-130807.000.ips~/Library/Logs/DiagnosticReports/codex-2026-06-29-130939.ips~/Library/Logs/DiagnosticReports/codex-2026-06-29-131217.ipsCrash signature:
Related secondary symptom:
That appears to be fallout after the native process dies mid-tool-call: the session has a recorded tool call but no corresponding output.
This looks consistent with the V8/JIT/hardened-runtime SIGTRAP already discussed here. Adding this data point because it reproduces on
0.142.4and on macOS14.8.4, not only macOS 15/26.charlieargue commentedon Jun 29, 2026
FYI - in meantime, 👍 reverting to 137 solved the issue for now ...
seth-reeise commentedon Jul 7, 2026
Can we please get this fixed?
I’m seeing what appears to be the same issue on my Intel Mac server.
Environment:
Behavior:
When Codex tries to invoke tools, especially shell commands/file reads, the session crashes/interrupts instead of returning tool output. I have seen the native macOS error:
Trace/BPT trap: 5
After that, Codex reports the conversation as interrupted / failed rather than showing the result of the tool call.
This is happening on an older Intel Mac server, not Apple Silicon. It sounds consistent with the Intel macOS SIGTRAP/tool-runner issue described here and in the related issues. The main trigger appears to be tool execution.
charlieargue commentedon Jul 14, 2026
Any update on this issue? I'm still in a 0.137.0 holding pattern until this is resolved and I can safely upgrade. Appreciate any info, 🙏 big 👍 Thanks!