Codex CLI 0.142.5: app-server crashes with SIGABRT on Linux Mint 22.3
What version of Codex CLI is running?
codex-cli 0.142.5
What subscription do you have?
ChatGPT Plus
Which model were you using?
gpt-5.5
What platform is your computer?
Linux 6.8.0-134-generic x86_64 x86_64
What terminal emulator and version are you using (if applicable)?
Terminal emulator: -VS Code integrated terminal -Linux Mint Terminal | Multiplexer: none
Codex doctor report
Abgebrochen (Speicherabzug geschrieben)
What issue are you seeing?
Codex CLI crashes on Linux Mint 22.3 shortly after startup. The app-server exits unexpectedly with SIGABRT.
This may be related to the thread_tools feature/config issue reported in #29140, but my case is different because it happens with the CLI directly on Linux Mint, not only in the VS Code extension or Desktop app.
Possibly related issues:
#29140 — thread_tools unknown feature key / app-server crash
#21339 — Linux app-server / npm wrapper / SIGABRT behavior
#17473 — CODEX_HOME under /tmp helper alias warning
What steps can reproduce the bug?
Run Codex CLI with a fresh temporary CODEX_HOME:
CODEX_HOME=/tmp/codex-debug/home \
RUST_BACKTRACE=full \
codex exec --skip-git-repo-check "Antworte nur mit OK."
What is the expected behavior?
Codex CLI should execute the prompt normally, or at least return a recoverable error message instead of crashing the app-server with SIGABRT.
Additional information
This looks related to #29140 because of the thread_tools feature/config message and the app-server crash, but it may be a separate Linux CLI issue because:
This happens on Linux Mint 22.3 using the CLI directly.
The process exits with SIGABRT.
The crash continues even after using a fresh temporary CODEX_HOME.
Should this be tracked as a duplicate of #29140, or is this a separate Linux CLI/app-server crash?
2 Comments
Additional diagnostic information:
The issue has been labeled
CLI,exec,app-server, andbug, which matches the observed failure.One detail that may be relevant:
codex doctoritself does not produce a normal report on my system. It aborts with:So the crash is not limited to
codex exec; at leastcodex doctoralso aborts.I can provide additional sanitized diagnostics if useful. Please let me know which of the following would be most helpful:
I will avoid posting any tokens, private repository content, or session contents publicly.
Update: crash isolated to WebSocket transport; HTTP workaround restores CLI and VS Code
I performed additional testing on Linux Mint 22.3 and was able to isolate the failure more precisely.
Current versions tested
0.142.5to0.146.0openai.chatgpt@26.5721.30844Findings
0.142.5to0.146.0removed the earlier stale model-cache error, but did not fix the SIGABRT crash.Reproduction:
features.code_mode_hostdoes not change the result:This still aborts with SIGABRT.
coredumpctlconfirms SIGABRT for both binaries:0.146.0~/.vscode/extensions/openai.chatgpt-26.5721.30844-linux-x64/bin/linux-x86_64/codexTherefore, reinstalling VS Code alone would not address the problem.
RUST_LOG=debug, normal HTTPS requests complete successfully:The process aborts immediately after starting the WebSocket connection to:
The last relevant log messages show the WebSocket connection startup and Rustls certificate initialization. No recoverable error or Rust panic/backtrace is printed before SIGABRT.
Successful workaround
Forcing Codex to use the Responses API without WebSockets makes the same command complete successfully:
Result:
I then added the following permanent configuration to
~/.codex/config.toml:After restarting VS Code:
codex execworks normallyConclusion
This appears to be a native Linux crash specifically in, or triggered by, the WebSocket transport path. The HTTP Responses transport works with the same account, authentication, model, machine, and installation.
A robust fix would ideally prevent the WebSocket path from aborting the entire process and either:
I can provide a sanitized full debug log or coredump metadata if maintainers need it.