Skip to content

Windows desktop crash in windows-updater.node +0x1A789 — 26.1002.7124.0 #52029

Open

Description

@dhammasubho072

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

Windows package version: 26.1002.7124.0. Unable to check “About Codex” because the app crashes shortly after opening.

What subscription do you have?

Pro

What platform is your computer?

Microsoft Windows NT 10.0.22631.0 x64

What issue are you seeing?

The Codex Windows app displays its window/chat, then closes unexpectedly.

Parsing two crash dumps shows:

  • Executable: ChatGPT.exe inside the OpenAI.Codex package
  • Exception code: 0xC0000005
  • Access type: read
  • Invalid address: 0x0
  • Faulting module: app\resources\native\windows-updater.node
  • Module offset: 0x1A789

Both dumps show the same exception and module offset, including after restarting Windows. A symbolized call stack is not yet available.

What steps can reproduce the bug?

  1. Launch Codex on Windows.
  2. Wait for the window/chat to appear.
  3. The app closes unexpectedly shortly afterward.

Switching to a new chat does not prevent the crash.

Unable to submit feedback through "/" or obtain a feedback session ID because the app does not stay open.

What is the expected behavior?

The app should remain open and allow normal use.

Additional information

Package version: 26.1002.7124.0

Already tried without resolving the crash:

  • Repair through Windows Settings
  • Re-registering the installed Appx package
  • Restarting Windows

Microsoft Store offers no update.

Desktop logs also contain a Roblox MCP startup failure, but its relationship to the crash is unknown.

Crash dumps and desktop logs are available. Please provide a private upload channel, as they may contain sensitive data.

