Codex VSCode extension on Windows stalls and crashes on v. 0.4.51
What version of Codex is running?
0.4.51
What subscription do you have?
Plus
Which model were you using?
GPT-5.1-Codex-Max
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What issue are you seeing?
This error appears on the Codex chat view.
An error has occurred
Codex crashed with the following error:
Codex process errored: Codex process is not available
thread 'tokio-runtime-worker' panicked at core\src\util.rs:21:9:
Function call output is missing for call id: call_Mx1hEL51XPh0uQKthJIcbenN
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Some things to try:
Check your config.toml for invalid settings
Check your settings to disable running in WSL if you are seeing compatibility issues
Try downloading a different version of the extension
Click reload to restart the Codex extension, or visit our documentation for additional help.
Open Config.toml
Reload
What steps can reproduce the bug?
Open Codex chat Window. Click on a previous conversation. The chat view opens, it keeps trying to load the conversation, and after a while, the error above appears.
What is the expected behavior?
_No response_
Additional information
Same results on a portable installation of VSCode.
The error disappears on WSL mode (but the list of chats in chat history is different).
26 Comments
Thanks for reporting the problem. I suspect it has something to do with one or more of your saved session files.
It would be really useful to have a full stack crawl. You can get that by setting the
RUST_BACKTRACEenvironment variable to 1 before launching your IDE. Then trigger the crash.We may also be able to get some additional information from your log files. Trigger the crash, then reload the extension and create a new conversation. Submit a dummy prompt like "Hi". This will allocate a session (thread) ID that we can use for tracking purposes. Then use the
/feedbackslash command to upload your logs and paste the thread ID here. I can then look at your logs to see if there's a stack crawl. I don't know if the crash will be logged and flushed prior to the process being terminated.me too
same on macos
I am having the same issue on macOS, since the chatGPT 5.2 update
Please see my note above if you'd like to help us find and fix this problem.
This is on Linux. Here's the vscode-server log with rust backtrace set to full for the Codex process when it crashes:
Same, Windows on WSL2.
Ran with RUST_BACKTRACE=1 as @etraut-openai suggested, and was subsequently told by the extension's error message to run with RUST_BACKTRACE=full, which I did.
Got this in the log:
As asked, I started a new discussion and called
/feedback. The feedback thread ID is:019b1f96-87f0-7971-add1-e0a777c2b430.Thanks for posting that. Unfortunately, it's not as useful as I had hoped. The production build of the CLI doesn't include symbols for stack frames. If it were the debug build, we'd see a more useful stack crawl.
Can't you repro on your end? It's a 100% repro here.
No, I'm not able to repro the problem. What steps are you taking to repro the problem? Does it occur as soon as the extension loads? Or does it occur only when loading previous local conversations? Is it only with certain conversations — for example, those created with an older model or older version of the extension?
Repro steps:
I'm trying to reload convos from today, I do not recall changing the model since they were created, but... maybe?
My current setting is 5.2 medium reasoning.
The other setting I might have been using was 5.1-codex-max with medium reasoning as well. I tried to reload with that setting and I still get a crash.
Attempting to reload the simple "Hi!" test convo from earlier works. So I guess it might require a longer convo? 🤷♂️
I'm guessing you're probably trying on a the OpenAI network or VPN? Not sure if trying on an external network might have any effect for you?
It is only triggered when clicking into a previous session. For me it is only one particular session that triggers it, but it is with 100% repro for that one session.
oh! You're right @hatmatter! It's only the one convo that crashes!
@etraut-openai could it help if I shared the session?
Yes, that might help. The problem is that if the crash occurs when you select the session, you won't be able to share it using our
/feedbackmechanism. Here's an idea... if you install the latest codex CLI, can you resume that session (codex resumeand then select the session from the list)? Or does the CLI also crash when selecting that session? If it does crash, that's a valuable clue. If it doesn't crash, you could then use the/feedbackslash command to upload the session.@etraut-openai All right. It loads just fine in the CLI. I did as instructed. Here's the thread ID:
019b1e0a-8f2f-7b13-8de0-413593f6499e.Logging out for the night. will check back in the morning.
same issue, however, while I use
codex resume, it shows empty, I find the session record in~/.codex/sessionswhose path and info as below, it seems contain the thread ID:
@joce, thanks for uploading that. I'm able to repro the problem with that session.
@Melonan,
codex resumefilters based on your current working directory. If you want it to show all sessions, you need to usecodex resume --all.thank you guys for fix this error. I think this is due to version error and I downgraded it, and fixed it. 4.51 is occuring, but 4.5 is stable
I've upload the session : 019b1090-8ad2-7411-9252-7f337abc688b , hope it helps
Thanks for your help in finding the repro. I've identified the underlying cause of the crash. It occurs when restoring a session that contains a tool call that was interrupted (canceled).
Facing same issue...
<img width="450" height="494" alt="Image" src="https://github.com/user-attachments/assets/fafc994f-9e7f-472c-9716-9f7a59d39449" />
Same issue also, it's appear when I set thinking = 'high' with 'codex-max'
Now I cannot do anything with Codex
<img width="383" height="979" alt="Image" src="https://github.com/user-attachments/assets/564e189b-ca0e-480e-9fc4-160740b8ef5e" />
PS: I'm using Codex Extension with Window 11
After other responses, I understand that the RUST_BACKTRACE part doesn't apply anymore.
I've followed the process suggested, but I wasn't able to create a new conversation either. Thus, what I've done is triggering the crash, then reloading and opening another conversation that didn't trigger the crash (created with the previous version after I submitted this issue). The thread id is 019b2168-4a37-7872-9596-a461c31763f4
A fix has been rolled out in 0.5.52 pre-release. We will do a production release (0.4.42) tomorrow. Sorry for the inconvenience here.
@gpeal @etraut-openai No worries and thanks for the very quick turnaround! 😄