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
ChatGPT for Windows crashes in windows-updater.node (0xc0000005) #51824
ChatGPT for Windows crash report
Date: 2026-10-08 (Asia/Shanghai)
Installed package: OpenAI.Codex 26.1002.7124.0 (x64, Store-signed)
Symptom: ChatGPT.exe opens, then closes without an on-screen error after about 30–60 seconds.
Crash evidence:
Crashpad identifies the crashing process as the browser/main process.
Repeated minidumps at approximately 04:33, 04:39, and 04:42 show exception 0xC0000005 (access violation).
In each dump, the exception address resolves to app/resources/native/windows-updater.node at offset 0x1A789.
Earlier Windows Application log included an Application Hang event for ChatGPT.exe.
App logs also show durable WebSocket connection failures (ECONNRESET), but the dumps do not establish that these cause the native crash.
Troubleshooting already tried:
Windows app Repair.
Microsoft Store reports the app is current.
Global proxy mode and another proxy route.
A temporary managed setting disabling in-app updates; the app log confirmed it was disabled, yet the same native crash recurred. The setting was removed after the test.
The app's local package-data directory was regenerated earlier the same day; the crash persists with the new directory.
Please investigate the repeatable access violation in windows-updater.node. I can provide the corresponding Crashpad minidump privately if needed; it may contain sensitive process data.
Captured native exception
A 22,020,096-byte minidump from the 11:08:14 main-process crash was retained locally. All 12 stream-directory ranges were within the retained file.
Exception: 0xc0000005.
Exception parameters: 0, 0, indicating a read from address zero.
Faulting module: windows-updater.node.
Module-relative instruction offset: 0x1a789, matching the original report.
The user also observed crashes while idle. Other Crashpad sidecars identify browser/main-process crashes at 10:51:15, 11:22:22 and 11:28:33. Their exact exception locations were not captured in this diagnostic session.
Disabling updates does not prevent the addon from loading
The installed code recognizes CODEX_SPARKLE_ENABLED=false. After setting it and restarting, startup logs explicitly showed enableUpdater=false, but the 11:22:22 and 11:28:33 crashes still occurred.
Inspection of the installed code identified a separate startup path that loads resources/native/windows-updater.node and calls deployment.registerRestart(``). Its guards check Windows and packaged-app status, independently of the updater-enabled flag. A live-process module inspection confirmed that the addon remained loaded with enableUpdater=false.
This suggests that the restart/deployment lifecycle integration also needs investigation. The later crashes are not proven to have the same fault location merely because the addon was still loaded.
Temporary diagnostic isolation
A same-version local copy excluding only windows-updater.node was tested; the original Store installation and chat data were retained. The copy logged the handled MODULE_NOT_FOUND condition, continued startup, and successfully resumed an existing chat. Live module inspection confirmed the addon was absent. It remained responsive during the short observation period. This is diagnostic evidence, not a verified permanent or supported fix.
Two missing rollout-source history errors were separately recovered from intact local history data; native crashes continued afterward.
No raw chats, usernames, local user paths, application logs, or process-memory attachments are included in this comment. The captured minidump remains local because it may contain sensitive process data.
Additional independent reproduction on another Windows machine on 2026-10-08, Asia/Shanghai (UTC+8). We reproduced the same null-pointer read and module offset both before and after moving the Store app from C: to D:.
Environment
Windows 11 x64; Windows Error Reporting records OS build 22631.
The second exception was observed as both first-chance and unhandled second-chance by a time-limited debugger. A 7,617,477-byte WER minidump was retained locally. Its exception stream independently records 0xC0000005 with exception parameters 0, 0, confirming a read from address zero. The Windows event independently identifies the D: copy of windows-updater.node and offset 0x1A789.
Repair and move observations
The app ran without another observed crash from 11:14:32 to 11:28:55. The user subsequently used Windows app Repair, moved the app through Windows Settings at approximately 11:34, and rebooted; the Windows Event Log service started at 11:44:20. Crashes then recurred.
The move actually completed: the C: package directory became a junction to the D: package directory, and both application stack traces and the faulting native-module path resolved to D:. Get-AppxPackage still displayed the C: junction as InstallLocation, so that field alone would misleadingly suggest the app had not moved.
After the move, all 29 SHA-256 file blocks of windows-updater.node matched its AppxBlockMap.xml entries, with zero mismatches; package status was Ok. This gives no evidence of addon file corruption during the move. Since the identical crash signature also occurred on C: beforehand, the sequence does not establish that moving the app caused the underlying fault, or that Repair had permanently resolved it.
Separate Crashpad sidecars identified browser/main-process crashes at 11:48:54, 11:54:02, 11:55:45 and 11:59:23. Their exact exception locations were not captured and are not asserted to match the two confirmed native exceptions above. Crashes had already occurred before the diagnostic debugger was attached.
Connection failures also appeared in the desktop logs, but their causal relationship to the native exception remains unproven.
Please investigate the repeatable windows-updater.node + 0x1A789 null-pointer read, including the restart/deployment registration path described in the earlier comment, and provide a supported mitigation or a corrected desktop build. Repair and changing installation drives did not provide a durable resolution in our case.
No raw chat contents, credentials, local user/workspace paths, raw application logs or memory attachments are included here. The WER minidump remains local and can be provided through a private support channel if requested.
Additional independent reproduction: Store auto-update, 14/14 runtime-install/crash correlation, and native async-status failure
I can reproduce this on another Windows 11 x64 machine on 2026-10-08 (UTC+8). This investigation adds a specific update timeline and per-session AppX event correlation to the existing reports.
Version and onset
Microsoft Store package: OpenAI.Codex 26.1002.7124.0 (x64; AppX status Ok).
An independently installed Codex CLI (0.149.0) continues to work. The Store-signed Beta is also usable, whereas Stable is not.
Per-session correlation (desktop Stable, same day)
17 startup sessions were correlated across desktop logs, Crashpad sidecars, Windows AppxPackaging and AppModel events.
14/14 crashing sessions logged primary_runtime_install_started (exactly two occurrences in each); each produced a capture_kind=crash / ptype=browser Crashpad sidecar.
The other 3 sessions, which had no primary_runtime_install_started, had no crash sidecar.
14 AppxPackaging Event ID 170 records identify the same OpenAI.CodexPrimaryRuntime.v26-1007-641-0 package. Each stream-reader event preceded its corresponding Crashpad sidecar by approximately 479–547 ms, followed by an AppModel container termination event (ID 217).
no-persisted-package by itself is not sufficient to predict the crash: it also occurred in one non-crashing session.
Native crash evidence and likely failure phase
A retained main-process dump confirms 0xC0000005, read from 0x0, at windows-updater.node + 0x1A789. At the fault: RCX=0 and bytes 48 8B 01 decode to mov rax, qword ptr [rcx]. A second dump examined earlier showed the same signature.
Analysis of the installed native addon and Windows deployment interfaces points to IPackageManager9 / PackageManager.AddPackageByUriAsync for OpenAI.CodexPrimaryRuntime.v26-1007-641-0_x64.msix, followed by an IAsyncInfo::get_Status query in which the interface/object pointer is null. The observed null dereference is in the app's native addon; the evidence does not establish whether Windows returned a null object or how that state arose.
We found no corresponding Stage/Register completion or evidence that the separate Pin step was reached. This narrows the suspected crash to the asynchronous installation/deployment-start/status polling path, not a confirmed registration/pinning failure.
Scope caveat: Crashpad sidecars do not themselves carry PID/session IDs. Sessions were matched by timestamps and neighboring Windows events. Only two dumps were confirmed to have the same exact fault instruction; the other 12 crashes are associated by logs/sidecars, not individually symbolicated.
Could maintainers please examine the async deployment object/error handling and null checks around AddPackageByUriAsync / IAsyncInfo::get_Status, and provide a supported mitigation or a corrected Store build?
No usernames, local paths, chat content, credentials, raw logs, or process-memory dumps are included here. Dumps remain local and should only be shared through a private channel if requested.
This matches the module and crash offset in the original report.
Troubleshooting attempted without success
Windows app Repair/Reset.
Changed [windows] sandbox = "elevated" to "unelevated" in .codex/config.toml.
Inspected Event Viewer and Reliability Monitor; no helpful ChatGPT-specific crash event appeared.
After the update, the app also prompted for work mode / Windows sandbox configuration, but the setup action failed.
I have not uploaded the raw minidump or full screenshots because they could contain personal information. These are independently observed symptoms and local debugger results; I cannot determine from the dump alone why the updater module dereferences a null pointer.
Update (2026-10-08): After installing and switching to the ChatGPT Beta Windows app on the same computer, the user reports that the automatic exits have stopped. The Beta build number and exact observation duration were not recorded. This is a useful comparison suggesting the issue is specific to the affected stable build/update path, not proof of the underlying root cause.
Update (2026-10-08, manual Primary Runtime install): The user independently applied the manual framework-registration workaround on the same affected PC. A previously downloaded local MSIX (OpenAI.CodexPrimaryRuntime.v26-1007-641-0.msix) passed Authenticode verification (Status: Valid, signer OpenAI OpCo, LLC). After running Add-AppxPackage -Path $msix -ErrorAction Stop, PowerShell confirmed the installed OpenAI.CodexPrimaryRuntime.v26-1007-641-0 package at version 26.1007.641.0, Status: Ok, IsFramework: True. The user then returned to the affected Stable app (OpenAI.Codex 26.1002.7124.0) and reported that the prior ~20-second crash no longer occurs. The precise post-fix observation duration and behavior after a future framework update are not yet known. This is independent evidence that pre-registering the signed Primary Runtime MSIX can work around this updater-related crash, not proof that the native windows-updater.node defect is fixed. The raw dump and private machine paths have not been uploaded.
I can reproduce this on Stable OpenAI.Codex 26.1002.7124.0 (x64).
The unified ChatGPT Desktop app runs briefly, then closes without an on-screen error. Event Viewer did not show a matching Application Error event, but Crashpad generated a minidump.
Additional reproduction and diagnostic evidence for the same Microsoft Store package version and fault offset. The following report was collected locally; no raw memory dumps or credentials are attached.
Windows desktop client crash in windows-updater.node (official activation)
Environment
Windows 11, build 10.0.22631.
Microsoft Store package: OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g0.
App-reported version: 26.1002.52244.
Official production update manifest checked on 2026-10-08 still reports buildVersion 26.1002.7124.0.
Reproduction
Activate the installed client through its official AppsFolder entry: OpenAI.Codex_2p2nqsd0c76g0!App.
The application starts successfully.
After approximately one minute, the browser/main process exits with a native crash.
The same installed executable can remain running when launched directly without the packaged activation context. This is a temporary bypass, not a resolution of the native crash.
Matching minidumps from 2026-10-08 10:31:46, 10:57:15, 11:09:43, 13:05:30, and 13:06:45 Asia/Shanghai.
SHA-256 of windows-updater.node: BAF0025013DFEC32CB13B3952B397811F91A50C62A79C87F9302A4B3C7C91BB1.
Checks and attempted repairs
ChatGPT.exe Authenticode signature is valid and signed by OpenAI OpCo, LLC.
All 29 installed windows-updater.node blocks match AppxBlockMap.xml.
Fresh browser profile did not stop official-entry crashes.
CODEX_SPARKLE_ENABLED=false was applied to the actual user environment; launch logs confirmed enableUpdater=false. Native crashes still occurred at the same module offset.
The installed bootstrap calls deployment.registerRestart outside the enableUpdater initialization gate. This suggests the gate does not exclude all Windows updater/restart-addon usage; it does not identify the exact faulting source-level function.
The existing signed package was re-registered using Add-AppxPackage -Register -DisableDevelopmentMode -ForceTargetApplicationShutdown. Get-AppxPackage reported Status=Ok afterward.
The user environment override was restored to its original unset state. The official client launch log confirmed enableUpdater=true.
The official client exited at 13:05:30 during the independent verification run. Its minidump again reports windows-updater.node+0x1a789 with a null read. A subsequent launch failed identically at 13:06:45.
Requested investigation
Please symbolicate windows_updater.pdb for this release at module offset 0x1a789 and investigate the packaged Windows restart/update lifecycle path. Re-registration, disabling updater selection, and a fresh browser profile do not resolve the exception.
This report contains no account tokens, credentials, chat contents, or raw minidump attachments. Raw dumps remain local and have not been submitted to any external service. The exact native function and vendor defect mechanism are not yet established.
~10-14 s later: [sparkle] in_app_updates_policy_latch enabled=true ignored=false policy=pending
~9-14 s after that the process dies and the log simply stops.
What I already tried (none helped)
Restart app, reboot Windows
Store "Repair"
Uninstall + reinstall from Store (twice, one with a reboot in between). The same build 26.1002.7124.0 was installed again.
Fresh sign-in on the clean install. The crash still happens at the same module/offset.
Setting user env var CODEX_SPARKLE_ENABLED=false: crashed again at the same module/offset (windows-updater.node+0x1a789).
Additional finding (data loss)
Uninstalling the Store package also wiped %USERPROFILE%\.codex contents (no sessions folder, all conversation history and projects gone), not only the app's own LocalCache. I did not expect this and had no backup.
Warning for others hitting this: back up ~/.codex before uninstalling/reinstalling.
Happy to provide the Crashpad dump privately if useful.
Adding another report that manually installing the official Primary Runtime package already downloaded by the app worked around the crashes on my PC.
My affected setup is Windows 11 with OpenAI.Codex 26.1002.7124.0.
Steps that worked for me:
Locate the fully downloaded runtime .msix file in the app's LocalCache\codex-windows-runtime-framework-* directory. On my PC, the filename was OpenAI.CodexPrimaryRuntime.v26-1007-641-0.msix.
Verify that the package has a valid OpenAI digital signature, then run the following in PowerShell, replacing the placeholder with the file's actual full path:
Once installation succeeds, close and reopen the app.
After installation and reopening the app, I used it normally for more than 15 minutes without another crash. This is consistent with the earlier report about manually installing the runtime.
This is a temporary workaround verified on my PC. Whether the issue returns after a future runtime update still needs observation.
After roughly 40–60 seconds the app suddenly closes without any visible error message.
It is highly reproducible.
One test lasted about 90 seconds, but most crashes happen after roughly 40–50 seconds.
Rebooting Windows did not help.
Windows Event Log:
No normal "Application Error" or ".NET Runtime" crash entry is created.
AppModel-Runtime shows the Codex AppX process/container being created and later destroyed.
Crashpad confirms an actual crash:
{"capture_kind":"crash","osarch":"x86_64","ptype":"browser"}
A new Crashpad dump is created on every crash.
Example dump size:
45,272,496 bytes
I also tested the following without fixing the problem:
Disabled a locally problematic ngs-analysis plugin
Recreated Codex GPUCache
Recreated GrShaderCache
Recreated ShaderCache
Rebooted the PC
The crash still occurs.
One warning in the Codex log was:
"ignoring interface.defaultPrompt[0]: prompt must be at most 128 characters"
for:
C:\Users\Sheep1.codex.tmp\plugins\plugins\ngs-analysis.codex-plugin\plugin.json
However, disabling that plugin did not stop the crash.
The main Codex log continues to operate normally shortly before the process disappears, and authentication/MCP startup appears successful.
I have Crashpad .dmp files available if an OpenAI developer wants them through a private/safe channel. I will not upload the dump publicly because it may contain process memory.
Additional confirmed crash on Windows with WSL2 — Codex 26.1002.7124.0
I am experiencing the same recurring silent crashes with Codex Desktop on Windows 11 and Ubuntu WSL2.
Crash details
Application: ChatGPT.exe (OpenAI.Codex)
Version: 26.1002.7124.0
Exception: 0xC0000005 (access violation)
Faulting module: windows-updater.node
Module offset: 0x1A789
Invalid memory address: 0x0000000000000000
Example crash: October 8, 2026, approximately 15:50 CEST
Behavior
The application launches normally, initializes its WSL backend and displays the interface. After a short period, the window closes completely without an error message.
Several Electron processes terminate almost simultaneously.
Troubleshooting performed
Verified Ubuntu WSL2 initialization.
Verified Windows package status (Ok).
Checked Windows Event Viewer and application logs.
Renamed and regenerated .codex-global-state.json.
Restored the original configuration.
Captured and analyzed a process minidump.
None of these actions provided a lasting solution.
The crash signature matches issue #51824. A minidump and desktop logs are available for private submission upon request.
Please investigate the native Windows updater component and provide a fix or workaround.
Offline behavior: The application remained open at the browser sign-in screen while disconnected from the internet. After reconnecting and completing sign-in, it crashed shortly afterward.
Scheduled runtime update: Desktop logs show primary_runtime_bundle_install_started with trigger=scheduled_update.
Runtime version: The local runtime manifest already reports 26.1007.11041, matching the version requested by the scheduled update.
Runtime cache isolation: Renaming %USERPROFILE%\.cache\codex-runtimes\codex-primary-runtime temporarily changed the startup behavior, but the application eventually crashed again.
Windows Repair: Did not resolve the issue.
Native module:windows-updater.node has a valid Authenticode signature.
The offline/online difference may help isolate the trigger, although it does not prove that authentication or network access directly causes the native crash.
Could the maintainers investigate the null-pointer dereference at windows-updater.node+0x1A789 and confirm whether a fix or supported workaround is available?
I can provide additional sanitized diagnostics or minidumps through a private channel if needed.
I can independently reproduce the same Stable Windows crash described here. I am adding the following evidence to this existing issue rather than opening a duplicate.
The direct failure is a null dereference in the bundled native updater module. The available minidump stack is not sufficient to identify the higher-level call path that supplied the null object.
Checks performed locally
Confirmed that the Appx package reports Status: Ok and that the installed version matches the public production metadata.
Verified the OpenAI signatures and SHA-256 hashes of ChatGPT.exe and windows-updater.node; the package files were not modified.
WinHTTP is direct. No Store restriction policy was present in the standard HKLM/HKCU Windows Store policy paths.
No WindowsApps file, ACL, installation package, or registry policy was changed during diagnosis.
Existing data was backed up. No uninstall, reinstall, or rollback was performed.
The troubleshooting already recorded in this issue includes App Repair, changing the proxy/network route, temporarily disabling the in-app updater, and regenerating local package data; the same native crash persisted. Related reports #30906 and #51340 show the same failure bucket across other builds. In particular, 26.930.7945.0 is not a safe rollback candidate because the same null read was reported there.
Requests for maintainers
Is failure hash {7b9794d0-f3f3-7479-ed02-c55445dc3401} tracked as a known updater defect?
Which OpenAI-signed Stable build contains a fix for this null dereference, and when will it be distributed?
If no fixed Stable build is available, is there an officially supported, signed rollback version compatible with current local state, together with a supported way to prevent immediate automatic re-update?
A community comment here reports that manually installing the OpenAI-signed Primary Runtime MSIX already downloaded by the app prevented another crash for more than 15 minutes. I have not run that procedure on this PC. Is it an officially supported workaround? If so, please document the exact runtime version, signature/hash validation steps, and any recurrence risk after subsequent updates.
Please provide a private upload channel if the original minidump or filtered logs are needed. I will not attach the dump publicly because it may contain process-memory data.
I am reporting an additional affected machine and a successful temporary workaround, consistent with the manual Primary Runtime installation reports above.
Environment
OS: Windows 11 x64, build 22631 (from the WinDbg dump header).
Microsoft Store package: OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g0 (Status: Ok).
Desktop-reported version: 26.1002.52244.
Symptom started after updating the Windows desktop client; the ChatGPT website continued to work.
Symptoms and diagnostic evidence
The desktop UI would disappear suddenly after several minutes of use, without an error dialog.
Windows Application Error/standard crash-log searches did not reveal a matching crash.
AppModel-Runtime recorded desktop AppX container destruction (Event ID 217).
Process Monitor showed multiple ChatGPT.exe processes exiting close together, with displayed Process Exit statuses of 0.
ProcDump subsequently captured a main-process termination dump at 2026-10-08 21:18:48 (UTC+8), after about 9 minutes 29 seconds of process uptime. The dump header explicitly says:
Important limitation: I have not yet confirmed the faulting module or offset in my dump, so I cannot independently claim windows-updater.node + 0x1A789. The exception and affected package version match the broader reports here.
Workaround that helped on my machine
Located previously downloaded Primary Runtime .msix installers cached by the ChatGPT/Codex desktop app.
Manually installed the Primary Runtime MSIX.
Relaunched the existing Stable desktop client.
Observed at least 20 minutes of normal operation without another unexpected exit, whereas crashes had previously recurred within several minutes.
After the successful installation, I removed the redundant downloaded MSIX installer files from the download/cache location. This cleanup was not established as necessary for the workaround and should not be confused with removing installed Windows AppX package files.
For anyone attempting the same mitigation: use only an official, locally downloaded package; check the Authenticode signature (expected valid OpenAI signer) before installation. The installation command is:
($msix should first be set to the full path of the verified local Primary Runtime MSIX.) Do not delete the installed runtime from WindowsApps.
Interpretation / limitation
This is an observed short-term mitigation, not a verified permanent fix. I have not yet tested repeated restarts, future updates, or multi-day stability. The result is consistent with the hypothesis that pre-installing/registering Primary Runtime avoids a faulty automatic runtime deployment path, but does not prove the underlying cause of the native crash.
Other unrelated SSH reconnection and Git-workspace warnings appeared in desktop logs, but nothing established them as causes of the application termination.
It would be helpful for maintainers to investigate the Primary Runtime deployment/start/status-handling path and ship a corrected Stable build, so manual MSIX installation is no longer needed.
Follow-up: manually registering the Primary Runtime appears to have worked around the crash on my machine.
I manually installed the already-downloaded, validly signed OpenAI.CodexPrimaryRuntime.v26-1007-641-0.msix, which registered runtime version 26.1007.641.0 with Status: Ok and IsFramework: True.
After restarting Stable OpenAI.Codex 26.1002.7124.0 at approximately 3:40 PM UTC+8, the app remained stable for about 6 hours 53 minutes under normal use with no recurrence of the previous windows-updater.node +0x1A789 crash.
Before manually registering the runtime, the app was repeatedly crashing within a few minutes.
This looks like a successful workaround on my system, but not confirmation that the underlying native updater bug is fixed.
Additional user report for the same Windows desktop package version (symptom-level reproduction; no crash dump collected yet):
Product: ChatGPT desktop app for Windows.
Version: 26.1002.7124.0.
Onset: the problem started immediately after updating the app on the afternoon of October 8, 2026 (UTC+8).
Observed behavior: the application launches and initially works, but after a few minutes the entire window disappears unexpectedly, with no visible error message.
Expected behavior: the app should remain open and usable.
Diagnostic status: this user's faulting module and exception code have not been verified, so this report does not independently establish windows-updater.node / 0xC0000005.
Please investigate the regression and publish an officially supported fix or workaround. I am adding this to the existing issue instead of opening a duplicate.
I am experiencing the same crash. The app stays open for at least 5 minutes while signed out, but crashes approximately 40 seconds after signing in.
Windows package: OpenAI.Codex. Affected versions: 26.1002.7124.0 and 26.1002.6548.0.
WinDbg reports a null-pointer read in windows-updater.node+0x1a789, exception 0xc0000005. The crash persists even when the startup log confirms enableUpdater=false.
Is there a confirmed workaround or a fixed version? I can provide the full WinDbg analysis and relevant logs.
In my case, the signature was Valid, issued to OpenAI OpCo, LLC.
4. Close ChatGPT and install the verified runtime:
Add-AppxPackage-Path 'FULL_PATH_TO_MSIX'
5. Verify installation:
Get-AppxPackage-Name '*CodexPrimaryRuntime*'|Select-Object Name, Version, Status
My result was version 26.1007.641.0, status Ok.
After this, the stable application stopped crashing during my subsequent testing.
Important: This is an unofficial workaround, not a guaranteed fix. Back up local Codex/Work projects before changing anything, and only install properly signed packages downloaded by the legitimate application.
Because our crash signatures match, I think this is worth checking on your system.
I hope this helps! Please let us know whether the runtime is missing on your PC and whether this resolves the crashes.
Adding diagnostic evidence from another affected Windows x64 installation, with two independently captured crashes matching this issue.
Affected package:OpenAI.Codex 26.1002.7124.0 (x64), main executable ChatGPT.exe. Reinstalling the same version did not resolve the repeated whole-window exits.
Two separate crash events on October 9, 2026 (Asia/Shanghai, UTC+8):
11:15:25–11:15:27: first-chance and unhandled exception captured by Microsoft ProcDump.
11:31:50–11:31:52: a later process instance crashed and was captured again.
The analyzed unhandled-exception dumps from both events show:
Three dumps were saved per event (first-chance/unhandled captures), so six files represent two independently reproduced crashes, not six separate crashes. The module/offset and exception parameters were read directly from minidump ExceptionStream, ModuleListStream and AMD64 context. We do not yet have a symbolized/unwound call stack or an identified source-level trigger.
There are additional Crashpad ptype=browser crash records at 11:22:14, 14:07:22 and 14:49:44; those events were not captured by ProcDump, so their faulting modules are not independently established.
Network observation: Switching Clash/Mihomo to TUN mode restored the previously failing durable WebSocket connection at 10:42:11 and Work executor connection at 10:42:22. The two confirmed native crashes occurred afterward. Restored connectivity therefore did not eliminate this crash. No WeType/CrashRpt input-method modules were present in the analyzed 11:15 process.
Please investigate this repeated null-address read in the native Windows component and advise on a fixed release or supported workaround. Original minidumps are retained locally and can be supplied through a private channel if requested; this public comment contains no raw memory dumps, account email, usernames, or personal filesystem paths.
Faulting executable: ChatGPT.exe (file version 155.0.8059.27)
Faulting module: windows-updater.node
Exception code: 0xc0000005
Fault offset: 0x000000000001a789
Read-only inspection found 12 matching Application Error events today between 17:05:09 and 18:51:44 (UTC+8), all with the same package, module, and exception code. The user has just reported another unexpected window closure; that additional occurrence has not yet been verified in Event Viewer and is not included in the count above.
In-app feedback is also blocked by: "未能验证反馈权限。请重试" (approximately: "Unable to verify feedback permissions. Please try again."). Therefore no in-app feedback/session ID could be obtained.
These observations identify the faulting module, not the underlying trigger. No crash-dump stack analysis has been performed for this report, and no causal connection to proxy/network settings is established. No deterministic user action triggering the crash has been identified.
Could the desktop team advise on a fixed build or supported workaround that preserves local chats and project data, and on how to submit diagnostics when feedback permission verification fails?
Only this redacted summary is being shared. No conversation transcripts, business data, credentials, full logs, or memory dumps are attached. Please provide a secure private collection route if additional diagnostics are needed.
I can confirm that manually installing the OpenAI-signed Primary Runtime package successfully resolved the repeated unexpected shutdowns on my Windows PC.
Symptoms: ChatGPT opened normally, displayed the interface, and then closed without warning after approximately 20–25 seconds.
Troubleshooting attempts that did not resolve the issue included Windows Repair, clearing the application cache and local data, reinstalling ChatGPT, restarting Windows, testing a different Internet connection, and creating a new Windows user profile.
The same application version worked normally on a different computer.
Successful workaround:
Located the downloaded OpenAI.CodexPrimaryRuntime MSIX package in the application's LocalCache.
Verified the digital signature using Get-AuthenticodeSignature. The result was Valid, with signer OpenAI OpCo, LLC.
Closed ChatGPT and installed the verified package through PowerShell using Add-AppxPackage -Path $msix.FullName.
Verified installation using Get-AppxPackage *CodexPrimaryRuntime*.
Installed runtime version: 26.1007.641.0.
Windows package status: Ok.
Result: ChatGPT stopped closing unexpectedly. The application remained operational after the installation and continued working after being closed and reopened with Internet connected.
A separate Work environment initialization error (helper_unknown_error: setup refresh had errors) was observed, but the ChatGPT application itself remained open and responsive.
This independently supports the community workaround involving manual installation of the signed Primary Runtime MSIX.
The underlying updater defect has not been independently verified on my machine, and long-term stability remains to be confirmed.
Thank you to everyone who investigated and shared this workaround. I hope this additional confirmation helps other affected Windows users.
Activity
github-actions commentedon Oct 7, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
TheRoadToReality commentedon Oct 8, 2026
Additional diagnostic evidence from 2026-10-08 (Asia/Shanghai, UTC+8), collected from the original Store installation before testing an isolated copy.
Environment
b157f4341fbf8a9a1f3d0bfc4c79996eb8ae460b.Captured native exception
A 22,020,096-byte minidump from the 11:08:14 main-process crash was retained locally. All 12 stream-directory ranges were within the retained file.
0xc0000005.0, 0, indicating a read from address zero.windows-updater.node.0x1a789, matching the original report.The user also observed crashes while idle. Other Crashpad sidecars identify browser/main-process crashes at 10:51:15, 11:22:22 and 11:28:33. Their exact exception locations were not captured in this diagnostic session.
Disabling updates does not prevent the addon from loading
The installed code recognizes
CODEX_SPARKLE_ENABLED=false. After setting it and restarting, startup logs explicitly showedenableUpdater=false, but the 11:22:22 and 11:28:33 crashes still occurred.Inspection of the installed code identified a separate startup path that loads
resources/native/windows-updater.nodeand callsdeployment.registerRestart(``). Its guards check Windows and packaged-app status, independently of the updater-enabled flag. A live-process module inspection confirmed that the addon remained loaded withenableUpdater=false.This suggests that the restart/deployment lifecycle integration also needs investigation. The later crashes are not proven to have the same fault location merely because the addon was still loaded.
Temporary diagnostic isolation
A same-version local copy excluding only
windows-updater.nodewas tested; the original Store installation and chat data were retained. The copy logged the handledMODULE_NOT_FOUNDcondition, continued startup, and successfully resumed an existing chat. Live module inspection confirmed the addon was absent. It remained responsive during the short observation period. This is diagnostic evidence, not a verified permanent or supported fix.Two missing rollout-source history errors were separately recovered from intact local history data; native crashes continued afterward.
No raw chats, usernames, local user paths, application logs, or process-memory attachments are included in this comment. The captured minidump remains local because it may contain sensitive process data.
lxccc812 commentedon Oct 8, 2026
Additional independent reproduction on another Windows machine on 2026-10-08, Asia/Shanghai (UTC+8). We reproduced the same null-pointer read and module offset both before and after moving the Store app from C: to D:.
Environment
OpenAI.Codex 26.1002.7124.0.b157f4341fbf8a9a1f3d0bfc4c79996eb8ae460b.app/resources/native/windows-updater.node.Confirmed native crashes
0xC00000050xC00000050x1A7890x1A7890x00x00xC00000050xC0000005The second exception was observed as both first-chance and unhandled second-chance by a time-limited debugger. A 7,617,477-byte WER minidump was retained locally. Its exception stream independently records
0xC0000005with exception parameters0, 0, confirming a read from address zero. The Windows event independently identifies the D: copy ofwindows-updater.nodeand offset0x1A789.Repair and move observations
The app ran without another observed crash from 11:14:32 to 11:28:55. The user subsequently used Windows app Repair, moved the app through Windows Settings at approximately 11:34, and rebooted; the Windows Event Log service started at 11:44:20. Crashes then recurred.
The move actually completed: the C: package directory became a junction to the D: package directory, and both application stack traces and the faulting native-module path resolved to D:.
Get-AppxPackagestill displayed the C: junction asInstallLocation, so that field alone would misleadingly suggest the app had not moved.After the move, all 29 SHA-256 file blocks of
windows-updater.nodematched itsAppxBlockMap.xmlentries, with zero mismatches; package status wasOk. This gives no evidence of addon file corruption during the move. Since the identical crash signature also occurred on C: beforehand, the sequence does not establish that moving the app caused the underlying fault, or that Repair had permanently resolved it.Separate Crashpad sidecars identified browser/main-process crashes at 11:48:54, 11:54:02, 11:55:45 and 11:59:23. Their exact exception locations were not captured and are not asserted to match the two confirmed native exceptions above. Crashes had already occurred before the diagnostic debugger was attached.
Connection failures also appeared in the desktop logs, but their causal relationship to the native exception remains unproven.
Please investigate the repeatable
windows-updater.node + 0x1A789null-pointer read, including the restart/deployment registration path described in the earlier comment, and provide a supported mitigation or a corrected desktop build. Repair and changing installation drives did not provide a durable resolution in our case.No raw chat contents, credentials, local user/workspace paths, raw application logs or memory attachments are included here. The WER minidump remains local and can be provided through a private support channel if requested.
old-li-tou commentedon Oct 8, 2026
Additional independent reproduction: Store auto-update, 14/14 runtime-install/crash correlation, and native async-status failure
I can reproduce this on another Windows 11 x64 machine on 2026-10-08 (UTC+8). This investigation adds a specific update timeline and per-session AppX event correlation to the existing reports.
Version and onset
OpenAI.Codex 26.1002.7124.0(x64; AppX statusOk).26.930.7945.0successfully overnight; the Store updated it to26.1002.7124.0at approximately 09:02 local time, after which repeated crashes began. This is the onset on this machine, not proof the defect was introduced only in this release (see [Windows] Codex desktop crashes in windows-updater.node with 0xC0000005; persists after reinstall, repair, and fresh sign-in #51340 for a similar failure on the earlier version).Per-session correlation (desktop Stable, same day)
primary_runtime_install_started(exactly two occurrences in each); each produced acapture_kind=crash / ptype=browserCrashpad sidecar.primary_runtime_install_started, had no crash sidecar.OpenAI.CodexPrimaryRuntime.v26-1007-641-0package. Each stream-reader event preceded its corresponding Crashpad sidecar by approximately 479–547 ms, followed by an AppModel container termination event (ID 217).no-persisted-packageby itself is not sufficient to predict the crash: it also occurred in one non-crashing session.Native crash evidence and likely failure phase
0xC0000005, read from0x0, atwindows-updater.node + 0x1A789. At the fault:RCX=0and bytes48 8B 01decode tomov rax, qword ptr [rcx]. A second dump examined earlier showed the same signature.IPackageManager9 / PackageManager.AddPackageByUriAsyncforOpenAI.CodexPrimaryRuntime.v26-1007-641-0_x64.msix, followed by anIAsyncInfo::get_Statusquery in which the interface/object pointer is null. The observed null dereference is in the app's native addon; the evidence does not establish whether Windows returned a null object or how that state arose.Could maintainers please examine the async deployment object/error handling and null checks around
AddPackageByUriAsync/IAsyncInfo::get_Status, and provide a supported mitigation or a corrected Store build?No usernames, local paths, chat content, credentials, raw logs, or process-memory dumps are included here. Dumps remain local and should only be shared through a private channel if requested.
CDYbug commentedon Oct 8, 2026
I can independently reproduce this crash on Windows 11 after the October 8, 2026 update.
Environment
OpenAI.Codex 26.1002.7124.0(x64; package statusOK)22631.6199ChatGPT.exeReproduction
ChatGPT.execrash entry.WinDbg analysis of a locally generated Crashpad minidump (2026-10-08):
This matches the module and crash offset in the original report.
Troubleshooting attempted without success
[windows] sandbox = "elevated"to"unelevated"in.codex/config.toml.I have not uploaded the raw minidump or full screenshots because they could contain personal information. These are independently observed symptoms and local debugger results; I cannot determine from the dump alone why the updater module dereferences a null pointer.
Update (2026-10-08): After installing and switching to the ChatGPT Beta Windows app on the same computer, the user reports that the automatic exits have stopped. The Beta build number and exact observation duration were not recorded. This is a useful comparison suggesting the issue is specific to the affected stable build/update path, not proof of the underlying root cause.
Update (2026-10-08, manual Primary Runtime install): The user independently applied the manual framework-registration workaround on the same affected PC. A previously downloaded local MSIX (
OpenAI.CodexPrimaryRuntime.v26-1007-641-0.msix) passed Authenticode verification (Status: Valid, signerOpenAI OpCo, LLC). After runningAdd-AppxPackage -Path $msix -ErrorAction Stop, PowerShell confirmed the installedOpenAI.CodexPrimaryRuntime.v26-1007-641-0package at version26.1007.641.0,Status: Ok,IsFramework: True. The user then returned to the affected Stable app (OpenAI.Codex 26.1002.7124.0) and reported that the prior ~20-second crash no longer occurs. The precise post-fix observation duration and behavior after a future framework update are not yet known. This is independent evidence that pre-registering the signed Primary Runtime MSIX can work around this updater-related crash, not proof that the nativewindows-updater.nodedefect is fixed. The raw dump and private machine paths have not been uploaded.koyawel27 commentedon Oct 8, 2026
I can reproduce this on Stable
OpenAI.Codex 26.1002.7124.0(x64).The unified ChatGPT Desktop app runs briefly, then closes without an on-screen error. Event Viewer did not show a matching Application Error event, but Crashpad generated a minidump.
WinDbg reports:
The exception is a null-pointer read at
windows_updater+0x1a789. The process had been running for about 2m 47s when the dump was captured.This matches the original report: same Stable version, same faulting module, same exception code, and same offset.
I have not attached the minidump publicly because it may contain sensitive process data, but I can provide it privately to maintainers if needed.
Hzy-qq commentedon Oct 8, 2026
Additional reproduction and diagnostic evidence for the same Microsoft Store package version and fault offset. The following report was collected locally; no raw memory dumps or credentials are attached.
Windows desktop client crash in windows-updater.node (official activation)
Environment
Reproduction
The same installed executable can remain running when launched directly without the packaged activation context. This is a temporary bypass, not a resolution of the native crash.
Confirmed exception
Checks and attempted repairs
Requested investigation
Please symbolicate windows_updater.pdb for this release at module offset 0x1a789 and investigate the packaged Windows restart/update lifecycle path. Re-registration, disabling updater selection, and a fresh browser profile do not resolve the exception.
This report contains no account tokens, credentials, chat contents, or raw minidump attachments. Raw dumps remain local and have not been submitted to any external service. The exact native function and vendor defect mechanism are not yet established.
toby1125 commentedon Oct 8, 2026
+1, same crash on the exact same build, and it also reproduces after a clean reinstall + reboot.
Environment
OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g0windows-updater.nodethrows "in __char_to_wide: Illegal byte sequence" #27506)Symptom
ptype: browser(main process).Crash details (minidump, parsed)
0xC0000005(access violation), exception parameters[0x2, 0x0], i.e. NULL pointer dereferenceapp\resources\native\windows-updater.node+0x1a789(identical across 5 different launches / different ASLR bases)Log timeline (identical on every crash)
[sparkle] in_app_updates_policy_wait_started timeoutMs=300000Launching app ... enableSparkle=false enableUpdater=true ... packaged=true platform=win32[sparkle] in_app_updates_policy_latch enabled=true ignored=false policy=pendingWhat I already tried (none helped)
CODEX_SPARKLE_ENABLED=false: crashed again at the same module/offset (windows-updater.node+0x1a789).Additional finding (data loss)
%USERPROFILE%\.codexcontents (nosessionsfolder, all conversation history and projects gone), not only the app's own LocalCache. I did not expect this and had no backup.~/.codexbefore uninstalling/reinstalling.Happy to provide the Crashpad dump privately if useful.
Vforvan commentedon Oct 8, 2026
Adding another report that manually installing the official Primary Runtime package already downloaded by the app worked around the crashes on my PC.
My affected setup is Windows 11 with
OpenAI.Codex 26.1002.7124.0.Steps that worked for me:
Locate the fully downloaded runtime
.msixfile in the app'sLocalCache\codex-windows-runtime-framework-*directory. On my PC, the filename wasOpenAI.CodexPrimaryRuntime.v26-1007-641-0.msix.Verify that the package has a valid OpenAI digital signature, then run the following in PowerShell, replacing the placeholder with the file's actual full path:
Once installation succeeds, close and reopen the app.
After installation and reopening the app, I used it normally for more than 15 minutes without another crash. This is consistent with the earlier report about manually installing the runtime.
This is a temporary workaround verified on my PC. Whether the issue returns after a future runtime update still needs observation.
cruckylander commentedon Oct 8, 2026
I can reproduce what appears to be the same issue on Windows.
Environment:
Behavior:
Windows Event Log:
Crashpad confirms an actual crash:
{"capture_kind":"crash","osarch":"x86_64","ptype":"browser"}
A new Crashpad dump is created on every crash.
Example dump size:
I also tested the following without fixing the problem:
The crash still occurs.
One warning in the Codex log was:
"ignoring interface.defaultPrompt[0]: prompt must be at most 128 characters"
for:
C:\Users\Sheep1.codex.tmp\plugins\plugins\ngs-analysis.codex-plugin\plugin.json
However, disabling that plugin did not stop the crash.
The main Codex log continues to operate normally shortly before the process disappears, and authentication/MCP startup appears successful.
I have Crashpad .dmp files available if an OpenAI developer wants them through a private/safe channel. I will not upload the dump publicly because it may contain process memory.
Quiyyy commentedon Oct 8, 2026
补充一个相同故障的独立复现:Windows 桌面应用版本
26.1002.7124.0,启动后反复闪退,闲置、没有操作时也会发生。一次本地捕获的 minidump 确认:
该转储确认了此模块的空指针读取,但尚未取得私有调试符号,无法确认具体源码函数或上游触发条件。请调查该版本的原生更新/部署相关模块,并提供受支持的修复或临时规避方式。
此评论仅包含现象和关键故障特征,未附加原始转储或应用日志。
awillaum commentedon Oct 8, 2026
Additional confirmed crash on Windows with WSL2 — Codex 26.1002.7124.0
I am experiencing the same recurring silent crashes with Codex Desktop on Windows 11 and Ubuntu WSL2.
Crash details
Application: ChatGPT.exe (OpenAI.Codex)
Version: 26.1002.7124.0
Exception: 0xC0000005 (access violation)
Faulting module: windows-updater.node
Module offset: 0x1A789
Invalid memory address: 0x0000000000000000
Example crash: October 8, 2026, approximately 15:50 CEST
Behavior
The application launches normally, initializes its WSL backend and displays the interface. After a short period, the window closes completely without an error message.
Several Electron processes terminate almost simultaneously.
Troubleshooting performed
Verified Ubuntu WSL2 initialization.
Verified Windows package status (Ok).
Checked Windows Event Viewer and application logs.
Renamed and regenerated .codex-global-state.json.
Restored the original configuration.
Captured and analyzed a process minidump.
None of these actions provided a lasting solution.
The crash signature matches issue #51824. A minidump and desktop logs are available for private submission upon request.
Please investigate the native Windows updater component and provide a fix or workaround.
Gabriel2Mello commentedon Oct 8, 2026
I can confirm the exact same crash on Windows 11 with package version
26.1002.7124.0.Two independent WinDbg minidumps confirm:
0xC0000005(null pointer read)windows-updater.node0x1A789{7b9794d0-f3f3-7479-ed02-c55445dc3401}Additional findings from troubleshooting:
primary_runtime_bundle_install_startedwithtrigger=scheduled_update.26.1007.11041, matching the version requested by the scheduled update.%USERPROFILE%\.cache\codex-runtimes\codex-primary-runtimetemporarily changed the startup behavior, but the application eventually crashed again.windows-updater.nodehas a valid Authenticode signature.The offline/online difference may help isolate the trigger, although it does not prove that authentication or network access directly causes the native crash.
Could the maintainers investigate the null-pointer dereference at
windows-updater.node+0x1A789and confirm whether a fix or supported workaround is available?I can provide additional sanitized diagnostics or minidumps through a private channel if needed.
hoonsi441 commentedon Oct 8, 2026
I can independently reproduce the same Stable Windows crash described here. I am adding the following evidence to this existing issue rather than opening a duplicate.
Environment
22631.4391, x64OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g09PLM9XGG6VKSOk; signature kind:StoreChatGPT.exe, file version155.0.8059.27windows-updater.nodeSHA-256:BAF0025013DFEC32CB13B3952B397811F91A50C62A79C87F9302A4B3C7C91BB1On 2026-10-08, OpenAI's public production metadata still returned
26.1002.7124.0as the current Windows Store build:https://persistent.oaistatic.com/codex-app-prod/windows-store-update.jsonReproduction
OpenAI.Codexapp.ChatGPT.exeprocesses exit without an error dialog.WinDbg result
The direct failure is a null dereference in the bundled native updater module. The available minidump stack is not sufficient to identify the higher-level call path that supplied the null object.
Checks performed locally
Status: Okand that the installed version matches the public production metadata.ChatGPT.exeandwindows-updater.node; the package files were not modified.The troubleshooting already recorded in this issue includes App Repair, changing the proxy/network route, temporarily disabling the in-app updater, and regenerating local package data; the same native crash persisted. Related reports #30906 and #51340 show the same failure bucket across other builds. In particular,
26.930.7945.0is not a safe rollback candidate because the same null read was reported there.Requests for maintainers
{7b9794d0-f3f3-7479-ed02-c55445dc3401}tracked as a known updater defect?greyair commentedon Oct 8, 2026
Additional confirmation: manually installing Primary Runtime MSIX stopped repeated Stable desktop crashes (Windows 11)
I am reporting an additional affected machine and a successful temporary workaround, consistent with the manual Primary Runtime installation reports above.
Environment
OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g0(Status: Ok).26.1002.52244.Symptoms and diagnostic evidence
ChatGPT.exeprocesses exiting close together, with displayedProcess Exitstatuses of0.windows-updater.node + 0x1A789. The exception and affected package version match the broader reports here.Workaround that helped on my machine
.msixinstallers cached by the ChatGPT/Codex desktop app.After the successful installation, I removed the redundant downloaded MSIX installer files from the download/cache location. This cleanup was not established as necessary for the workaround and should not be confused with removing installed Windows AppX package files.
For anyone attempting the same mitigation: use only an official, locally downloaded package; check the Authenticode signature (expected valid OpenAI signer) before installation. The installation command is:
(
$msixshould first be set to the full path of the verified local Primary Runtime MSIX.) Do not delete the installed runtime fromWindowsApps.Interpretation / limitation
This is an observed short-term mitigation, not a verified permanent fix. I have not yet tested repeated restarts, future updates, or multi-day stability. The result is consistent with the hypothesis that pre-installing/registering Primary Runtime avoids a faulty automatic runtime deployment path, but does not prove the underlying cause of the native crash.
Other unrelated SSH reconnection and Git-workspace warnings appeared in desktop logs, but nothing established them as causes of the application termination.
It would be helpful for maintainers to investigate the Primary Runtime deployment/start/status-handling path and ship a corrected Stable build, so manual MSIX installation is no longer needed.
awillaum commentedon Oct 8, 2026
The beta version solve the problem. No crash after install it
winget install --id 9N8CJ4W95TBZ --source msstore --exact --accept-source-agreements --accept-package-agreementskoyawel27 commentedon Oct 8, 2026
Follow-up: manually registering the Primary Runtime appears to have worked around the crash on my machine.
I manually installed the already-downloaded, validly signed
OpenAI.CodexPrimaryRuntime.v26-1007-641-0.msix, which registered runtime version26.1007.641.0withStatus: OkandIsFramework: True.After restarting Stable
OpenAI.Codex 26.1002.7124.0at approximately 3:40 PM UTC+8, the app remained stable for about 6 hours 53 minutes under normal use with no recurrence of the previouswindows-updater.node +0x1A789crash.Before manually registering the runtime, the app was repeatedly crashing within a few minutes.
This looks like a successful workaround on my system, but not confirmation that the underlying native updater bug is fixed.
weiyifan019-design commentedon Oct 9, 2026
Additional user report for the same Windows desktop package version (symptom-level reproduction; no crash dump collected yet):
26.1002.7124.0.windows-updater.node/0xC0000005.Please investigate the regression and publish an officially supported fix or workaround. I am adding this to the existing issue instead of opening a duplicate.
saeedabu commentedon Oct 9, 2026
I am experiencing the same crash. The app stays open for at least 5 minutes while signed out, but crashes approximately 40 seconds after signing in.
Windows package: OpenAI.Codex. Affected versions: 26.1002.7124.0 and 26.1002.6548.0.
WinDbg reports a null-pointer read in windows-updater.node+0x1a789, exception 0xc0000005. The crash persists even when the startup log confirms enableUpdater=false.
Is there a confirmed workaround or a fixed version? I can provide the full WinDbg analysis and relevant logs.
EdhuMS commentedon Oct 9, 2026
Potential fix confirmed on my PC — CodexPrimaryRuntime installation
Hi! I experienced almost exactly the same issue on Windows 11 with ChatGPT/Codex Desktop
26.1002.7124.0.My crash dump showed:
0xC0000005windows-updater.node0x1A789INVALID_POINTER_READ_c0000005_windows-updater.node!UnknownThe application kept closing unexpectedly after a few minutes. Windows Repair, restarting, and re-registering the application did not fix it.
I found a workaround that appears to have solved the problem without reinstalling ChatGPT or deleting my local Work projects.
My application had repeatedly downloaded
OpenAI.CodexPrimaryRuntime.v26-1007-641-0.msix, but the runtime was not registered in Windows.Here's what I did:
1. Check whether the runtime is installed:
2. Locate the downloaded runtime:
3. Verify the digital signature:
In my case, the signature was
Valid, issued toOpenAI OpCo, LLC.4. Close ChatGPT and install the verified runtime:
5. Verify installation:
My result was version
26.1007.641.0, statusOk.After this, the stable application stopped crashing during my subsequent testing.
Important: This is an unofficial workaround, not a guaranteed fix. Back up local Codex/Work projects before changing anything, and only install properly signed packages downloaded by the legitimate application.
Because our crash signatures match, I think this is worth checking on your system.
I hope this helps! Please let us know whether the runtime is missing on your PC and whether this resolves the crashes.
huqay commentedon Oct 9, 2026
Adding diagnostic evidence from another affected Windows x64 installation, with two independently captured crashes matching this issue.
Affected package:
OpenAI.Codex 26.1002.7124.0(x64), main executableChatGPT.exe. Reinstalling the same version did not resolve the repeated whole-window exits.Two separate crash events on October 9, 2026 (Asia/Shanghai, UTC+8):
The analyzed unhandled-exception dumps from both events show:
Three dumps were saved per event (first-chance/unhandled captures), so six files represent two independently reproduced crashes, not six separate crashes. The module/offset and exception parameters were read directly from minidump ExceptionStream, ModuleListStream and AMD64 context. We do not yet have a symbolized/unwound call stack or an identified source-level trigger.
There are additional Crashpad
ptype=browsercrash records at 11:22:14, 14:07:22 and 14:49:44; those events were not captured by ProcDump, so their faulting modules are not independently established.Network observation: Switching Clash/Mihomo to TUN mode restored the previously failing durable WebSocket connection at 10:42:11 and Work executor connection at 10:42:22. The two confirmed native crashes occurred afterward. Restored connectivity therefore did not eliminate this crash. No WeType/CrashRpt input-method modules were present in the analyzed 11:15 process.
Please investigate this repeated null-address read in the native Windows component and advise on a fixed release or supported workaround. Original minidumps are retained locally and can be supplied through a private channel if requested; this public comment contains no raw memory dumps, account email, usernames, or personal filesystem paths.
wind003 commentedon Oct 9, 2026
Additional affected user report (Windows, 2026-10-09, UTC+8).
The entire Codex desktop window repeatedly disappears unexpectedly. Windows Application Error events (event ID 1000) show:
Read-only inspection found 12 matching Application Error events today between 17:05:09 and 18:51:44 (UTC+8), all with the same package, module, and exception code. The user has just reported another unexpected window closure; that additional occurrence has not yet been verified in Event Viewer and is not included in the count above.
In-app feedback is also blocked by: "未能验证反馈权限。请重试" (approximately: "Unable to verify feedback permissions. Please try again."). Therefore no in-app feedback/session ID could be obtained.
These observations identify the faulting module, not the underlying trigger. No crash-dump stack analysis has been performed for this report, and no causal connection to proxy/network settings is established. No deterministic user action triggering the crash has been identified.
Could the desktop team advise on a fixed build or supported workaround that preserves local chats and project data, and on how to submit diagnostics when feedback permission verification fails?
Only this redacted summary is being shared. No conversation transcripts, business data, credentials, full logs, or memory dumps are attached. Please provide a secure private collection route if additional diagnostics are needed.
ciessedizioni commentedon Oct 10, 2026
Independent confirmation: manual Primary Runtime installation resolved repeated ChatGPT Windows crashes
I can confirm that manually installing the OpenAI-signed Primary Runtime package successfully resolved the repeated unexpected shutdowns on my Windows PC.
Affected application: OpenAI.Codex 26.1002.7124.0 (x64).
Symptoms: ChatGPT opened normally, displayed the interface, and then closed without warning after approximately 20–25 seconds.
Troubleshooting attempts that did not resolve the issue included Windows Repair, clearing the application cache and local data, reinstalling ChatGPT, restarting Windows, testing a different Internet connection, and creating a new Windows user profile.
The same application version worked normally on a different computer.
Successful workaround:
OpenAI.CodexPrimaryRuntimeMSIX package in the application's LocalCache.Get-AuthenticodeSignature. The result wasValid, with signerOpenAI OpCo, LLC.Add-AppxPackage -Path $msix.FullName.Get-AppxPackage *CodexPrimaryRuntime*.Installed runtime version: 26.1007.641.0.
Windows package status: Ok.
Result: ChatGPT stopped closing unexpectedly. The application remained operational after the installation and continued working after being closed and reopened with Internet connected.
A separate Work environment initialization error (
helper_unknown_error: setup refresh had errors) was observed, but the ChatGPT application itself remained open and responsive.This independently supports the community workaround involving manual installation of the signed Primary Runtime MSIX.
The underlying updater defect has not been independently verified on my machine, and long-term stability remains to be confirmed.
Thank you to everyone who investigated and shared this workaround. I hope this additional confirmation helps other affected Windows users.