Activity

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

    @github-actions
    Contributor
  4. StephenDragone commented on Oct 8, 2026

    @StephenDragone

    I’m seeing the same crash on Windows with the same package version and faulting module/offset.

    Environment

    • OpenAI Codex package: 26.1002.7124.0
    • About Codex build shown in the app: 26.1002.52244
    • Windows x64
    • Installed from the Microsoft Store

    Reproduction

    1. Launch Codex normally.
    2. Leave the app idle.
    3. After about 40 seconds, the Codex window closes and the Codex process tree exits.

    This is highly repeatable.

    Troubleshooting already performed

    • Windows Settings → Codex → Repair
    • Restarted Windows
    • Verified installed AppX package with PowerShell:
      OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g0
    • Checked Event Viewer and Reliability Monitor; there is no normal Codex Application Error at the time of the exit.
    • Enabled WER LocalDumps for both ChatGPT.exe and Codex.exe; no WER dump is produced when the app closes.
    • Codex Crashpad does produce a dump under:
      %LOCALAPPDATA%\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache\Roaming\Codex\web\Codex\Crashpad\reports

    Crashpad dump result

    Newest dump:
    15c8f5e9-a1e1-47c5-ac1e-d2da788bdc4b.dmp

    Analysis shows:

    • Host process: ChatGPT.exe
    • Exception: 0xC0000005 (access violation)
    • Faulting module: windows-updater.node
    • Module offset: 0x1A789

    Faulting module path is inside the installed Codex package:
    ...\OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g0\app\resources\native\windows-updater.node

    There was also a CodexSandboxService Event ID 1003 mentioning:
    unable to restore package uninstall listener: open the logged-in user's token ... (os error 2)
    but the Crashpad dump points directly to windows-updater.node, so the updater crash appears to be the relevant failure.

    I have the Crashpad .dmp available if maintainers want it through a private/safe upload channel.

  5. imadbougataya commented on Oct 8, 2026

    @imadbougataya

    Same crash here, and I think I found what triggers it: the primary runtime MSIX framework install, not the Store/Sparkle update check.

    Environment

    • ChatGPT/Codex desktop OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g0 (Store build, prod flavor)
    • Windows 11 Pro 23H2, build 10.0.22631, x64

    Crash

    • 0xC0000005 (read of address 0x0) at app\resources\native\windows-updater.node+0x1A789, in the main (browser) process
    • Reproduced 3/3 times with ProcDump (-e -ma), 40 s – 2 min after launch
    • Stack (heuristic scan) goes through AppXDeploymentClient.dll+0x347A0 / +0x34030 → windows-updater.node+0x1BD74 / +0x24E41 / +0x2A7EE
    • No WER/Application Error event; Crashpad writes capture_kind=crash, ptype=browser

    What happens right before every crash (main process log, every session today):

    primary_runtime_selection frameworkEligible=true frameworkEnabled=true osRelease=10.0.22631 reason=awaiting-framework runtimeSource=archive
    primary_runtime_install_started trigger=scheduled_update release=latest target=win32-x64
    primary_runtime_bundle_install_started bundleVersion=26.1007.11041
    Primary runtime download source ... runtimeArchiveUrl=.../codex-primary-runtime/26.1007.11041/OpenAI.CodexPrimaryRuntime.v26-1007-641-0_x64.msix

    → crash shortly after. In one session the bundle install reported outcome=installed (archive), then a new install_started began immediately and crashed ~1.5 min later.

    AppXDeploymentServer/Operational has no event at all for OpenAI.CodexPrimaryRuntime, and Get-AppxPackage doesn't list it. So it looks like the crash happens client-side in the native addon (stage/install of the framework package via Windows.Management.Deployment), before any deployment request reaches the server, likely an unchecked null result.

    Ruled out

    • CODEX_SPARKLE_ENABLED=false: log shows enableSparkle=false enableUpdater=false, still crashes at the same offset
    • Fresh app data (package LocalCache moved away): still crashes
    • Uninstalling the side-by-side OpenAI.CodexBeta package: still crashes
    • All 216 Appx packages are Status=Ok, nothing staged/partially staged; no third-party DLLs on the faulting stack

    Suggestion
    The framework path seems gated by a remote feature flag (frameworkEnabled) plus build ≥ 22621. Rolling that flag back for affected users, or catching the null in installPrimaryRuntimePackage/stagePackage and falling back to the archive runtime, would likely unblock everyone in this thread. I can share dumps privately if useful.

  6. Mominejaz commented on Oct 8, 2026

    @Mominejaz

    Independent reproduction with the same build, exception, module, and offset. A full AppX data reset does not resolve it.

    Environment

    • Stable package: OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g0
    • Windows: 10.0.22631, x64
    • Package status: Ok; AppX registration/repair completed successfully
    • Side-by-side beta 26.727.4816.0 continues to run normally

    Crash evidence

    Before reset, Crashpad recorded 24 browser-process crashes in roughly 2.5 hours. Parsed dumps consistently showed:

    • Exception: 0xC0000005 (read from 0x0)
    • Process type: browser
    • Faulting module: app\resources\native\windows-updater.node
    • Module offset: 0x1A789

    Fresh-reset test

    1. Fully closed stable Codex.
    2. Backed up and byte/count-verified the package data.
    3. Ran Get-AppxPackage -Name OpenAI.Codex | Reset-AppxPackage.
    4. Confirmed %LOCALAPPDATA%\Packages\OpenAI.Codex_2p2nqsd0c76g0 was removed.
    5. Launched stable Codex, allowing it to recreate a completely fresh package-data directory.
    6. The app crashed again about one minute later.

    The new post-reset dump again shows 0xC0000005 in windows-updater.node+0x1A789, ruling out corruption in the app profile/package data.

    Immediately before that post-reset crash, the main-process log shows:

    windows_primary_runtime_framework_activation_skipped architecture=x64 reason=no-persisted-package
    primary_runtime_selection architecture=x64 frameworkEligible=true frameworkEnabled=true osRelease=10.0.22631 reason=awaiting-framework runtimeSource=archive
    primary_runtime_install_started release=latest target=win32-x64 trigger=startup_missing
    primary_runtime_bundle_install_started release=latest target=win32-x64 trigger=startup_missing
    Primary runtime download source bundleVersion=26.1007.11041 runtimeArchiveUrl=.../OpenAI.CodexPrimaryRuntime.v26-1007-641-0_x64.msix
    

    This corroborates the primary-runtime MSIX/framework-install trigger described above. Crash dump and sanitized logs are retained locally and can be supplied through a private upload channel if useful.

  7. stra699 commented on Oct 8, 2026

    @stra699

    I can confirm I'm experiencing the exact same issue

    ChatGPT desktop version: 26.1002.52244 (7 October 2026)

    Windows build: 22631.6199
    Crash analysis using WinDbg:
    Process: ChatGPT.exe
    Faulting module: windows-updater.node
    Exception: 0xC0000005
    Offset: 0x1A789
    Failure bucket: INVALID_POINTER_READ_c0000005_windows-updater.node!Unknown
    Failure hash: {7b9794d0-f3f3-7479-ed02-c55445dc3401}

    I analysed two separate crash dumps, both confirming the exact same fault.
    I also tried disabling the updater using CODEX_SPARKLE_ENABLED=false. Interestingly, the application then worked for approximately one hour before crashing again. After that, it returned to closing within 20–30 seconds.
    The newer stable application crashes, but the older ChatGPT Beta version 26.727.40816 works without issues.

    Is there any update from the development team regarding a fix or a permanent workaround?

  8. WaD45 commented on Oct 8, 2026

    @WaD45

    ChatGPT Windows 26.1002.7124.0 — Reproducible crash in windows-updater.node

    Environment

    • Windows 11 x64, build 22621.4317
    • ChatGPT desktop package: OpenAI.Codex 26.1002.7124.0
    • Process: ChatGPT.exe

    Reproduction

    1. Launch the ChatGPT desktop application.
    2. Open a new Codex conversation.
    3. Send a simple text prompt.
    4. Send a second text prompt.
    5. The application unexpectedly terminates.

    No external tools, scripts, GPU workloads or Blender processes are required.

    WinDbg findings

    • Exception: 0xC0000005
    • Module: windows-updater.node
    • Failure bucket: INVALID_POINTER_READ_c0000005_windows-updater.node!Unknown
    • Fault offset: 0x1A789
    • Faulting instruction: mov rax, qword ptr [rcx]
    • RCX: 0x0000000000000000
    • Process uptime: 48 seconds

    Troubleshooting already performed

    • Windows application repair: unsuccessful.
    • Multiple crashes reproduced.
    • Crashpad dumps generated consistently.

    Expected behavior
    The application should remain operational when sending consecutive text prompts.

    Actual behavior
    The process terminates due to a null pointer read inside the native Windows updater module.

    Please investigate the updater initialization/lifecycle and provide a corrected Windows build or supported workaround.

  9. WaD45 commented on Oct 8, 2026

    @WaD45

    ChatGPT Windows 26.1002.7124.0 — Reproducible crash in windows-updater.node

    Environment

    • Windows 11 x64, build 22621.4317
    • ChatGPT desktop package: OpenAI.Codex 26.1002.7124.0
    • Process: ChatGPT.exe

    Reproduction

    1. Launch the ChatGPT desktop application.
    2. Open a new Codex conversation.
    3. Send a simple text prompt.
    4. Send a second text prompt.
    5. The application unexpectedly terminates.

    No external tools, scripts, GPU workloads or Blender processes are required.

    WinDbg findings

    • Exception: 0xC0000005
    • Module: windows-updater.node
    • Failure bucket: INVALID_POINTER_READ_c0000005_windows-updater.node!Unknown
    • Fault offset: 0x1A789
    • Faulting instruction: mov rax, qword ptr [rcx]
    • RCX: 0x0000000000000000
    • Process uptime: 48 seconds

    Troubleshooting already performed

    • Windows application repair: unsuccessful.
    • Multiple crashes reproduced.
    • Crashpad dumps generated consistently.

    Expected behavior The application should remain operational when sending consecutive text prompts.

    Actual behavior The process terminates due to a null pointer read inside the native Windows updater module.

    Please investigate the updater initialization/lifecycle and provide a corrected Windows build or supported workaround.

  10. WaD45 commented on Oct 8, 2026

    @WaD45

    Additional diagnostic evidence:

    I reproduced the ChatGPT Windows desktop crash three consecutive times while monitoring the process externally with PowerShell.

    Measured time until process termination:

    • Test 1: 34 seconds
    • Test 2: 36 seconds
    • Test 3: 34 seconds

    The application also crashes while completely idle, without sending any messages.

    A previous WinDbg analysis identified:

    • Application version: 26.1002.7124.0
    • Faulting module: windows-updater.node
    • Exception: 0xC0000005
    • Failure bucket: INVALID_POINTER_READ_c0000005_windows-updater.node!Unknown
    • Fault offset: 0x1A789

    This strongly suggests a reproducible, time-dependent crash involving the native Windows updater component.

    An in-app bug report is difficult because the application terminates automatically after approximately 35 seconds.

    Please escalate this to the Windows desktop engineering team and advise whether a corrected build or supported workaround is available.

  11. EdhuMS commented on Oct 9, 2026

    @EdhuMS

    Potential workaround — manually installing OpenAI.CodexPrimaryRuntime (tested on Windows 11)

    Hi everyone! I experienced the same crash with ChatGPT/Codex Desktop for Windows and wanted to share a workaround that appears to have resolved it on my machine.

    My environment:

    • Windows 11
    • ChatGPT/Codex Desktop: 26.1002.7124.0
    • Crash module: windows-updater.node
    • Exception: 0xC0000005
    • Module offset: 0x1A789
    • Crashpad: main/browser process crash

    The application would close unexpectedly after a few minutes, even during normal chat sessions.

    Windows Repair, restarting, and re-registering the Appx package did not solve the issue.

    What worked for me:

    I discovered that the application had repeatedly downloaded OpenAI.CodexPrimaryRuntime.v26-1007-641-0.msix, but the runtime was not registered in Windows.

    I performed the following steps:

    1. Check whether the runtime is installed:

    Get-AppxPackage -Name '*CodexPrimaryRuntime*'

    2. Locate the downloaded MSIX package:

    $base = Join-Path $env:LOCALAPPDATA 'Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache'
    
    Get-ChildItem -Path $base -Recurse -Filter 'OpenAI.CodexPrimaryRuntime*.msix' -File

    3. Verify the package signature before installing:

    Get-AuthenticodeSignature -LiteralPath 'FULL_PATH_TO_MSIX'

    In my case, the signature status was Valid, and the signer was OpenAI OpCo, LLC.

    4. Close ChatGPT and install the verified package:

    Add-AppxPackage -Path 'FULL_PATH_TO_MSIX'

    5. Confirm installation:

    Get-AppxPackage -Name '*CodexPrimaryRuntime*' |
        Select-Object Name, Version, Status

    After installation, Windows reported:

    • Runtime version: 26.1007.641.0
    • Status: Ok

    The stable ChatGPT application then ran without the previously recurring crashes during my subsequent testing.

    Important precautions:

    • Back up your local Codex/Work projects first.
    • Do not uninstall or reset ChatGPT if you have unsynchronized local work.
    • Install only packages downloaded through the legitimate application and verified with a valid trusted signature.
    • Do not disable Windows package-signing checks.
    • This is a community workaround, not an official OpenAI fix.
    • It may not resolve crashes caused by different modules or versions.

    I hope this helps anyone experiencing similar crashes. If it works for you, please share your Windows version, application version, and result so we can help confirm whether the workaround is reproducible.

    I also encourage the OpenAI engineering team to investigate the automatic installation of CodexPrimaryRuntime, as the updater crash appears to interrupt the entire desktop application.

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