Skip to content

ChatGPT for Windows crashes in windows-updater.node (0xc0000005) #51824

Open

Description

@jinpeng0716hh-lgtm

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.

Activity

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

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. TheRoadToReality commented on Oct 8, 2026

    @TheRoadToReality

    Additional diagnostic evidence from 2026-10-08 (Asia/Shanghai, UTC+8), collected from the original Store installation before testing an isolated copy.

    Environment

    • Windows 11 Home x64, 10.0.22621.
    • Store package: OpenAI.Codex 26.1002.7124.0.
    • Desktop reported version: 26.1002.52244, build 13536.
    • App build commit: 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.

    • 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.

  4. lxccc812 commented on Oct 8, 2026

    @lxccc812

    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.
    • Store package: OpenAI.Codex 26.1002.7124.0.
    • Desktop logs: build 13536, commit b157f4341fbf8a9a1f3d0bfc4c79996eb8ae460b.
    • Native addon: app/resources/native/windows-updater.node.

    Confirmed native crashes

    Evidence Before moving the app After Repair, move and reboot
    Debugger exception time 11:14:16 11:57:39
    Windows Application Error event 1000 11:14:17 11:57:41
    Loaded native addon location C: Store installation D: Store installation
    Exception code 0xC0000005 0xC0000005
    Module-relative fault offset 0x1A789 0x1A789
    Access operation / address Read / 0x0 Read / 0x0
    Main-process exit time and code 11:14:23 / 0xC0000005 11:57:47 / 0xC0000005

    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.

  5. old-li-tou commented on Oct 8, 2026

    @old-li-tou

    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

    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.

  6. CDYbug commented on Oct 8, 2026

    @CDYbug

    I can independently reproduce this crash on Windows 11 after the October 8, 2026 update.

    Environment

    • Installed package: OpenAI.Codex 26.1002.7124.0 (x64; package status OK)
    • OS: Windows 11, build 22631.6199
    • Application/process: ChatGPT.exe

    Reproduction

    1. Open the ChatGPT Windows desktop app. Its chat interface initially renders normally.
    2. After approximately 10–20 seconds, the entire application exits without an error dialog, regardless of which UI element is clicked.
    3. The issue reproduces repeatedly. The Windows Application event log and Reliability Monitor showed no corresponding ChatGPT.exe crash entry.

    WinDbg analysis of a locally generated Crashpad minidump (2026-10-08):

    PROCESS_NAME:     ChatGPT.exe
    EXCEPTION_CODE:   c0000005 (access violation)
    READ_ADDRESS:     0000000000000000
    SYMBOL_NAME:      windows_updater+1a789
    MODULE_NAME:      windows_updater
    IMAGE_NAME:       windows-updater.node
    FAILURE_BUCKET_ID: INVALID_POINTER_READ_c0000005_windows-updater.node!Unknown
    

    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.

  7. koyawel27 commented on Oct 8, 2026

    @koyawel27

    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:

    PROCESS_NAME: ChatGPT.exe
    EXCEPTION_CODE: 0xc0000005
    MODULE_NAME: windows_updater
    IMAGE_NAME: windows-updater.node
    SYMBOL_NAME: windows_updater+1a789
    FAILURE_BUCKET_ID: INVALID_POINTER_READ_c0000005_windows-updater.node!Unknown
    

    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.

  8. Hzy-qq commented on Oct 8, 2026

    @Hzy-qq

    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

    1. Activate the installed client through its official AppsFolder entry: OpenAI.Codex_2p2nqsd0c76g0!App.
    2. The application starts successfully.
    3. 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.

    Confirmed exception

    • Exception code: 0xC0000005.
    • Faulting module: app/resources/native/windows-updater.node.
    • Module-relative instruction address: +0x1a789.
    • Exception parameters: [0, 0], reading address zero.
    • 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.

  9. toby1125 commented on Oct 8, 2026

    @toby1125

    +1, same crash on the exact same build, and it also reproduces after a clean reinstall + reboot.

    Environment

    Symptom

    • App opens and loads normally (home screen visible), then the whole app exits silently about 10-25 seconds later, with no error dialog.
    • It happens even when I do nothing at all (idle), so it is not triggered by any user action.
    • Crashpad reports ptype: browser (main process).

    Crash details (minidump, parsed)

    • Exception: 0xC0000005 (access violation), exception parameters [0x2, 0x0], i.e. NULL pointer dereference
    • Faulting module: app\resources\native\windows-updater.node
    • Offset: +0x1a789 (identical across 5 different launches / different ASLR bases)

    Log timeline (identical on every crash)

    1. [sparkle] in_app_updates_policy_wait_started timeoutMs=300000
    2. Launching app ... enableSparkle=false enableUpdater=true ... packaged=true platform=win32
    3. ~10-14 s later: [sparkle] in_app_updates_policy_latch enabled=true ignored=false policy=pending
    4. ~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.

  10. Vforvan commented on Oct 8, 2026

    @Vforvan

    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:

    1. 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.

    2. 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:

      Add-AppxPackage -Path "FULL_PATH_TO_THE_RUNTIME_PACKAGE.msix" -ErrorAction Stop
    3. 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.

  11. cruckylander commented on Oct 8, 2026

    @cruckylander

    I can reproduce what appears to be the same issue on Windows.

    Environment:

    • Windows 11 x64
    • Codex Desktop: 26.1002.7124.0
    • Package: OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g0

    Behavior:

    • Codex starts normally.
    • 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.

  12. Quiyyy commented on Oct 8, 2026

    @Quiyyy

    补充一个相同故障的独立复现:Windows 桌面应用版本 26.1002.7124.0,启动后反复闪退,闲置、没有操作时也会发生。

    一次本地捕获的 minidump 确认:

    Exception: 0xC0000005 (unhandled ACCESS_VIOLATION)
    Faulting module: windows-updater.node
    Module-relative offset: +0x1A789
    Thread: libuv-worker
    Access: read from address 0x0
    Instruction: mov rax, qword ptr [rcx]
    RCX: 0x0
    

    该转储确认了此模块的空指针读取,但尚未取得私有调试符号,无法确认具体源码函数或上游触发条件。请调查该版本的原生更新/部署相关模块,并提供受支持的修复或临时规避方式。

    此评论仅包含现象和关键故障特征,未附加原始转储或应用日志。

  13. awillaum commented on Oct 8, 2026

    @awillaum

    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.

  14. Gabriel2Mello commented on Oct 8, 2026

    @Gabriel2Mello

    I can confirm the exact same crash on Windows 11 with package version 26.1002.7124.0.

    Two independent WinDbg minidumps confirm:

    • Exception: 0xC0000005 (null pointer read)
    • Module: windows-updater.node
    • Offset: 0x1A789
    • Failure hash: {7b9794d0-f3f3-7479-ed02-c55445dc3401}
    • Process uptime before crash: 35–39 seconds

    Additional findings from troubleshooting:

    1. 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.
    2. Scheduled runtime update: Desktop logs show primary_runtime_bundle_install_started with trigger=scheduled_update.
    3. Runtime version: The local runtime manifest already reports 26.1007.11041, matching the version requested by the scheduled update.
    4. Runtime cache isolation: Renaming %USERPROFILE%\.cache\codex-runtimes\codex-primary-runtime temporarily changed the startup behavior, but the application eventually crashed again.
    5. Windows Repair: Did not resolve the issue.
    6. 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.

  15. hoonsi441 commented on Oct 8, 2026

    @hoonsi441

    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

    • OS: Windows 11 23H2, build 22631.4391, x64
    • Package: OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g0
    • Store product ID: 9PLM9XGG6VKS
    • Package status: Ok; signature kind: Store
    • Main executable: ChatGPT.exe, file version 155.0.8059.27
    • windows-updater.node SHA-256: BAF0025013DFEC32CB13B3952B397811F91A50C62A79C87F9302A4B3C7C91BB1

    On 2026-10-08, OpenAI's public production metadata still returned 26.1002.7124.0 as the current Windows Store build:

    https://persistent.oaistatic.com/codex-app-prod/windows-store-update.json

    Reproduction

    1. Launch the Stable Microsoft Store OpenAI.Codex app.
    2. Let it initialize and use it normally or leave it idle.
    3. Within approximately 30–60 seconds, the whole window and its ChatGPT.exe processes exit without an error dialog.
    4. Analyze the corresponding Crashpad minidump in WinDbg.

    WinDbg result

    PROCESS_NAME: ChatGPT.exe
    EXCEPTION_CODE: 0xC0000005
    AV.Dereference: NullPtr
    AV.Type: Read
    MODULE_NAME: windows_updater
    IMAGE_NAME: windows-updater.node
    EXCEPTION_ADDRESS: windows_updater+0x1A789
    READ_ADDRESS: 0000000000000000
    FAILURE_BUCKET_ID: INVALID_POINTER_READ_c0000005_windows-updater.node!Unknown
    FAILURE_ID_HASH: {7b9794d0-f3f3-7479-ed02-c55445dc3401}
    
    rcx=0000000000000000
    windows_updater+0x1A789:
    mov rax,qword ptr [rcx]
    

    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

    1. Is failure hash {7b9794d0-f3f3-7479-ed02-c55445dc3401} tracked as a known updater defect?
    2. Which OpenAI-signed Stable build contains a fix for this null dereference, and when will it be distributed?
    3. 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?
    4. 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.
    5. 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.
  16. greyair commented on Oct 8, 2026

    @greyair

    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

    • 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:
      *** Unhandled exception: C0000005.ACCESS_VIOLATION
      
    • 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

    1. Located previously downloaded Primary Runtime .msix installers cached by the ChatGPT/Codex desktop app.
    2. Manually installed the Primary Runtime MSIX.
    3. Relaunched the existing Stable desktop client.
    4. 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:

    Get-AuthenticodeSignature -FilePath $msix
    Add-AppxPackage -Path $msix -ErrorAction Stop
    Get-AppxPackage -Name "OpenAI.CodexPrimaryRuntime*" |
      Select-Object Name, Version, Status, IsFramework

    ($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.

  17. awillaum commented on Oct 8, 2026

    @awillaum

    The beta version solve the problem. No crash after install it

    winget install --id 9N8CJ4W95TBZ --source msstore --exact --accept-source-agreements --accept-package-agreements

  18. koyawel27 commented on Oct 8, 2026

    @koyawel27

    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.

  19. weiyifan019-design commented on Oct 9, 2026

    @weiyifan019-design

    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.

  20. saeedabu commented on Oct 9, 2026

    @saeedabu

    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.

  21. EdhuMS commented on Oct 9, 2026

    @EdhuMS

    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:

    • Exception: 0xC0000005
    • Module: windows-updater.node
    • Offset: 0x1A789
    • Failure bucket: INVALID_POINTER_READ_c0000005_windows-updater.node!Unknown

    The 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:

    Get-AppxPackage -Name '*CodexPrimaryRuntime*'

    2. Locate the downloaded runtime:

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

    3. Verify the digital signature:

    Get-AuthenticodeSignature -LiteralPath 'FULL_PATH_TO_MSIX'

    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.

  22. huqay commented on Oct 9, 2026

    @huqay

    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:

    Exception: 0xC0000005
    Access: read from address 0x0
    Faulting module: resources/native/windows-updater.node
    Module-relative fault offset: +0x1A789
    Exception parameters: [0, 0]
    windows-updater.node SHA256:
    BAF0025013DFEC32CB13B3952B397811F91A50C62A79C87F9302A4B3C7C91BB1
    

    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.

  23. wind003 commented on Oct 9, 2026

    @wind003

    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:

    • Package: OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g0
    • 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.

  24. ciessedizioni commented on Oct 10, 2026

    @ciessedizioni

    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:

    1. Located the downloaded OpenAI.CodexPrimaryRuntime MSIX package in the application's LocalCache.
    2. Verified the digital signature using Get-AuthenticodeSignature. The result was Valid, with signer OpenAI OpCo, LLC.
    3. Closed ChatGPT and installed the verified package through PowerShell using Add-AppxPackage -Path $msix.FullName.
    4. 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.

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