Codex App 26.715.3651.0 crashes immediately on startup with exit code 0xC0000005 on Windows 10

Open
#33,981 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust

Research direction

Start by reproducing the crash on Windows 10 Pro 22H2 using the Start-menu entry or the provided explorer.exe shell:AppsFolder command, then monitor ChatGPT.exe termination and the 0xC0000005 exit. No source files or tests are named; done means the Codex App launches and remains open without the reported access violation.

Written by the indexing model from the issue text.

Description

app bug windows-os
What version of the Codex App are you using (From “About Codex” dialog)?

26.715.3651.0

What subscription do you have?

plus

What platform is your computer?

Windows 10 Pro 22H2, build 19045.6093, x64

What issue are you seeing?

Codex App crashes immediately after launch.

Current Codex App version:
26.715.3651.0

Operating system:
Windows 10 Pro 22H2, build 19045.6093, x64

The AppX process and container are created successfully, but the application closes a few seconds later.

I monitored the process exit status using Win32_ProcessStopTrace. One ChatGPT.exe process exits with:

Exit code: 0xC0000005 (Access Violation)

The remaining ChatGPT.exe and codex.exe child processes then exit normally with code 0x00000000.

There is no Application Error event ID 1000 and no new Windows Error Reporting report for this version.

I also tested with:

  • A complete uninstall and reinstall from Microsoft Store
  • A fresh CODEX_HOME
  • The previous codex-home directory renamed and not restored
  • CODEX_DISABLE_SANDBOX=1
  • Reinstalled Microsoft Visual C++ Redistributable x64 and x86
  • Verified Microsoft Edge WebView2 Runtime is installed
  • Verified the bundled node.exe runs successfully

The issue still occurs.

The previous Codex App version 26.707.9981.0 also crashed, but with exception code 0xC06D007F. After updating to 26.715.3651.0, the failure changed to 0xC0000005.

What steps can reproduce the bug?
  1. Install Codex App version 26.715.3651.0 from Microsoft Store on Windows 10 Pro 22H2.
  2. Launch the Codex App from the Start menu or with:
    explorer.exe "shell:AppsFolder\OpenAI.Codex_2p2nqsd0c76g0!App"
  3. Wait several seconds.
  4. The application window closes automatically.
  5. Monitor ChatGPT.exe process termination. One process exits with code 0xC0000005.
What is the expected behavior?

The Codex App should launch successfully and remain open.

Image
Additional information

No response

Dominant language
Rust
Stars
125k
Forks
19.5k
Avg merge
1m
Merged PRs (30d)
1k

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.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.