Skip to content

Windows desktop 26.1007.2314.0 crashes at startup: codex.exe c0000005 #52822

Open

Description

@brito4848

The ChatGPT Windows desktop app fails to start with “Codex app-server websocket closed (code=3221225477).”

  • App version: 26.1007.2314.0
  • OS version reported by Reliability Monitor: 10.0.26300.2.0.0.256.48
  • Crashing process: codex.exe
  • Exception: c0000005
  • Faulting module: ntdll.dll 10.0.26100.9549
  • Exception offset: 000000000001ff9f
    Updating, Windows Repair, multiple reinstalls and restarts haven’t resolved it. The in-app update check also reported net::ERR_BLOCKED_BY_CLIENT.
    Please advise which specific startup diagnostics would help. I haven’t attached session transcripts because they may contain private conversations.
    This is a documented reporting route, but it doesn’t guarantee a response or a fix.

Activity

  1. added
    bug
    app
    windows-os
    app-server
    on Oct 10, 2026
  2. yuchenzhao0301-lab commented on Oct 13, 2026

    @yuchenzhao0301-lab

    I can reproduce this on the Windows desktop app, including when launching the app-server independently of the UI.

    Environment

    • Windows 11, build 26200 (as reported in the desktop logs)
    • MSIX package: OpenAI.Codex 26.1007.2314.0 (Start menu display name: ChatGPT)
    • App-server: 0.162.0-alpha.17.2
    • Crash exit code: 3221225477 / -1073741819 / 0xC0000005

    Symptoms

    • Startup fails with Codex app-server websocket closed (code=3221225477).
    • At times, the app displays "Organization settings could not be loaded"; clicking Retry causes the UI to flash repeatedly between "ChatGPT hit a snag" and the sign-in screen.
    • The same account works normally at chatgpt.com in a browser.

    Reproduction and logs

    • Windows Repair, uninstall/reinstall, and restarting did not resolve the problem.
    • The desktop logs show that the app-server is spawned successfully, completes its initialization handshake, and then exits with 0xC0000005 roughly 200 ms later, causing repeated reconnect/restart attempts:
    initialize_handshake_result outcome=success
    Codex CLI initialized
    app_server_connection.closed code=3221225477
    Codex CLI process exited classifiedAsExpected=false
    
    • The last recorded app-server warning before some crashes was could not register desktop uninstall ownership; this is a warning, not proven to be the cause.
    • Logs also contain Workspace routing is unavailable (HTTP 432), but its relationship to the access violation is unknown.
    • Running the actual app-server executable directly from PowerShell with a fresh temporary CODEX_HOME also exited with -1073741819, so this is reproducible outside the desktop UI and is not clearly limited to the existing user configuration.

    I also checked #52836, which documents a similar organization-settings dialog caused by a SQLite backfill timeout. However, in my case the process exits with 0xC0000005 shortly after successful initialization; I have not established that the database backfill workaround applies.

    Could the maintainers investigate this access violation or advise which targeted diagnostics would identify the faulting module? I can provide sanitized logs if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appapp-serverbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions