Repository navigation
Description
What happened?
The Codex desktop app repeatedly crashes shortly after startup on my Windows machine.
Multiple locally inspected Crashpad dumps point to the same module and offset:
- Module: windows-updater.node
- Module-relative offset: 0x1A779
- Exception code: 0xC0000005
- Exception parameters: (0, 0), indicating a read from address 0x0
This is a reproducible issue on my machine. I have not confirmed whether it is a known issue.
Environment
- Codex desktop package: OpenAI.Codex
- Version: 26.930.7945.0
- Microsoft Store reports no newer update available
- OS: Windows 11, build 22631
- Architecture: x64
- Active CODEX_HOME: D:\Codex
- App installation: C:\Program Files\WindowsApps\OpenAI.Codex_26.930.7945.0_x64__2p2nqsd0c76g0
- Package status reported by Windows: Ok
Steps to reproduce
- Launch the Codex desktop app.
- Wait approximately one minute.
- The app exits unexpectedly and generates a Crashpad dump.
Expected behavior
The app should remain running. A runtime installation or update failure should produce a recoverable error instead of terminating the app.
Troubleshooting attempted
- Uninstalled and reinstalled the app.
- Used Windows Settings → Apps → Advanced options → Repair.
- Restarted Windows.
- Set CODEX_SPARKLE_ENABLED=false.
- Startup logs confirmed enableUpdater=false.
- The app still crashed in the same native module at the same offset.
- Backed up the global state file and set
electron-windows-primary-runtime-frameworks-enabled=false.- Startup logs initially showed frameworkEnabled=false.
- Approximately six seconds later, logs showed frameworkEnabled=true.
- The setting was subsequently found set to true again.
- A scheduled primary runtime installation started.
- The app crashed again in windows-updater.node + 0x1A779.
- Following support guidance, temporarily renamed auth.json in the active
CODEX_HOME, then restarted the app and signed in again.- Result: the app still crashed.
- A fresh dump from this final sign-in test has not yet been analyzed.
Relevant log sequence
From the inspected launch on 2026-10-06 (timestamps below are UTC):
10:44:55.043 — Launching app: enableUpdater=false
10:44:56.906 — primary_runtime_selection:
frameworkEnabled=false
reason=gate-disabled
runtimeSource=archive
10:45:01.558 — primary_runtime_selection:
frameworkEnabled=true
reason=awaiting-framework
runtimeSource=archive
10:45:01.561 — primary_runtime_bundle_install_started:
trigger=scheduled_update
A Crashpad dump was generated at approximately 10:45:46 UTC
(18:45:46 in Asia/Shanghai).
The runtime installation precedes the crash, but the underlying cause has
not been established.
Diagnostic artifacts
Inspected dump:
0bfcc1c9-3fa7-4be6-8251-ca9f84799103.dmp
Crashpad directory:
%LOCALAPPDATA%\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache\Roaming\Codex\web\Codex\Crashpad\reports\
Associated desktop log:
codex-desktop-814ab257-23b7-40a2-a65f-6c830441fd83-33416-t0-i1-104454-0.log
CLI troubleshooting session ID:
01a110b3-7c0e-7402-8b85-f801470ce26b
The dump is available, but it has not been publicly attached because it may
contain sensitive memory data. Please provide a private, secure upload
channel if it is needed for investigation.
Activity
jackfeicoder commentedon Oct 6, 2026
I use gemini fix it.
Title:
[Bug]: Windows Desktop client crashes (~40s after launch) with 0xC0000005 Null-Pointer Dereference in
windows-updater.nodeduring scheduled runtime update1. System Environment
x86_64(AMD64)OpenAI.Codex_26.930.7945.0_x64__2p2nqsd0c76g026.930.7945.0C:\Program Files\WindowsApps\OpenAI.Codex_26.930.7945.0_x64__2p2nqsd0c76g0%LOCALAPPDATA%\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache26.1005.1301.0(OpenAI.CodexPrimaryRuntime.v26-1005-1301-0_x64.msix)2. Problem Summary
Upon launching the application, everything operates normally for approximately 40–50 seconds. Then, the application silently terminates and crashes to desktop without any visible error prompt or exception dialog.
Inspection of Crashpad minidumps (
.dmp) and local execution logs confirms that the crash is triggered by an unhandled Null-Pointer Dereference (0xC0000005) inside the native Node-API addonwindows-updater.nodewhen executing scheduled updates for the Primary Runtime framework.3. Detailed Crash Analysis & Root Cause
A. Minidump Details (
Crashpad\reports\*.dmp)"ptype": "browser")0xC0000005(STATUS_ACCESS_VIOLATION)0x0000000000000000(Null-pointer dereference).0x7fff490da779windows-updater.node0x7fff490c00000x1d2000(~1.82 MB)windows-updater.node + 0x1a779C:\Program Files\WindowsApps\OpenAI.Codex_26.930.7945.0_x64__2p2nqsd0c76g0\app\resources\native\windows-updater.nodeB. Source Code & Function Identification
Strings and symbols extracted from the faulting binary link back to the native updater implementation:
D:\codex-apps-workspace\codex\codex-apps\electron\native\windows-updater-addon\windows-updater.ccD:\codex-apps-workspace\codex\codex-apps\electron\native\windows-updater-addon\primary-runtime-lifetime.ccSendStoreInstallProgress/StoreInstallProgressPayloadNapi::ThreadSafeFunction::NonBlockingCallstagePackage/installPrimaryRuntimePackageC. Root Cause Mechanism
trigger=scheduled_update.OpenAI.CodexPrimaryRuntime.v26-1005-1301-0_x64.msixfromhttps://persistent.oaistatic.com/into a temporary directory underLocalCache.windows-updater.nodeto stage and install the MSIX framework into Windows.Napi::ThreadSafeFunction(SendStoreInstallProgress->NonBlockingCall), the native code accesses a null pointer context (0x0), causing an unhandled fatal access violation that instantly terminates the entire application.4. Critical Secondary Impact: Severe Disk Leakage
Because the native updater crashes every single time prior to completing registration, the app leaves the newly downloaded 528MB file orphaned in
LocalCache\codex-windows-runtime-framework-<random>\.Upon restarting, the application assumes the update was never fetched and repeats the download cycle:
5. Steps to Reproduce
26.930.7945.0on Windows 11.%LOCALAPPDATA%\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache\Local\Codex\Logs\.As soon as the download finishes (~48s), the process crashes silently with code 0xC0000005.
Manually registering the already-downloaded framework MSIX via native Windows PowerShell successfully bypasses the bug in windows-updater.node:
powershell
1. Manually install the downloaded Primary Runtime package
Add-AppxPackage -Path "$env:LOCALAPPDATA\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache<framework-temp-dir>\OpenAI.CodexPrimaryRuntime.v26-1005-1301-0.msix"
2. Reclaim orphaned disk space caused by repeated failed attempts
Get-ChildItem -Path "$env:LOCALAPPDATA\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache" -Filter "codex-windows-runtime-framework*" | Remove-Item -Recurse -Force
Once installed, Get-AppxPackage OpenAI shows OpenAI.CodexPrimaryRuntime.v26-1005-1301-0 is present. The desktop client now boots smoothly without attempting to re-invoke the broken updater addon, completely resolving the crash.
In electron\native\windows-updater-addon\windows-updater.cc and primary-runtime-lifetime.cc:
Ensure ThreadSafeFunction and callback references are validated (nullptr checks) before invoking NonBlockingCall.
Add structured exception handling / C++ exception boundaries around WinRT package staging and callbacks to prevent native crashes from terminating the Electron host process.
Implement cleanup logic for incomplete/failed staging folders in LocalCache to avoid multi-gigabyte storage leaks.
ccndb1 commentedon Oct 6, 2026
I can independently reproduce exactly the same crash on another machine after updating to 26.930.7945.0.
My crash signature is identical:
I investigated the Primary Runtime path further and found an additional detail that may help narrow down the failure point.
On every launch:
Codex downloads the complete 528,081,485-byte
OpenAI.CodexPrimaryRuntime.v26-1005-1301-0_x64.msix.
Microsoft-Windows-AppxPackaging/Operational logs Event ID 170:
"The streaming reader was created successfully for app package ..."
This event occurs in the same second as the native crash.
However, searching the relevant Windows deployment logs for the Primary Runtime package returns zero events:
primary_runtime_bundle_install_outcome is never logged.
This suggests the process crashes after the MSIX is opened/read, but before an AppX deployment request is actually submitted.
The downloaded MSIX itself appears complete and correctly signed.
I also independently tested CODEX_SPARKLE_ENABLED=false. The app correctly logged enableUpdater=false, but it still downloaded the Primary Runtime and crashed at the exact same windows-updater.node +0x1A779 offset.
Repairing and completely reinstalling 26.930.7945.0 did not resolve the issue.
I have a sanitized diagnostic report with the full timeline and investigation, as well as a 40 MB Crashpad minidump. I am not attaching the dump publicly because it may contain process memory, but I can provide it privately if an OpenAI maintainer requests it.
ccndb1 commentedon Oct 6, 2026
Confirmed — this workaround also fixes the issue on my machine.
I manually installed the already-downloaded OpenAI.CodexPrimaryRuntime.v26-1005-1301-0.msix using Add-AppxPackage. Installation completed successfully and Get-AppxPackage reports version 26.1005.1301.0, IsFramework=True, Status=Ok.
After that, Codex 26.930.7945.0 remained running for 171+ seconds, well beyond the previous consistent 41–46 second crash point. No new Crashpad dump was generated and no additional 528 MB runtime download occurred.
The logs now report:
windows_primary_runtime_framework_ready
primary_runtime_bundle_install_outcome outcome=installed
primary_runtime_selection reason=framework-active runtimeSource=framework
Previously, every launch remained at reason=awaiting-framework / runtimeSource=archive and then crashed in windows-updater.node +0x1A779.
windows-updater.node is still loaded in the Electron main process after the workaround, but the application no longer crashes. This further suggests that the failure is specifically in the Primary Runtime installation path rather than simply loading the native module.
Thanks — your workaround got my Codex installation working again.
Faiz-V commentedon Oct 6, 2026
Independent reproduction on another machine
Environment
22631.4890, x64.OpenAI.Codex_26.930.7945.0_x64__2p2nqsd0c76g0.26.930.61225.Exact signature: three dumps from separate application runs matched
Local checks
in_app_updates=falsewas confirmed effective, but the samewindows-updater.node +0x1A779crash still occurred. Disabling ordinary in-app updates did not resolve it; the trial policy was subsequently removed.ChatGPT.exe, outside normal packaged/AppX activation, produced a process with no Windows package identity. The in-app updater was unavailable in that mode. After a user-initiated restart, the update policy was back to its default allowed state, but the process still had no package identity and the updater remained unavailable. That same process was observed for 16 minutes 15 seconds: it remained responsive and no new Crashpad dump appeared. This is a temporary workaround and a bounded observation, not evidence that the native module is fixed or that long-term stability is established..codex, projects, chats, and application data were not deleted.Multiple dumps consistently identify
windows-updater.node +0x1A779as the faulting location. The native module participates in Windows update/runtime-package management. My local evidence alone does not symbolicate the exact internal function. The Primary Runtime installation-path investigation elsewhere in this thread is useful context, but I have not independently proven that exact internal path.Faulting module identity
021B21A29A404302A6229D66C1EED67A3DB14C99FC4178E34B4E54A3EFD718EE58653eac-9179-446c-927c-791d24801e3b, age1.Privacy: A representative dump is retained locally and can be provided through a private, maintainer-approved channel if requested. No dumps, raw logs, credentials, chat/project content, usernames, machine names, or private paths are attached or included in this comment.
frankleiovo commentedon Oct 6, 2026
Independent reproduction and successful workaround on another Windows machine.
Environment
26.930.7945.0{"capture_kind":"crash","osarch":"x86_64","ptype":"browser"}Behavior
Additional evidence
Before the workaround:
Get-AppxPackage *OpenAI.CodexPrimaryRuntime*returned no installed Primary Runtime.codex-windows-runtime-framework-*temporary directories.OpenAI.CodexPrimaryRuntime.v26-1005-1301-0.msixGet-AuthenticodeSignaturereturned:Status: ValidOpenAI OpCo, LLCWorkaround
I manually registered the already-downloaded runtime with Windows:
Afterward:
Result
After the manual runtime registration:
.codexdirectory was restored.This independently matches the workaround reported above and strongly suggests the failing path is the automatic Primary Runtime installation/update flow rather than user
.codexdata itself.I am not attaching the raw Crashpad dump because it may contain process memory, but I can provide additional sanitized diagnostics if useful.
awua0511 commentedon Oct 8, 2026
I am experiencing what appears to be the same issue on Codex Stable 26.1002.52244.
I reproduced the crash multiple times and analyzed a Crashpad dump using WinDbg. The exception signature closely matches this report, with a module offset differing by only
0x10.Crashpad analysis
ChatGPT.exe26.1002.522440xC0000005(Access Violation)windows-updater.node0x1A789INVALID_POINTER_READ_c0000005_windows-updater.node!Unknown{7b9794d0-f3f3-7479-ed02-c55445dc3401}Relevant WinDbg output:
This confirms a null-pointer read inside the native Windows updater module.
Additional finding: Network-dependent startup crash
I discovered a reproducible network-related workaround:
Reinstalling the Stable version did not resolve the issue.
These results suggest that a network-dependent operation during startup may be triggering the native updater crash. However, the exact operation responsible has not been established.
Diagnostic artifact
c3314e97-1b61-4aca-934a-bbdfb1691351.dmpInterestingly, the failure hash is identical to that reported in #30906, despite the different application version and module offset.
The Crashpad dump is available for private analysis upon request. I have not attached it publicly because it may contain sensitive process memory.
Could the maintainers investigate whether this is the same underlying updater defect and whether a fix or safe workaround is available for the Stable channel?
The Beta channel avoids the crash, but I currently cannot access certain advanced models there, so it is not a complete replacement for Stable.
hongxzz commentedon Oct 8, 2026
Additional reproduction: Stable 26.1002.52244 / Primary Runtime 26.1007.11041
Reporting another affected Windows machine on 2026-10-08. This appears related to the Primary Runtime update/install behavior described in this issue, but we have not confirmed the native exception code or faulting module on this machine: only Crashpad sidecars and queued native-event metadata were available, not a usable minidump.
Environment
26.1002.52244, build13536, prod channel.OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g0.10.0.22621, x64.26.1007.11041.OpenAI.CodexPrimaryRuntime.v26-1007-641-0, version26.1007.641.0.up_to_date; that result concerns the desktop app channel, not successful installation of this runtime.Observed behavior and reproduction
The user throttled download speed to keep the app running long enough for diagnosis. We must not attribute the resulting temporary stability solely to a workaround or feature-gate change.
There were 27 Crashpad crash sidecars dated 2026-10-08 at the time of inspection. Representative metadata:
{"capture_kind":"crash","osarch":"x86_64","ptype":"browser"}A queued native event was marked
level=fatal,platform=native,event.origin=electron,event.process=browser, release[email protected]. No matching ordinary Application Error was found in the Windows Application log during the inspected period.Download-to-crash timing
Six retained MSIX files were each 528,530,808 bytes, the expected complete size. Their last-write times closely precede Crashpad sidecar creation. All times below are on 2026-10-08, UTC+08:00. These are filesystem timestamps, not a symbolicated execution trace.
At a later inspection, eight framework staging directories/files remained.
Representative log fields from affected launches:
Some initial downloads were aborted and another install attempt began; later attempts left complete-size files followed by the native crash. Cancellation alone is not asserted to be the cause.
Package validation and workaround applied
Before the workaround, Windows did not report an installed
OpenAI.CodexPrimaryRuntime*framework. An existing archive-format runtime already reported bundle26.1007.11041.The latest downloaded MSIX was checked before use:
OpenAI.CodexPrimaryRuntime.v26-1007-641-0.msix.528530808bytes.a2a820d1825a7e4de86749e72d9c53f6450ac7a9fdff13101be488cee24bdc62.OpenAI OpCo, LLC.10.0.19041.0, satisfied on this machine.We then used Windows PowerShell to install that already-downloaded, verified package outside the app's native installation entry point:
Windows AppXDeploymentServer event 400 at 10:00:32 UTC+08:00 confirmed successful installation. The resulting package was:
The installed
runtime.jsonreported bundle26.1007.11041; the runtime dependencies and plugins were present. App binaries, account data, chat history, and security settings were not modified as part of this workaround.Validation and important limits
The user removed download throttling. Five samples between 10:02:58 and 10:04:59 UTC+08:00 showed:
However, the app had also logged
frameworkEnabled=false / reason=gate-disabledat 09:50:12 UTC+08:00, before the manual install. Therefore, this is not a controlled demonstration that installing the package alone fixed the crash. A complete quit/relaunch test was deferred because the user could not restart at that time. The native defect and future framework-update behavior remain unverified.Other errors observed, not established as causes of this crash
helper_unknown_error: setup refresh had errors. The setup log reported a sharing violation (os error 32) while validating read/execute ACL access to the bundlednode_repl.exe.App server request queue is full, andfailed to list apps: Failed to parse JSON response.Please investigate whether the automatic Primary Runtime framework installation path on Stable 26.1002.52244 is affected by the native updater issue reported here, and whether a supported mitigation/fix can prevent the repeated download-and-crash cycle. The ancillary errors above may be separate issues.
This comment contains sanitized diagnostic details only. No raw memory dumps, account identifiers, credentials, chat/project content, private hostnames, or user-specific filesystem paths are included.
jackfeicoder commentedon Oct 8, 2026
📢 Update (Oct 8): Bug Still Persists in
26.1002.6548.0with newly pushed Runtimev26-1007-641-0The issue has resurfaced today after the Microsoft Store updated the host app to
26.1002.6548.0, confirming that the underlying Null-Pointer Dereference inwindows-updater.noderemains unpatched in the latest client build.Here is the updated investigation from the latest crash incident:
1. Updated Environment & Versions
26.1002.6548.0(OpenAI.Codex_26.1002.6548.0_x64__2p2nqsd0c76g0)26.1007.641.0(OpenAI.CodexPrimaryRuntime.v26-1007-641-0_x64.msix, 528,530,808 bytes)26.1005.1301.02. Latest Minidump Analysis (
de684b22-a24f-4d3d-acb4-99cec2d505bd.dmp)0xC0000005(STATUS_ACCESS_VIOLATION, Null-pointer read: target address0x0000000000000000)windows-updater.node0x7ffd2d3aa789+0x1A789(offset shifted slightly from+0x1A779due to recompilation in26.1002.6548.0)C:\Program Files\WindowsApps\OpenAI.Codex_26.1002.6548.0_x64__2p2nqsd0c76g0\app\resources\native\windows-updater.node3. Log Sequence
The app was previously running fine with manually staged v26-1005-1301-0.
As soon as upstream rolls out a newer Primary Runtime (v26-1007-641-0), the client enters the automatic staging pipeline and crashes again.
This will repeatedly hit all Windows users every few days as long as new runtimes are released and windows-updater-addon lacks proper null checks on progress callbacks.
Manually deploying the latest downloaded framework resolves the crash once again:
powershell
1. Manually install the new v26-1007 runtime
Add-AppxPackage -Path "$env:LOCALAPPDATA\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache<framework-temp-dir>\OpenAI.CodexPrimaryRuntime.v26-1007-641-0.msix"
2. Clean up orphaned cache directories
Get-ChildItem -Path "$env:LOCALAPPDATA\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache" -Filter "codex-windows-runtime-framework*" | Remove-Item -Recurse -Force
After registering OpenAI.CodexPrimaryRuntime.v26-1007-641-0_26.1007.641.0_x64__3k8sg7r9htsxt, the client launches successfully without crashing.
Cale146 commentedon Oct 8, 2026
Codex 26.1002.7124.0 was crashing after ~20–30 seconds with 0xC0000005 in windows-updater.node at offset 0x1A789.
Confirmed this workaround fixed the issue for me as well. Manually installing OpenAI.CodexPrimaryRuntime.v26-1007-641-0.msix using Add-AppxPackage resolved the crash.
No cache cleanup was necessary on my machine.
frankleiovo commentedon Oct 9, 2026
Follow-up from the same Windows machine: the issue reproduced again after the next Primary Runtime rollout, and the same manual-install workaround fixed it again.
Second recurrence
Host app
26.1002.6548.0Previously installed framework
OpenAI.CodexPrimaryRuntime.v26-1005-1301-026.1005.1301.0Status: OkIsFramework: TrueNew runtime downloaded by Codex
OpenAI.CodexPrimaryRuntime.v26-1007-641-0.msixBefore the workaround,
Get-AppxPackage *OpenAI.CodexPrimaryRuntime*showed only the older26.1005.1301.0framework installed.Workaround repeated successfully
The newest downloaded MSIX was verified before installation:
Then it was installed manually:
After installation:
Result
After registering the new runtime manually:
This is now a second occurrence on the same machine:
26.1005.1301.0rollout -> automatic install path crashed -> manualAdd-AppxPackagerestored stability.26.1007.641.0rollout -> automatic install path crashed again -> manualAdd-AppxPackagerestored stability again.This strongly suggests the issue is not a one-time corrupted install; it can recur whenever a new Primary Runtime is pushed while the automatic Windows framework installation path remains affected.
Disk leak observed
After the two incidents, the Codex LocalCache contained 11 orphaned directories matching:
Each was about 0.49 GiB, for roughly 5.4 GiB total leaked disk space.
After confirming both registered Primary Runtime frameworks remained
Status: Ok, the orphaned temporary directories were removed. The installed frameworks were unaffected.This repeated failure + repeated disk leakage may be worth treating as a separate severity concern in addition to the crash itself.
EdhuMS commentedon Oct 9, 2026
Possible workaround for the windows-updater.node crash — manual primary runtime installation
Hi! I read through your detailed investigation, especially the
primary_runtime_bundle_install_startedevent that occurred shortly before your crash.I experienced a very similar issue on Windows 11 and found a workaround that may be relevant to your findings.
My environment:
26.1002.7124.0windows-updater.node0xC00000050x1A789I noticed that the application repeatedly downloaded a primary runtime MSIX package but never successfully registered it in Windows.
After verifying that the package was signed by
OpenAI OpCo, LLC, I manually installed the runtime. The application subsequently stopped crashing during my testing.Here's what I did:
In my case, the installed runtime was
26.1007.641.0, and Windows reportedStatus: Ok.Important differences: Your application version (
26.930.7945.0) and crash offset (0x1A779) differ from mine. Therefore, I cannot confirm that we have exactly the same underlying issue.I recommend checking which runtime version your own installation downloaded rather than using my specific runtime version.
Also, please back up your local Codex projects and verify package signatures before attempting installation. This is an unofficial workaround, not a guaranteed fix.
Your findings about the scheduled primary runtime installation are particularly interesting because they align with the behavior I observed.
I hope this helps! If you try it, please share whether the primary runtime was missing and whether installing it resolves the crash. It would be valuable evidence for the OpenAI engineering team.
SamLawX commentedon Oct 9, 2026
I can confirm that manually installing the downloaded Primary Runtime MSIX resolved a similar startup crash on my machine.
With Windows Codex package version
26.1002.7124.0, the app silently exited about 50–60 seconds after launch. Repeated launches left 16 copies of the runtime installer incodex-windows-runtime-framework-*folders under:Each copy was about 504 MiB, totaling roughly 7.87 GiB. Eventually, a manual installation attempt failed with
0x80073CF4/0x80070070because the system drive had run out of space.What worked for me:
OpenAI.CodexPrimaryRuntime.v26-1007-641-0.msixand install it through Windows App Installer.For other versions, use the appropriate runtime package already downloaded by your own Codex installation; the filename above is specific to my case. If cleaning up duplicate downloads, limit cleanup to those runtime staging folders rather than deleting the whole LocalCache directory.
This adds another successful result for the manual-install workaround already discussed here, including installation through the graphical App Installer. It also shows how repeated downloads can eventually prevent installation by exhausting disk space.
I have not established why automatic installation failed initially, or whether the crash occurred before or during deployment. The disk-full errors were observed after the duplicate packages had accumulated. It would be helpful for the automatic installer to reuse existing downloads, clean up failed attempts, and report deployment failures without closing the app.
sajeewa-Intrinsic commentedon Oct 9, 2026
Reproduced again on the
26.1007.11041runtime rollout, on the same machine where26.1005.12141caused it before. I also found a config setting in the app bundle that may stop the loop permanently; it's described below but not yet verified.Environment
OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g0(Microsoft Store), Windows 11 Pro 23H210.0.22631, x6426.930.7945.0(2026-10-06):0xC0000005, read of0x0atwindows-updater.node+0x1A779in the browser process. The crashing thread waslibuv-worker, and a heuristic stack scan passes throughAppXDeploymentClient.dll+0x347A0and+0x34030.Timeline
v26-1005-1301-0MSIX download completed and the app crashed 2 s later. Fixed by runningAdd-AppxPackageon the downloaded MSIX, after checking that its SHA-256 matched the app's runtime config and its Authenticode signature (OpenAI OpCo, LLC) was valid.26.1007.11041(v26-1007-641-0) shipped, the app crashed 3 to 3.5 minutes into each of two consecutive launches, leaving two complete 528,530,808-byte MSIX copies inLocalCache\codex-windows-runtime-framework-*. No dump was retained this time, but each session's log stops right after the download, the same as before. The same workaround fixed it again: the digesta2a820d1825a7e4de86749e72d9c53f6450ac7a9fdff13101be488cee24bdc62matched, and after installing it the app stayed up for more than 8 minutes. The log then showedwindows_primary_runtime_framework_ready, thenreason=framework-active, thenprimary_runtime_install_finished status=installed, with no new download.Possible durable mitigation (from reading the 26.1002.7124.0 bundle, not yet verified end-to-end)
The primary-runtime update poller only runs while the app-server feature
workspace_dependenciesis enabled; otherwisegetDisabledReason()returnsfeature-gate-disabled. With the feature off, the manual install path also refuses to run, failing with "Codex dependencies are disabled in settings." The startup restore path only activates a framework that is already registered; it doesn't download or stage anything. So this should break the download,installPrimaryRuntimePackage, crash loop:The cost is losing the bundled runtime and its plugins (documents, pdf, spreadsheets, presentations).
codex features listreports this feature asstableandtrueby default. UnlikeCODEX_SPARKLE_ENABLED=falseor the global-state framework toggle tried above, the app reads this flag fromconfig.tomlthrough the app-server.Request for maintainers: please catch failures in
installPrimaryRuntimePackage/stagePackageand fall back to the archive runtime instead of terminating the browser process. Until then, every runtime rollout breaks affected machines again.