Confronting 2 files causes zsh trace trap
Open 💬 7 comments Opened Jun 19, 2026 by NicoCorini
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of Codex CLI is running?
0.141.0
What subscription do you have?
Plus
Which model were you using?
gpt5.5-medium
What platform is your computer?
Darwin 24.6.0 x86_64 i38
What terminal emulator and version are you using (if applicable)?
Terax v0.8.0
Codex doctor report
{
"schemaVersion": 1,
"generatedAt": "1781856469s since unix epoch",
"overallStatus": "ok",
"codexVersion": "0.141.0",
"checks": {
"app_server.status": {
"id": "app_server.status",
"category": "app-server",
"status": "ok",
"summary": "background server is not running",
"details": {
"control socket": "/Users/<user>/.codex/app-server-control/app-server-control.sock",
"daemon state dir": "/Users/<user>/.codex/app-server-daemon",
"mode": "ephemeral",
"pid file": "/Users/<user>/.codex/app-server-daemon/app-server.pid (missing)",
"settings": "/Users/<user>/.codex/app-server-daemon/settings.json (missing)",
"status": "not running",
"update-loop pid file": "/Users/<user>/.codex/app-server-daemon/app-server-updater.pid (missing)"
},
"remediation": null,
"durationMs": 1
},
"auth.credentials": {
"id": "auth.credentials",
"category": "auth",
"status": "ok",
"summary": "auth is configured",
"details": {
"auth file": "/Users/<user>/.codex/auth.json",
"auth storage mode": "File",
"stored API key": "false",
"stored ChatGPT tokens": "true",
"stored agent identity": "false",
"stored auth mode": "chatgpt"
},
"remediation": null,
"durationMs": 0
},
"config.load": {
"id": "config.load",
"category": "config",
"status": "ok",
"summary": "config loaded",
"details": {
"CODEX_HOME": "/Users/<user>/.codex",
"config.toml": "/Users/<user>/.codex/config.toml",
"config.toml parse": "ok",
"cwd": "/Users/<user>/<redacted-project-path>",
"enabled feature flags": "shell_tool, unified_exec, shell_snapshot, terminal_resize_reflow, sqlite, hooks, enable_request_compression, multi_agent, apps, tool_suggest, plugins, in_app_browser, browser_use, browser_use_external, computer_use, plugin_sharing, image_generation, skill_mcp_dependency_install, mentions_v2, steer, guardian_approval, goals, collaboration_modes, tool_call_mcp_elicitation, personality, fast_mode, tui_app_server, remote_compaction_v2, workspace_dependencies",
"feature flag overrides": "none",
"feature flags enabled": "29",
"log dir": "/Users/<user>/.codex/log",
"mcp servers": "0",
"model": "gpt-5.5",
"model provider": "openai",
"sqlite home": "/Users/<user>/.codex"
},
"remediation": null,
"durationMs": 0
},
"git.environment": {
"id": "git.environment",
"category": "git",
"status": "ok",
"summary": "git version 2.50.0",
"details": {
"PATH git #1": "/usr/local/bin/git",
"PATH git #2": "/usr/bin/git",
"PATH git entries": "2",
"git build options": "git version 2.50.0; cpu: x86_64; no commit associated with this build; sizeof-long: 8; sizeof-size_t: 8; shell-path: /bin/sh; feature: fsmonitor--daemon; libcurl: 8.6.0; zlib: 1.2.12; SHA-1: SHA1_DC; SHA-256: SHA256_BLK",
"git exec path": "/usr/local/opt/git/libexec/git-core",
"git version": "git version 2.50.0",
"repo detected": "false",
"selected git": "/usr/local/bin/git"
},
"remediation": null,
"durationMs": 41
},
"installation": {
"id": "installation",
"category": "install",
"status": "ok",
"summary": "installation looks consistent",
"details": {
"PATH codex #1": "/Users/<user>/.local/share/mise/installs/node/22.22.2/bin/codex",
"current executable": "/Users/<user>/.local/share/mise/installs/node/22.22.2/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-x64/vendor/x86_64-apple-darwin/bin/codex",
"install context": "npm (package /Users/<user>/.local/share/mise/installs/node/22.22.2/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-x64/vendor/x86_64-apple-darwin, bin /Users/<user>/.local/share/mise/installs/node/22.22.2/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-x64/vendor/x86_64-apple-darwin/bin, resources /Users/<user>/.local/share/mise/installs/node/22.22.2/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-x64/vendor/x86_64-apple-darwin/codex-resources, path /Users/<user>/.local/share/mise/installs/node/22.22.2/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-x64/vendor/x86_64-apple-darwin/codex-path)",
"managed by bun": "false",
"managed by npm": "true",
"managed package root": "/Users/<user>/.local/share/mise/installs/node/22.22.2/lib/node_modules/@openai/codex",
"npm update target": "/Users/<user>/.local/share/mise/installs/node/22.22.2/lib/node_modules/@openai/codex"
},
"remediation": null,
"durationMs": 441
},
"mcp.config": {
"id": "mcp.config",
"category": "mcp",
"status": "ok",
"summary": "no MCP servers configured",
"details": {},
"remediation": null,
"durationMs": 0
},
"network.env": {
"id": "network.env",
"category": "network",
"status": "ok",
"summary": "network-related environment looks readable",
"details": {
"proxy env vars": "none"
},
"remediation": null,
"durationMs": 0
},
"network.provider_reachability": {
"id": "network.provider_reachability",
"category": "reachability",
"status": "ok",
"summary": "active provider endpoints are reachable over HTTP",
"details": {
"ChatGPT base URL": "https://chatgpt.com/backend-api/ reachable (HTTP 403)",
"reachability mode": "ChatGPT auth"
},
"remediation": null,
"durationMs": 567
},
"network.websocket_reachability": {
"id": "network.websocket_reachability",
"category": "websocket",
"status": "ok",
"summary": "Responses WebSocket handshake succeeded",
"details": {
"DNS": "2 IPv4, 0 IPv6, first IPv4",
"auth mode": "chatgpt",
"connect timeout": "15000 ms",
"endpoint": "wss://chatgpt.com/backend-api/<redacted>",
"handshake result": "HTTP 101 Switching Protocols",
"model provider": "openai",
"models etag present": "true",
"provider name": "OpenAI",
"proxy env vars": "none",
"reasoning header": "false",
"server model present": "false",
"supports websockets": "true",
"wire API": "responses"
},
"remediation": null,
"durationMs": 973
},
"runtime.provenance": {
"id": "runtime.provenance",
"category": "runtime",
"status": "ok",
"summary": "running npm on macos-x86_64",
"details": {
"commit": "unknown",
"current executable": "/Users/<user>/.local/share/mise/installs/node/22.22.2/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-x64/vendor/x86_64-apple-darwin/bin/codex",
"install method": "npm (package /Users/<user>/.local/share/mise/installs/node/22.22.2/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-x64/vendor/x86_64-apple-darwin, bin /Users/<user>/.local/share/mise/installs/node/22.22.2/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-x64/vendor/x86_64-apple-darwin/bin, resources /Users/<user>/.local/share/mise/installs/node/22.22.2/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-x64/vendor/x86_64-apple-darwin/codex-resources, path /Users/<user>/.local/share/mise/installs/node/22.22.2/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-x64/vendor/x86_64-apple-darwin/codex-path)",
"platform": "macos-x86_64",
"version": "0.141.0"
},
"remediation": null,
"durationMs": 0
},
"runtime.search": {
"id": "runtime.search",
"category": "search",
"status": "ok",
"summary": "search is OK (bundled)",
"details": {
"search command": "/Users/<user>/.local/share/mise/installs/node/22.22.2/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-x64/vendor/x86_64-apple-darwin/codex-path/rg",
"search command readiness": "file exists",
"search provider": "bundled"
},
"remediation": null,
"durationMs": 0
},
"sandbox.helpers": {
"id": "sandbox.helpers",
"category": "sandbox",
"status": "ok",
"summary": "sandbox configuration is readable",
"details": {
"approval policy": "OnRequest",
"codex-linux-sandbox helper": "none",
"execve wrapper helper": "/Users/<user>/.codex/tmp/<redacted>/codex-execve-wrapper",
"filesystem sandbox": "restricted",
"network sandbox": "restricted"
},
"remediation": null,
"durationMs": 0
},
"state.paths": {
"id": "state.paths",
"category": "state",
"status": "ok",
"summary": "state paths and databases are inspectable",
"details": {
"CODEX_HOME": "/Users/<user>/.codex (dir)",
"active rollout files": "47 files, 45466961 total bytes, 967382 average bytes",
"archived rollout files": "0 files, 0 total bytes, 0 average bytes",
"goals DB": "/Users/<user>/.codex/goals_1.sqlite (file)",
"goals DB integrity": "ok",
"log DB": "/Users/<user>/.codex/logs_2.sqlite (file)",
"log DB integrity": "ok",
"log dir": "/Users/<user>/.codex/log (dir)",
"memories DB": "/Users/<user>/.codex/memories_1.sqlite (file)",
"memories DB integrity": "ok",
"sqlite home": "/Users/<user>/.codex (dir)",
"state DB": "/Users/<user>/.codex/state_5.sqlite (file)",
"state DB integrity": "ok"
},
"remediation": null,
"durationMs": 1588
},
"state.rollout_db_parity": {
"id": "state.rollout_db_parity",
"category": "threads",
"status": "ok",
"summary": "rollout files and state DB thread inventory agree",
"details": {
"default model provider": "openai",
"rollout DB active files": "47",
"rollout DB active rows": "47",
"rollout DB archive mismatches": "0",
"rollout DB archived files": "0",
"rollout DB archived rows": "0",
"rollout DB duplicate DB paths": "0",
"rollout DB duplicate rollout thread ids": "0",
"rollout DB malformed file names": "0",
"rollout DB missing active rows": "0",
"rollout DB missing archived rows": "0",
"rollout DB model providers": "openai=47",
"rollout DB rows": "47",
"rollout DB scan cap reached": "false",
"rollout DB scan errors": "0",
"rollout DB sources": "cli=47",
"rollout DB stale rows": "0"
},
"remediation": null,
"durationMs": 1180
},
"system.environment": {
"id": "system.environment",
"category": "system",
"status": "ok",
"summary": "OS language it-IT",
"details": {
"EDITOR": "not set",
"LANG": "en_US.UTF-8",
"VISUAL": "not set",
"os": "Mac OS 15.7.7 [64-bit]",
"os language": "it-IT",
"os type": "Mac OS",
"os version": "15.7.7"
},
"remediation": null,
"durationMs": 13
},
"terminal.env": {
"id": "terminal.env",
"category": "terminal",
"status": "ok",
"summary": "terminal metadata was detected",
"details": {
"COLORTERM": "truecolor",
"TERM": "xterm-256color",
"color output": "enabled",
"effective locale": "en_US.UTF-8",
"stderr is terminal": "true",
"stdin is terminal": "true",
"stdout is terminal": "true",
"terminal": "unknown",
"terminal size": "86x39"
},
"remediation": null,
"durationMs": 2
},
"terminal.title": {
"id": "terminal.title",
"category": "title",
"status": "ok",
"summary": "terminal title default",
"details": {
"terminal title activity": "true",
"terminal title items": "activity, project-name",
"terminal title project source": "cwd",
"terminal title project value": "<redacted-project-name>",
"terminal title source": "default"
},
"remediation": null,
"durationMs": 0
},
"updates.status": {
"id": "updates.status",
"category": "updates",
"status": "ok",
"summary": "update configuration is locally consistent",
"details": {
"cached latest version": "0.141.0",
"check for update on startup": "true",
"last checked at": "2026-06-18T12:47:23.321365Z",
"latest version": "0.141.0",
"latest version status": "current version is not older",
"npm update target": "/Users/<user>/.local/share/mise/installs/node/22.22.2/lib/node_modules/@openai/codex",
"update action": "npm install -g @openai/codex",
"version cache": "/Users/<user>/.codex/version.json"
},
"remediation": null,
"durationMs": 573
}
}
}
What issue are you seeing?
Launched codex cli in Terax terminal to confront datas between an .svg and a .md file, with the end goal of aligning .md file to the updated .svg source of truth. It crashes right after I send the prompt. Files are linked with '@'. Never happened before.
What steps can reproduce the bug?
Uploaded thread: 019edee1-3914-7d40-8e2c-7cd45ce42616
What is the expected behavior?
_No response_
Additional information
_No response_
7 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Seeing the same SIGTRAP behavior on Intel macOS 0.141.0 when the agent executes tools. Filed a separate bug report with Codex Doctor v0.140.0 · macos-x86_64
Notes
↑ updates 0.141.0 available (current 0.140.0)
✗ auth no Codex credentials were found - Run codex login or provide an API key through a supported auth env var.
⚠ websocket Responses WebSocket failed; HTTPS fallback may still work - Check proxy, VPN, firewall, DNS, custom CA, and WebSocket policy support.
─────────────────────────────────────────────────────────────
Environment
✓ system en-US
os Mac OS 12.7.6 [64-bit]
OS language en-US
LANG en_CA.UTF-8
VISUAL not set
EDITOR not set
✓ runtime standalone (unix, package /Users/onlynativefox/.codex/packages/standalone/releases/0.140.0-x86_64-apple-darwin, bin /Users/onlynativefox/.codex/packages/standalone/releases/0.140.0-x86_64-apple-darwin/bin, resources /Users/onlynativefox/.codex/packages/standalone/releases/0.140.0-x86_64-apple-darwin/codex-resources, path /Users/onlynativefox/.codex/packages/standalone/releases/0.140.0-x86_64-apple-darwin/codex-path)
version 0.140.0
install method standalone (unix, package /Users/onlynativefox/.codex/packages/standalone/releases/0.140.0-x86_64-apple-darwin, bin /Users/onlynativefox/.codex/packages/standalone/releases/0.140.0-x86_64-apple-darwin/bin, resources /Users/onlynativefox/.codex/packages/standalone/releases/0.140.0-x86_64-apple-darwin/codex-resources, path /Users/onlynativefox/.codex/packages/standalone/releases/0.140.0-x86_64-apple-darwin/codex-path)
commit unknown
executable ~/.local/bin/codex
✓ install consistent
context standalone (unix, package /Users/onlynativefox/.codex/packages/standalone/releases/0.140.0-x86_64-apple-darwin, bin /Users/onlynativefox/.codex/packages/standalone/releases/0.140.0-x86_64-apple-darwin/bin, resources /Users/onlynativefox/.codex/packages/standalone/releases/0.140.0-x86_64-apple-darwin/codex-resources, path /Users/onlynativefox/.codex/packages/standalone/releases/0.140.0-x86_64-apple-darwin/codex-path)
managed by npm: no · bun: no · package root —
PATH entries (1) ~/.local/bin/codex
✓ search file exists (bundled,
/Users/onlynativefox/.codex/packages/standalone/releases/0.140.0-x86_64-apple-darwin/codex-path/rg)search command ~/.codex/packages/standa…le-darwin/codex-path/rg
search provider bundled
search command readiness file exists
✓ git git version 2.37.1 (Apple Git-137.1)
selected git /usr/bin/git
version git version 2.37.1 (Apple Git-137.1)
exec path /Library/Developer/Comma…ls/usr/libexec/git-core
repo detected false
PATH entries (1) /usr/bin/git
✓ terminal Apple Terminal 445.1
terminal Apple Terminal
TERM_PROGRAM Apple_Terminal
terminal version 445.1
stdin is terminal false
stdout is terminal false
stderr is terminal false
terminal size 80x24
color output disabled (stdout is not a terminal)
effective locale en_CA.UTF-8
✓ title default · project onlynativefox
title source default
title items activity, project-name
activity item true
project source cwd
project value onlynativefox
✓ state databases healthy
CODEX_HOME ~/.codex (dir)
log dir ~/.codex/log (missing)
sqlite home ~/.codex (dir)
state DB ~/.codex/state_5.sqlite (file) · integrity ok
log DB ~/.codex/logs_2.sqlite (file) · integrity ok
goals DB ~/.codex/goals_1.sqlite (file) · integrity ok
memories DB ~/.codex/memories_1.sqlite (file) · integrity ok
active rollouts 1 files · 29.71 KB (avg 29.71 KB)
archived rollouts 0 files · 0 B (avg 0 B)
standalone release cache 2 entries in /Users/onlynativefox/.codex/packages/standalone/releases
✓ threads rollout files and state DB thread inventory agree
default model provider openai
rollout DB active files 1
rollout DB archived files 0
rollout DB scan errors 0
rollout DB malformed file names 0
rollout DB scan cap reached false
rollout DB rows 1
rollout DB active rows 1
rollout DB archived rows 0
rollout DB missing active rows 0
rollout DB missing archived rows 0
rollout DB stale rows 0
rollout DB archive mismatches 0
rollout DB duplicate rollout thread ids 0
rollout DB duplicate DB paths 0
rollout DB model providers openai=1
rollout DB sources exec=1
Configuration
✓ config loaded
model <default> · openai
cwd ~
config.toml ~/.codex/config.toml
MCP servers 0
feature flags 29 enabled · 0 overridden (full list with --all)
✗ auth no Codex credentials were found — Run codex login or provide an API key through a supported auth env var.
auth storage mode File
auth file ~/.codex/auth.json
✓ mcp no MCP servers configured
✓ sandbox restricted fs + restricted network · approval OnRequest
approval policy OnRequest
filesystem sandbox restricted
network sandbox restricted
linux helper none
execve wrapper helper ~/.codex/tmp/arg0/codex-…qR/codex-execve-wrapper
Updates
✓ updates update configuration is locally consistent
startup update check true
update action standalone installer
version cache ~/.codex/version.json
version cache missing
latest version 0.141.0
latest version status newer version is available
Connectivity
✓ network no proxy env vars
proxy env vars none
⚠ websocket Responses WebSocket failed; HTTPS fallback may still work — Check proxy, VPN, firewall, DNS, custom CA, and WebSocket policy support.
model provider openai
provider name OpenAI
wire API responses
supports websockets true
proxy env vars none
connect timeout 15000 ms
auth mode none
endpoint wss://api.openai.com/v1/<redacted>
DNS 2 IPv4, 0 IPv6, first IPv4
handshake transport error http 401 Unauthorized: Some("{\n \"error\": {\n \"message\": \"Missing bearer or basic authentication in header\",\n \"type\": \"invalid_request_error\",\n \"param\": null,\n \"code\": null\n }\n}")
✓ reachability active provider endpoints are reachable over HTTP
reachability mode ChatGPT auth
ChatGPT base URL https://chatgpt.com/backend-api/ reachable (HTTP 403)
Background Server
○ app-server not running (ephemeral mode)
daemon state dir ~/.codex/app-server-daemon
settings ~/.codex/app-server-daemon/settings.json (missing)
pid file ~/.codex/app-server-daemon/app-server.pid (missing)
update-loop pid file ~/.codex/app-server-daem…/app-server-updater.pid (missing)
control socket ~/.codex/app-server-cont…app-server-control.sock
status not running
mode ephemeral
─────────────────────────────────────────────────────────────
15 ok · 1 idle · 3 notes · 1 warn · 1 fail failed
--summary compact output --all expand truncated lists
--json redacted report output and repro steps at #29414.
Same SIGTRAP crash here on Intel macOS 0.141.0, triggered when the agent executes tools. codex doctor shows no problems. 0.140.0 works fine on the same machine. Fresh bug report with repro steps and diagnostics is at #29414.
019f05d6-f85e-7043-a327-61d3b3df7174
Same bug with latest version on macos:
v0.142.5=>zsh: trace trap codexin @filenamewhat Notebook and MacOS version do you have?
I have
and its running fine v 0.142.5 , installed via brew.
Yes
x86arch. Brew as well