codex - 💡(How to fix) Fix Windows desktop app crashes on launch with code=3221225477 [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#19258Fetched 2026-04-24 10:39:56
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×4commented ×1

Error Message

  • Error shown:
  • sometimes Most recent error: None
  • previously also saw Most recent error: write EPIPE
RAW_BUFFERClick to expand / collapse

Environment:

  • Windows desktop app downloaded from the official Codex Windows download page

  • Also reproduced with Microsoft Store version

  • Windows account: local Administrator

  • WSL is installed but no Linux distro is configured for use

  • Tried both native sandbox modes:

    • [windows] sandbox = "elevated"
    • [windows] sandbox = "unelevated"

Observed behavior:

  • App crashes immediately on launch before usable UI appears

  • Error shown:

    • code=3221225477
    • sometimes Most recent error: None
    • previously also saw Most recent error: write EPIPE

Additional evidence:

  • C:\Users\Administrator\.codex is created
  • files like logs_2.sqlite and state_5.sqlite exist
  • no .sandbox directory is created, so there is no sandbox.log

Reproduction:

  1. Install Codex Windows desktop app from official website or Microsoft Store
  2. Launch app
  3. Crash happens immediately

extent analysis

TL;DR

The issue may be related to the sandbox mode configuration, and trying a different sandbox setting or checking the app's compatibility with the current Windows environment could help resolve the crash.

Guidance

  • Verify that the Windows account has the necessary permissions and privileges to run the app, as the issue occurs with a local Administrator account.
  • Check the app's documentation or support resources for any known issues with WSL installation, even if no Linux distro is configured.
  • Try launching the app with a different sandbox mode setting, such as disabling sandboxing temporarily, to see if it makes a difference.
  • Investigate the logs_2.sqlite and state_5.sqlite files in the C:\Users\Administrator\.codex directory for any error messages or clues that could help diagnose the issue.

Notes

The lack of a .sandbox directory and sandbox.log file suggests that the app may not be configuring the sandbox environment correctly, which could be contributing to the crash.

Recommendation

Apply workaround: Try disabling sandboxing or switching to a different sandbox mode to see if it resolves the issue, as the current configuration may be causing the app to crash.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Windows desktop app crashes on launch with code=3221225477 [1 comments, 2 participants]