Codex process errored: ...exited unexpectedly (code=unknown, signal=SIGTRAP) / thread_tools

Codex VS Code extension crashes immediately on first prompt, no matter what the prompt is.

Errors

Error:
Codex process errored: Codex app-server process exited unexpectedly (code=unknown, signal=SIGTRAP).
Last CLI error:
codex_features: unknown feature key in config: thread_tools

codex_features: unknown feature key in config: thread_tools

After a moment it changes to this:

Codex process errored: Codex process is not available

codex_features: unknown feature key in config: thread_tools

Environment

  • macOS 26.5.1 (25F80) Tahoe
  • VS Code 1.127.0
  • Codex extension 26.623.101652
  • No desktop app

What I’ve tried

  • Emptied config.toml
  • Cleared Codex-related files as much as possible
  • Reinstalled extension
  • Restarted Mac
  • Logged back in
  • External and internal drives
  • Different projects

Any help is appreciated. I’ve spent hours troubleshooting this with ChatGPT and the issue always returns even after a total nuke and re-install. I’m on Plus and finding myself falling back to Claude Code.

Just an idea: → Launch codex CLI, and have it debug the thread and system logs to pin point exactly where crash occurs. It works incredibly well.

Good idea but sadly CLI crashes too.

oof.. chatgpt[.]com to generate a proper shell script that will launch, and separately monitor the thread and system log > distill the log to pertinent details and upload the log back for it to audit.

Smart idea. I couldn’t solve it with that info though. ChatGPT is stumped. Funny thing is sometimes the error is state db and not threads.

What “fixed” it is downgrading to 26.609.30741. Anything newer than that version has the issue. Looks like a bug. Not sure why it affects my setup.

Gonna test the Insiders app.

Ah too bad. SIGTRAP is when the OS is killing the process because it deems it unsafe. Download Codex desktop and see if it forces some security validation within MacOS permissions in Settings > Privacy area. Sometimes you might get a permission prompt that will mark this process as safe within the OS.

Tried VSCode Insiders app and still trouble with pre-release of Codex extension.

Codex process errored: Codex app-server process exited unexpectedly (code=unknown, signal=SIGTRAP). Last CLI error: codex_rollout::list: state db discrepancy during find_thread_path_by_id_str_in_subdir: falling_back

codex_rollout::list: state db discrepancy during find_thread_path_by_id_str_in_subdir: falling_back

Installed Codex app (Intel version)

VS code gives:

Codex process errored: Codex app-server process exited unexpectedly (code=unknown, signal=SIGTRAP). Last CLI error: codex_core_plugins::manifest: ignoring interface.defaultPrompt: maximum of 3 prompts is supported path=/Users/somebody/.cache/codex-runtimes/codex-primary-runtime/plugins/openai-primary-runtime/plugins/template-creator/.codex-plugin/plugin.json
codex_core_plugins::manifest: ignoring interface.defaultPrompt: maximum of 3 prompts is supported path=/Users/somebody/.cache/codex-runtimes/codex-primary-runtime/plugins/openai-primary-runtime/plugins/template-creator/.codex-plugin/plugin.json

Insider gives:

Codex process errored: Codex process is not available

codex_core_plugins::manifest: ignoring interface.defaultPrompt: maximum of 3 prompts is supported path=/Users/somebody/.cache/codex-runtimes/codex-primary-runtime/plugins/openai-primary-runtime/plugins/template-creator/.codex-plugin/plugin.json

I’ll just use the older version for now.