Codex Extension crashed

Resolved 💬 3 comments Opened Mar 9, 2026 by RuihanCao Closed Mar 14, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of the IDE extension are you using?

The latest one, 26.304.20706

What subscription do you have?

Pro

Which IDE are you using?

Cursor

What platform is your computer?

Windows 11

What issue are you seeing?

Codex extention crushed with the following error:
Codex process errored: Codex process is not available
codex_protocol::openai_models: Model personality requested but model_messages is missing, falling back to base instructions. model=gpt-5.1-codex-mini personality=pragmatic

What steps can reproduce the bug?

Not sure what caused the bug.

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 5 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #12277
  • #13717

Powered by Codex Action

TheDutchRuler · 5 months ago

Adding a VS Code Remote - WSL datapoint for the same build.

Environment

  • Extension: openai.chatgpt 26.304.20706
  • Bundled Codex CLI: codex-cli 0.108.0-alpha.12
  • IDE: VS Code 1.111.0 (ce099c1ed25d9eb3076c11e4a280f3eb52b4fbeb)
  • Remote: VS Code Remote - WSL on Ubuntu
  • WSL: 2.6.3.0
  • WSL kernel: 6.6.87.2-1
  • Windows: 10.0.26200.8037
  • Config: model = "gpt-5.4", personality = "pragmatic"

What I saw

  • Popup in the IDE:

``
Codex process errored: Codex app-server process exited unexpectedly (code=unknown, signal=SIGSEGV).
Last CLI error: codex_protocol::openai_models: Model personality requested but model_messages is missing, falling back to base instructions. model=gpt-5.1-codex-mini personality=pragmatic
``

  • After that, the UI lost the openai-codex:// provider and the remote extension host became unresponsive.
  • Reloading the window started a fresh remote extension host and Codex worked again.

Relevant log sequence

  • renderer.log
  • 2026-03-12 19:36:11 onBeforeShutdown is taking a long time, pending operations: veto.chat
  • 2026-03-12 19:36:15 Can not find provider for openai-codex://route/local/...
  • 2026-03-12 19:36:26 Extension host (Remote) is unresponsive.
  • then repeated reconnects to the same WSL socket
  • remoteagent.log
  • the same extension-host connection stayed up and the client reconnected multiple times
  • after manual reload, a new extension host was launched successfully
  • Codex.log
  • only showed startup lines (Activating Codex extension, Spawning codex app-server, Initialize received id=1), so I do not have a deeper Rust/backtrace from the child process itself

Notes

  • This did not look like a full WSL disconnect. The WSL transport stayed up; this looked like the Codex app-server child crashing or wedging inside the remote extension host.
  • In the same remote session I also saw PendingMigrationError: navigator is now a global in nodejs from the openai.chatgpt extension, in case that is relevant to the extension-host instability.
RuihanCao · 5 months ago

I think it was caused by having multiple threads working working at the same time. Doesn't crush now that I stopped doing that.