Skip to content

Windows desktop app crashes on launch in windows-updater.node #27327

Open

Description

@hate7354

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

26.608.12217

What subscription do you have?

business

What platform is your computer?

Windows 11 Pro 10.0.26200 Build 26200, x64

What issue are you seeing?

The Windows Codex desktop app crashes immediately on launch.

Installed package:

- Package: OpenAI.Codex
- Version: 26.608.1337.0
- PackageFullName: OpenAI.Codex_26.608.1337.0_x64__2p2nqsd0c76g0
- InstallLocation: C:\Program Files\WindowsApps\OpenAI.Codex_26.608.1337.0_x64__2p2nqsd0c76g0
- Package status: Ok

Launch behavior:

- Starting the app from Start Menu or `shell:AppsFolder\OpenAI.Codex_2p2nqsd0c76g0!App` creates a process.
- The process exits after about 1-2 seconds.
- No usable desktop window remains.
- Running as Administrator does not fix it.

Logs only show
Launching app ... buildFlavor=prod enableSparkle=false enableUpdater=true packaged=true platform=win32
Appshot hotkey inactive configured=true enabled=true platform=win32
Every launch creates a Crashpad dump.
Minidump analysis:
Exception code: 0xe06d7363
Exception address: KERNELBASE.dll
Crashing stack/module references: windows-updater.node
Observed offsets include:
windows-updater.node + 0xf83e0
windows-updater.node + 0xdb648
windows-updater.node + 0xdb390
This looks like a native Windows updater crash during startup, not a CLI issue, permission issue, or GPU issue.

### What steps can reproduce the bug?

```markdown
1. Install/Open the Windows Codex desktop app.
2. Launch it from Start Menu, or run:
Start-Process 'shell:AppsFolder\OpenAI.Codex_2p2nqsd0c76g0!App'
Wait 1-2 seconds.
The app exits before a usable window appears.
A Crashpad dump is created under:
C:\Users\<user>\AppData\Local\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache\Roaming\Codex\web\Codex\Crashpad\reports
Workaround found:
Running a copied, unpackaged app directory from D:\Codex-Desktop\codex-desktop-local\app\Codex.exe avoids the fatal startup crash. In that mode updater setup logs an error about missing process package identity, but the app continues and reaches window ready-to-show.
Expected behavior:
The desktop app should open normally. If updater initialization fails, it should fail gracefully and not terminate the app.
Actual behavior:
The packaged Windows app crashes immediately during startup, apparently inside windows-updater.node.

What is the expected behavior?

No response

Additional information

No response

Activity

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

    @github-actions
    Contributor
  4. lightcomc commented on Jun 28, 2026

    @lightcomc

    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)"

  5. Cjdade commented on Sep 2, 2026

    @Cjdade

    I can confirm a closely related crash on a newer Windows desktop build.

    Environment:

    • Windows x64
    • OpenAI.Codex package: 26.825.6671.0
    • Executable: ChatGPT.exe
    • Package status: Ok

    Behavior:
    The app launches, then closes abruptly. Reinstalling/resetting the app, clearing local cache/profile data, launching with --disable-gpu, and temporarily stopping Cloudflare WARP did not resolve it.

    Crashpad produced a browser/main-process dump. I analyzed it with WinDbg using !analyze -v.

    Result:

    • ExceptionCode: 0xC0000005 (Access violation)
    • Attempt to read: 0x0000000000000000
    • PROCESS_NAME: ChatGPT.exe
    • MODULE_NAME: windows_updater
    • IMAGE_NAME: windows-updater.node
    • SYMBOL_NAME: windows_updater+2d693
    • FAILURE_BUCKET_ID: INVALID_POINTER_READ_c0000005_windows-updater.node!Unknown
    • FAILURE_ID_HASH: {7b9794d0-f3f3-7479-ed02-c55445dc3401}

    The faulting instruction is:
    mov rax,qword ptr [rcx]

    WinDbg identifies this as a NULL pointer read inside windows-updater.node.

    Crashpad sidecar:
    {"capture_kind":"crash","osarch":"x86_64","ptype":"browser"}

    I can provide the crash dump privately if a maintainer needs it.

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