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.
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.
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
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