Skip to content

[Windows] Codex desktop app crashes after signing in with one specific ChatGPT Pro account (0xC0000005 in windows-updater.node) #52188

Open

Description

@issuetree1213

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

26.1002.7124.0

What subscription do you have?

ChatGPT Pro (both accounts)

What platform is your computer?

No response

What issue are you seeing?

Summary

The Codex Windows desktop application consistently crashes shortly after signing in with one specific ChatGPT Pro account.

I have two separate ChatGPT Pro accounts:

  • Account A (working): Codex launches and operates normally.
  • Account B (affected): Codex automatically exits shortly after sign-in.

Both accounts are tested on the same Windows PC, using the same installed Codex application. Both accounts are accessible through the ChatGPT website.

The issue began on October 8, 2026. I am not aware of any manual Windows or Codex application update immediately preceding the issue.

Crash dump findings

A collected Windows crash dump indicated:

  • Exception code: 0xC0000005 (access violation)
  • Faulting native module: windows-updater.node
  • Module offset: 0x1A789
  • Crash timestamp: 2026-10-08 12:05:11 UTC

The crash appears to involve a native component, but the root cause has not been established.

Impact

The affected ChatGPT Pro account cannot reliably use the Codex Windows desktop application, while another Pro account continues to work normally on the same computer.

The problem also reproduces under a newly created Windows user profile.

What steps can reproduce the bug?

Steps to reproduce

  1. Launch Codex for Windows, version 26.1002.7124.0.
  2. Sign in using ChatGPT Pro Account A.
  3. Observe that Codex launches and works normally.
  4. Switch to ChatGPT Pro Account B.
  5. Observe that Codex automatically exits shortly after signing in.
  6. Launch Codex again using Account B and observe that the problem persists.

Additional reproduction tests

Test 1: New Windows user profile

  1. Create a new Windows user account.
  2. Launch Codex from that Windows user profile.
  3. Sign in using the affected ChatGPT Pro account.
  4. Observe that Codex still crashes.

Result: The issue is reproducible across Windows user profiles.

Test 2: Application reinstall and repair

  • Reinstalled Codex once.
  • Used Windows App Repair once.
  • Neither action resolved the issue.

Test 3: Runtime cache isolation

  1. Close Codex.
  2. Move all 16 existing codex-windows-runtime-framework-* directories out of the application's LocalCache directory into a backup location.
  3. Verify that zero matching directories remain in LocalCache.
  4. Launch Codex using Account A: works normally.
  5. Launch Codex using Account B: crashes again.
  6. Observe that a new runtime directory is created, containing OpenAI.CodexPrimaryRuntime.v26-1007-641-0.msix.

Result: Removing the accumulated runtime directories does not resolve the account-specific crash.

No particular project, prompt, or Codex session is required to reproduce the issue. The failure occurs during or shortly after account sign-in.

What is the expected behavior?

Codex for Windows should launch successfully and remain stable when signing in with either ChatGPT Pro account.

Switching between valid ChatGPT Pro accounts should not cause the application to terminate unexpectedly.

If account-specific initialization, authentication, or runtime setup fails, the application should display a recoverable error rather than crashing.

Additional information

Application and package information

  • Codex version: 26.1002.7124.0
  • Windows package: OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g0
  • Package status reported by PowerShell: Ok

Repeated runtime package creation

I discovered 16 directories under:

%LOCALAPPDATA%\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache

Each directory followed this pattern:

codex-windows-runtime-framework-*

Each contained a file named:

OpenAI.CodexPrimaryRuntime.v26-1007-641-0.msix

Each MSIX file was approximately 504.05 MB, with the 16 directories occupying approximately 7.88 GiB in total.

I moved all 16 directories to a separate backup location and confirmed:

  • Original location: 0 matching directories
  • Backup location: 16 matching directories

After launching Codex again, a new directory appeared:

codex-windows-runtime-framework-ZBHoJp

Creation timestamp: 2026-10-09 02:22:33 (KST, UTC+09:00)

It contained another 504.05 MB MSIX file with the same filename.

This behavior may be relevant to runtime initialization or cleanup, although I cannot confirm that it causes the crash.

Windows AppX deployment event logs

The following errors were recorded during troubleshooting:

  • 0x80073D02: Package registration/repair was blocked because Codex was running.
  • 0x80073D28: Package service registration required administrator privileges.

Subsequent events also indicated successful package registration. These deployment errors may be associated with my manual reinstall and repair attempts rather than the original crash.

Diagnostic information available

I can provide the following privately if requested:

  • Windows crash minidump
  • Windows AppX deployment event logs
  • Runtime package filenames, timestamps, and hashes
  • Additional reproduction details

Please investigate whether account-specific authentication, feature configuration, or initialization interacts with the native updater/runtime components and triggers this crash.

I would also appreciate clarification on whether repeated creation and retention of the runtime MSIX packages is expected behavior.

Activity

  1. added
    app
    on Oct 8, 2026
  2. added
    bug
    windows-os
    auth
    on Oct 8, 2026
  3. mdruy commented on Nov 14, 2026

    @mdruy

    Hello! How did you solve this runtime package errors etc?

    I am daily on the latest public builds of ChatGPT Desktop app and Win 11 Pro 26H2.

    Since less than a week (might be related to 2026-10 Preview Update (KB5127936) or introduced by 2026-11 Security Update (KB5132061) on 11/11/2026), underlying AppX deployment, AppContainer, and package cleanup bugs introduced in this build are also impacting the Desktop ChatGPT / Codex app.

    These 0x80073D02 (ERROR_PACKAGES_IN_USE) errors cannot be resolved on the user side—regardless of any troubleshooting. They only disappear when uninstalling ChatGPT and immediately reappear upon reinstallation:

    At every boot (AppXDeployment-Server - 3 errors):

    • Error 0x80073D02: The request cannot be processed because package OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt is in use.
    • Deployment Remove operation with target volume C: on Package OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt from: (OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt) failed with error 0x80073D02.
    • AppX Deployment operation failed for package OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt with error 0x80073D02. The specific error text for this failure is: Error 0x80073D02: The request cannot be processed because package OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt is in use.

    Every time the ChatGPT / Codex app is opened (AppXDeployment-Server - 2 errors):

    • Error 0x80073D02: The request cannot be processed because package OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt is in use.
    • Deployment Remove operation with target volume C: on Package OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt from: (OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt) failed with error 0x80073D02.

    These errors were already appearing occasionally before these update (for months) on exits/reboots as Codex/OpenAI tries to start this system service early (along with the Codex OpenAI Sandbox service not being able to complete the function - error OS 1800 on the subsequent boot):

    • AppXDeployment (2) : Failed to start system service: appxsvc with error: 0x8007045B (2)
    • CodexSandboxService.OpenAI.Codex (2, sometimes 4) : unable to restore package uninstall listener: open the logged-in user's token and os error 1008
      (last error records disappeares when DelayedStart 1 is added to the service).
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

    appauthbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions