Skip to content

Codex Desktop crash on Windows during Windows Store updater check (windows-updater.node access violation) #27146

Open

Description

@lightcomc

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

26.602.40724

What subscription do you have?

Free

What platform is your computer?

Microsoft Windows NT 10.0.26100.0 x64

What issue are you seeing?

Codex Desktop crashed on Windows during the Windows Store updater check.

Relevant log lines:

2026-06-09T07:02:43.053Z info [windows-store-updater] Checking Windows Store for package updates buildVersion=26.602.4764.0 manifestBuildVersion=26.602.9276.0 packageIdentity=OpenAI.Codex
2026-06-09T07:02:43.326Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=1876 errorCode=null hadInternalHandler=false hadPending=true method=thread/list originWebcontentsId=1 requestId=205c1ae4-3276-4d3e-a22f-8c4681df292f targetDestroyed=false

Dump analysis indicates:
Exception code: 0xC0000005
Faulting module: windows-updater.node
Crash offset/RVA: 0x17C03
Likely cause: null pointer dereference inside windows-updater.node

What steps can reproduce the bug?

What steps can reproduce the bug?

I do not have a minimal deterministic repro yet. The crash occurred during a normal Codex Desktop session when the Windows Store updater check ran.

Observed sequence:

1. Launch Codex Desktop on Windows.
2. Use the app normally.
3. Codex runs the Windows Store updater check.
4. App crashes and Crashpad writes a dump.



### What is the expected behavior?


**Expected behavior:**

```markdown
Codex Desktop should handle Windows Store updater failures or unavailable network/store access gracefully without crashing.

Additional information

Earlier in the same session, the updater also logged:

2026-06-09T06:47:42.879Z error [windows-store-updater] Failed to check for Windows Store updates errorMessage=net::ERR_NETWORK_ACCESS_DENIED

The crash dump timestamp was 2026-06-09T07:02:43Z, matching the updater check timestamp.

Disassembly at the crash offset:

180017c03: 48 8b 01    mov (%rcx),%rax

This is consistent with an access violation reading address 0x0.

undefined

Activity

  1. added
    appIssues related to the Codex desktop app
    on Jun 9, 2026
  2. added
    bugSomething isn't working
    windows-osIssues related to Codex on Windows systems
    on Jun 9, 2026
  3. lightcomc commented on Jun 28, 2026

    @lightcomc
    Author

    Delete file as workaround

    `$p = 'C:\Program Files\WindowsApps\OpenAI.Codex_26.623.4041.0_x64__2p2nqsd0c76g0\app\resources\native\windows-updater.node'

    "=== BEFORE ==="
    "IO.File.Exists : $([IO.File]::Exists($p))"
    cmd /c "if exist "$p" (echo cmd: EXISTS) else (echo cmd: NOT_EXISTS)"
    try { "Owner : $((Get-Acl -LiteralPath $p).Owner)" } catch { "Owner : $($_.Exception.Message)" }

    "`n=== takeown (current user, no /a) ==="
    takeown /f $p

    "`n=== icacls /grant ==="
    icacls $p /grant "${env:USERNAME}:(F)" /grant '*S-1-5-32-544:F'

    "n=== Remove-Item ===" Remove-Item -LiteralPath $p -Force -ErrorAction Continue "n=== fallback: del /f /q ==="
    cmd /c "del /f /q "$p" && echo DEL_EXITCODE:0 || echo DEL_EXITCODE:$errorlevel"

    "n=== AFTER ===" "IO.File.Exists : $([IO.File]::Exists($p))" cmd /c "if exist "$p" (echo cmd: EXISTS) else (echo cmd: NOT_EXISTS)"

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

    appIssues related to the Codex desktop appbugSomething isn't workingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions