Skip to content

[Windows 11] ChatGPT/Codex crashes shortly after startup — 0x80000003 in chrome.dll #50667

Open

Description

@Ati108

What version of the Codex App are you using (From “About Codex” dialog)?

Beta package version: 26.727.4816.0 (OpenAI.CodexBeta). Stable package also installed: 26.930.3930.0 (OpenAI.Codex). Versions obtained using Get-AppxPackage. The attached crash analysis is from the Beta app. Crashes both

What subscription do you have?

Plus

What platform is your computer?

Windows 11 x64, OS build 26300.9457.

What issue are you seeing?

The ChatGPT/Codex (Beta) desktop application closes unexpectedly shortly after startup.

WinDbg analysis of the captured minidump:

  • Process: ChatGPT (Beta).exe
  • Process uptime at crash: 8 seconds
  • Exception code: 0x80000003 (BREAKPOINT)
  • Faulting module: chrome.dll
  • Module version: 150.0.7871.182
  • Exception offset: 0x3874a4d
  • Failure bucket: BREAKPOINT_80000003_chrome.dll!Unknown
  • Failure hash: {be0d4058-7058-b7fb-5291-62cb1f25d882}
  • Crash time: 2026-10-03 13:13:46 CEST (UTC+02:00)

Expected behavior: The application remains open and usable.
Actual behavior: The application exits unexpectedly.

A sanitized WinDbg analysis is attached. The root cause has not been established.

What steps can reproduce the bug?

  1. Launch the ChatGPT/Codex Beta desktop application on Windows 11.
  2. Wait for the application to start.
  3. The application closes unexpectedly shortly after launch.
  4. The captured crash dump records approximately 8 seconds of process uptime and exception 0x80000003 in chrome.dll.

What is the expected behavior?

The application should start successfully, remain open, and allow normal use of ChatGPT and Codex.

Additional information

No response

Activity

  1. added
    app
    on Oct 3, 2026
  2. added
    bug
    windows-os
    on Oct 3, 2026
  3. github-actions commented on Oct 3, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  4. kizzhang commented on Oct 3, 2026

    @kizzhang

    Same crash signature here (0x80000003 in chrome.dll, browser process), on the stable OpenAI.Codex package. Adding data that may help narrow it down — in particular, --no-sandbox does not fix it on this machine, which differs from #49454.

    Environment

    OS Windows 11 Pro 25H2, build 26200.9445
    Package OpenAI.Codex 26.930.3930.0 x64, PFN OpenAI.Codex_2p2nqsd0c76g0
    Package state Status: Ok, SignatureKind: Store, re-registered from AppXManifest.xml with no change
    Binaries ChatGPT.exe, chrome.dll, chrome_elf.dll all 154.0.8037.98
    Subscription Plus

    Crash

    Deterministic, 100% reproducible, ~0.8 s process uptime. Parsed from the Crashpad minidumps in
    %LOCALAPPDATA%\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache\Local\Chromium\User Data\Crashpad\reports:

    ExceptionCode   : 0x80000003 (STATUS_BREAKPOINT)
    Faulting module : chrome.dll 154.0.8037.98
    Offset          : chrome.dll+0x179653C
    ptype           : browser        (sidecar: {"capture_kind":"crash","osarch":"x86_64","ptype":"browser"})
    Modules loaded  : 76
    

    The offset is byte-identical across all 21 dumps on this build — this is a deterministic CHECK/IMMEDIATE_CRASH, not a race.

    On the previous build the crash was also deterministic, at a different offset (4 dumps):

    26.928.3736.0 -> chrome.dll+0x1849A6C   (0x80000003, browser)
    26.930.3930.0 -> chrome.dll+0x179653C   (0x80000003, browser)
    

    It dies before Electron initialises

    Of the 76 modules in the dump, only three are outside C:\Windows:

    ChatGPT.exe       154.0.8037.98
    chrome_elf.dll    154.0.8037.98
    chrome.dll        154.0.8037.98
    

    No V8 / Node / Electron resource modules are mapped yet. That is consistent with the complete absence of
    application-level logging: nothing is written to ~/.codex/logs_2.sqlite, and no codex-desktop-*.log is created.

    Candidate return addresses on the faulting thread's stack

    Scanned the faulting thread's stack memory for qwords inside the chrome.dll image (stack-bottom → stack-top order).
    Unsymbolized, but should resolve against your build of 154.0.8037.98:

    chrome.dll+0x4526439   chrome.dll+0x12CFEC40  chrome.dll+0x12CFED00  chrome.dll+0x115EFBF0
    chrome.dll+0x115F04D8  chrome.dll+0x4525E19   chrome.dll+0x115F0148  chrome.dll+0x12043880
    chrome.dll+0x5722FC0   chrome.dll+0x115F07F0  chrome.dll+0x453F0A7   chrome.dll+0x61DDE67
    chrome.dll+0x115F0BB8  chrome.dll+0x61F771A   chrome.dll+0x61F73CA   chrome.dll+0x3460B70
    chrome.dll+0x12C7F788  chrome.dll+0x61DFB64   chrome.dll+0x12C33FD8  chrome.dll+0x61E03AD
    

    Timeline — it broke on the 26.928.3736.0 auto-update, to the second

    Local time (UTC−7) Event Source
    2026-09-30 04:37:27 26.928.2636.0 installed SCM event 7045
    … app used normally for ~1.5 days ~/.codex/logs_2.sqlite
    2026-10-01 05:39:21 last successful session ends (app_server.client_name="Codex Desktop") logs_2.sqlite
    2026-10-01 05:40:18 26.928.3736.0 installed SCM event 7045
    2026-10-01 05:40:19 first crash dump Crashpad
    2026-10-03 05:26:03 26.930.3930.0 installed SCM event 7045
    2026-10-03 11:17 → 11:49 21 further crashes, identical offset Crashpad

    Last known-good package version: 26.928.2636.0. First known-bad: 26.928.3736.0.

    Does NOT fix it (differs from #49454)

    Flags passed via Invoke-CommandInDesktopPackage and verified to be present on the real process command line
    (Win32_Process.CommandLine sampled while the process was alive):

    Flag Result
    --no-sandbox crashes — unlike #49454, where this reportedly works
    --disable-gpu crashes
    --disable-gpu-sandbox crashes
    --in-process-gpu crashes
    --no-sandbox --disable-gpu crashes

    All five produce exit code 0x80000003 with the same chrome.dll+0x179653C.

    Also ruled out on this machine

    • User data — moved LocalCache\Roaming\Codex and LocalCache\Local\Codex aside and launched with a
      completely fresh profile → identical crash.
    • Package integrity — Add-AppxPackage -Register AppXManifest.xml succeeded; Status: Ok; identical crash.
    • Dependencies — manifest declares no package dependencies; no installed package has Status != Ok.
    • Updater — CODEX_SPARKLE_ENABLED=false (per ChatGPT for Windows crashes when it detects a Microsoft Store update users can’t install — the updater prevents the entire app from launching #33320): identical crash.
    • Stale app-server — an orphaned codex.exe from an older VS Code extension build had been running for two
      days; killed it → identical crash.
    • CodexSandboxService.OpenAI.Codex — crashes identically whether the service is Running or Stopped. (FWIW the
      service itself also dies with WIN32_EXIT_CODE 1067, but the app worked fine on 2026-10-01 while the service was
      already crashing, so it looks unrelated.)
    • Third-party DLL injection — the dump's module list contains no non-Microsoft, non-OpenAI modules. A
      third-party endpoint-DLP agent is installed on this machine, but Microsoft-Windows-CodeIntegrity/Operational
      shows zero blocked loads for ChatGPT.exe over a 3-hour window (it does block that agent's DLLs in
      chrome.exe, which is Chrome's CIG working as intended).
    • WER — no Application-log error and no WER report is generated for these crashes; only Crashpad captures them.

    Notes

    • The in-app updater is not the trigger here, but worth noting: MDM_EnterpriseModernAppManagement_AppManagement01.UpdateScanMethod()
      returns access denied on this machine, so a Store update check from inside the app would fail.
    • The VS Code Codex extension (openai.chatgpt-26.930.31730) runs fine on the same machine against the same
      ~/.codex directory — only the Electron desktop shell crashes.
    • ~/.codex/thread_history_1.sqlite is 1.3 GB here. Probably unrelated given the crash happens before any app
      code runs, but mentioning it in case there is an early mmap/size check.

    Happy to upload any of the 25 .dmp files, or to run a specific instrumented launch if that helps.

  5. Ati108 commented on Oct 3, 2026

    @Ati108
    Author

    Downgrading the stable OpenAI.Codex package from 26.930.3930.0 to 26.930.2377.0 has resolved the startup crash for now.

    My system is Windows 11 x64, build 26300.9457. Both the stable and Beta applications had been crashing shortly after launch. Reinstalling the Microsoft Visual C++ Redistributables did not resolve the issue.

    I installed the older stable MSIX package using:

    Add-AppxPackage -Path "$env:USERPROFILE\Downloads\OpenAI.Codex_26.930.2377.0_x64__2p2nqsd0c76g0.msix" -ForceUpdateFromAnyVersion

    Get-AppxPackage confirms that 26.930.2377.0 is installed. The desktop application now starts successfully and is usable again.

    This is a provisional workaround confirmed on my machine; long-term stability has not yet been established. The result supports investigating a version-related regression, but does not establish the root cause or prove that our crashes share the same cause.

  6. Ati108 commented on Oct 3, 2026

    @Ati108
    Author

    Update: the application now also works after updating again, with a clean .codex directory. Downgrading does not appear to be necessary on my PC.

    I isolated the startup problem to my original local .codex data:

    • With a clean .codex directory, the application starts and is usable.
    • Restoring the original .codex backup causes it to hang during startup.
    • Switching back to the clean directory restores normal startup.
    • Updating the application while retaining the clean directory also works.

    I had uploaded large image files before the problem appeared, when App crashed first time. The specific problematic file, database, or configuration probably causes the problem.

  7. monday90203 commented on Oct 6, 2026

    @monday90203

    I'm seeing a very similar startup crash on the current stable Windows package.

    Environment:

    • Windows 11 x64
    • OS build: 26200.9457
    • Package: OpenAI.Codex_26.930.6422.0_x64
    • RAM: 32 GB

    Behavior:

    • ChatGPT/Codex Desktop opens for approximately 1–2 seconds and then exits.
    • Exit code: -2147483645 (0x80000003 / STATUS_BREAKPOINT)

    In my case, Electron/V8 logging additionally shows immediately before termination:

    OOM error in V8: Zone Allocation failed - process out of memory

    The preceding GC logs contain repeated "allocation failure" messages.

    System memory does not appear to be exhausted:

    • Approximately 16 GB RAM available at the time of the crash
    • Commit approximately 18.2 / 51.4 GB

    I also reproduced the crash after:

    • Resetting/reinstalling the app
    • Using a completely new --user-data-dir
    • Removing/renaming .codex configuration
    • --disable-gpu
    • --disable-gpu-sandbox
    • NODE_OPTIONS=--max-old-space-size=4096
    • Installing Git for Windows and confirming git --version works

    The behavior remains unchanged.

    This may or may not have the same root cause as #50667, but the startup behavior and 0x80000003 exit code appear very similar.

    I can provide the full Electron/V8 startup log if useful.

  8. Ati108 commented on Oct 6, 2026

    @Ati108
    Author

    @monday90203 Just to clarify the order of steps on my PC: I first downgraded the stable OpenAI.Codex package from 26.930.3930.0 to 26.930.2377.0, as described in my earlier comment above. I then used a clean .codex directory and subsequently updated the application again. It continued to work with the clean directory.

    To follow the same procedure, I suggest trying a downgrade to 26.930.2377.0 first, then launching with a clean .codex directory before updating again.

    I cannot confirm whether the downgrade was necessary, or whether it will resolve your crash, but it was part of the sequence that worked on my machine. / Windows 11 x64 (build 26300.9457), Intel Core i7-12700K (3.60 GHz), 64 GB RAM, NVIDIA GeForce RTX 5070 Ti (16 GB VRAM).

  9. jackfeicoder commented on Oct 6, 2026

    @jackfeicoder

    Environment: :
    Windows 11 x64
    RAM: 16 GB
    Verision: 26.930.7945.0
    I encountered a similar situation.The codex crashes a few seconds after starting.

  10. karp55ass commented on Oct 6, 2026

    @karp55ass

    @Ati108 Thank you. Old version helps me

  11. Karatanov commented on Oct 13, 2026

    @Karatanov

    Potential recovery for users seeing startup 0x80000003 in chrome.dll (one user-confirmed case, 2026-10-13): An affected Windows 11 Enterprise build 22631 user with OpenAI.Codex 26.1007.2314.0 reports that complete removal and fresh reinstall of the Codex Windows app fixed the crash. In their case, previous Repair/Reset and reinstall efforts, clean ~/.codex/Chromium profiles, verified Primary Runtime installation, and a --disable-gpu test had failed. The recommended successful-attempt workflow was to remove the app via Get-AppxPackage -Name OpenAI.Codex | Remove-AppxPackage -ErrorAction Stop, restart Windows, then reinstall from the official Microsoft Store; the user confirmed the full-reinstall outcome rather than each individual step separately. Latest analyzed dump before recovery: 0x80000003, chrome.dll +0xB2C2A34. Not a guaranteed fix or established root cause. Further details: #52684.

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

    appbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions