openai / openai/codex

Codex stops working in WSL after update; WSL repeatedly restarts

Open
#44,612 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug windows-os
Dominant language
Rust
Stars
125k
Forks
19.5k
PR merge metrics
PR metrics pending

Description

What issue are you seeing?

After updating Codex, it stopped working in WSL. WSL itself is also restarting repeatedly. The problem is ongoing and has not been resolved.

This report is submitted at the affected user's explicit request. The symptoms and timing above are user-reported; a causal link between Codex and the WSL restarts has not yet been established.

What steps can reproduce the bug?

Reported sequence:

  1. Update Codex in an existing Windows/WSL setup.
  2. Attempt to continue using Codex with WSL.
  3. Codex no longer works as before, and WSL repeatedly restarts.

The exact update source, previous version, affected Codex surface (desktop app, extension, or CLI), and precise restart trigger have not yet been established. No controlled reproduction was attempted.

What is the expected behavior?

Codex should remain usable with WSL after an update, and the WSL environment should remain stable without repeated restarts.

Additional information

Read-only checks in the affected environment returned:

  • Installed CLI: codex-cli 0.153.2.
  • Kernel: Linux 6.18.33.2-microsoft-standard-WSL2.
  • codex --version currently succeeds; this does not validate normal operation or WSL stability, and the CLI version may differ from the updated component's version.

No crash logs or exact error messages are attached yet. Please investigate the reported post-update regression and advise which targeted diagnostics would help identify the repeated WSL restarts.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by identifying the exact update source, affected Codex surface, and precise WSL restart trigger. Compare the installed codex-cli 0.153.2 and Linux 6.18.33.2-microsoft-standard-WSL2 details, then collect the missing crash logs and error messages. Done means establishing a reproducible regression or narrowing the cause with targeted diagnostics.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, rust
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.