You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows desktop crash in windows-updater.node +0x1A789 — 26.1002.7124.0 #52029
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.
→ 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.
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.
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?
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.
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.
Activity
github-actions commentedon Oct 8, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
StephenDragone commentedon Oct 8, 2026
I’m seeing the same crash on Windows with the same package version and faulting module/offset.
Environment
26.1002.7124.026.1002.52244Reproduction
This is highly repeatable.
Troubleshooting already performed
OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g0ChatGPT.exeandCodex.exe; no WER dump is produced when the app closes.%LOCALAPPDATA%\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache\Roaming\Codex\web\Codex\Crashpad\reportsCrashpad dump result
Newest dump:
15c8f5e9-a1e1-47c5-ac1e-d2da788bdc4b.dmpAnalysis shows:
ChatGPT.exe0xC0000005(access violation)windows-updater.node0x1A789Faulting module path is inside the installed Codex package:
...\OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g0\app\resources\native\windows-updater.nodeThere 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.
imadbougataya commentedon Oct 8, 2026
Same crash here, and I think I found what triggers it: the primary runtime MSIX framework install, not the Store/Sparkle update check.
Environment
OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g0(Store build, prod flavor)Crash
0xC0000005(read of address0x0) atapp\resources\native\windows-updater.node+0x1A789, in the main (browser) process-e -ma), 40 s – 2 min after launchAppXDeploymentClient.dll+0x347A0/+0x34030→windows-updater.node+0x1BD74/+0x24E41/+0x2A7EEcapture_kind=crash, ptype=browserWhat 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 newinstall_startedbegan immediately and crashed ~1.5 min later.AppXDeploymentServer/Operationalhas no event at all forOpenAI.CodexPrimaryRuntime, andGet-AppxPackagedoesn't list it. So it looks like the crash happens client-side in the native addon (stage/install of the framework package viaWindows.Management.Deployment), before any deployment request reaches the server, likely an unchecked null result.Ruled out
CODEX_SPARKLE_ENABLED=false: log showsenableSparkle=false enableUpdater=false, still crashes at the same offsetLocalCachemoved away): still crashesOpenAI.CodexBetapackage: still crashesStatus=Ok, nothing staged/partially staged; no third-party DLLs on the faulting stackSuggestion
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 ininstallPrimaryRuntimePackage/stagePackageand falling back to the archive runtime, would likely unblock everyone in this thread. I can share dumps privately if useful.Mominejaz commentedon Oct 8, 2026
Independent reproduction with the same build, exception, module, and offset. A full AppX data reset does not resolve it.
Environment
OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g010.0.22631, x64Ok; AppX registration/repair completed successfully26.727.4816.0continues to run normallyCrash evidence
Before reset, Crashpad recorded 24 browser-process crashes in roughly 2.5 hours. Parsed dumps consistently showed:
0xC0000005(read from0x0)browserapp\resources\native\windows-updater.node0x1A789Fresh-reset test
Get-AppxPackage -Name OpenAI.Codex | Reset-AppxPackage.%LOCALAPPDATA%\Packages\OpenAI.Codex_2p2nqsd0c76g0was removed.The new post-reset dump again shows
0xC0000005inwindows-updater.node+0x1A789, ruling out corruption in the app profile/package data.Immediately before that post-reset crash, the main-process log shows:
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.
stra699 commentedon Oct 8, 2026
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?
WaD45 commentedon Oct 8, 2026
ChatGPT Windows 26.1002.7124.0 — Reproducible crash in windows-updater.node
Environment
Reproduction
No external tools, scripts, GPU workloads or Blender processes are required.
WinDbg findings
0xC0000005windows-updater.nodeINVALID_POINTER_READ_c0000005_windows-updater.node!Unknown0x1A789mov rax, qword ptr [rcx]0x0000000000000000Troubleshooting already performed
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.
WaD45 commentedon Oct 8, 2026
WaD45 commentedon Oct 8, 2026
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:
The application also crashes while completely idle, without sending any messages.
A previous WinDbg analysis identified:
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.
EdhuMS commentedon Oct 9, 2026
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:
26.1002.7124.0windows-updater.node0xC00000050x1A789The 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:
2. Locate the downloaded MSIX package:
3. Verify the package signature before installing:
In my case, the signature status was
Valid, and the signer wasOpenAI OpCo, LLC.4. Close ChatGPT and install the verified package:
5. Confirm installation:
After installation, Windows reported:
26.1007.641.0OkThe stable ChatGPT application then ran without the previously recurring crashes during my subsequent testing.
Important precautions:
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.