What version of the Codex App are you using (From “About Codex” dialog)?
Latest version (installed from Microsoft Store)
What subscription do you have?
Individual (ChatGPT)
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
Codex crashes immediately on startup with the following error:
An error has occurred
Codex crashed with the following error:
(code=3221225781, signal=null)
Most recent error: None
Environment:
- Windows 10/11
- Codex (latest version from Microsoft Store)
- WSL feature is enabled
- No WSL distributions installed (wsl -l -v shows none)
Steps to reproduce:
- Enable WSL Windows feature (without installing any distro)
- Launch Codex
- Codex crashes immediately
Expected behavior:
Codex should either fall back to native Windows execution (PowerShell) or show a clear error.
Actual behavior:
Codex crashes immediately with no actionable error message.
Additional context:
My codex-global-state.json does not contain any WSL-related settings:
{
"electron-main-window-bounds": {
"x": 744,
"y": 295,
"width": 800,
"height": 600,
"isMaximized": false
}
}
Workaround:
Manually forcing Windows mode fixes the issue:
{
"runCodexInWindowsSubsystemForLinux": false,
"integratedTerminalShell": "powershell"
}
Hypothesis:
Codex detects WSL availability but does not check whether a valid distro is installed, leading to a crash.
What steps can reproduce the bug?
- Enable the Windows Subsystem for Linux (WSL) feature
- Ensure no WSL distributions are installed (
wsl -l -v shows none)
- Start Codex from the desktop or Start menu
- Codex crashes immediately with exit code 3221225781
What is the expected behavior?
No response
Additional information
No response
What version of the Codex App are you using (From “About Codex” dialog)?
Latest version (installed from Microsoft Store)
What subscription do you have?
Individual (ChatGPT)
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
Codex crashes immediately on startup with the following error:
An error has occurred
Codex crashed with the following error:
(code=3221225781, signal=null)
Most recent error: None
Environment:
Steps to reproduce:
Expected behavior:
Codex should either fall back to native Windows execution (PowerShell) or show a clear error.
Actual behavior:
Codex crashes immediately with no actionable error message.
Additional context:
My codex-global-state.json does not contain any WSL-related settings:
{
"electron-main-window-bounds": {
"x": 744,
"y": 295,
"width": 800,
"height": 600,
"isMaximized": false
}
}
Workaround:
Manually forcing Windows mode fixes the issue:
{
"runCodexInWindowsSubsystemForLinux": false,
"integratedTerminalShell": "powershell"
}
Hypothesis:
Codex detects WSL availability but does not check whether a valid distro is installed, leading to a crash.
What steps can reproduce the bug?
wsl -l -vshows none)What is the expected behavior?
No response
Additional information
No response