[Windows Desktop] Window disappears, residual processes block relaunch, GPU process crashes, and AppX registration repeatedly breaks
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- rust
- Domain
- desktop, operating-systems
Research direction
No source file, test, or code entry point is named. Start by reproducing the intermittent window loss and reviewing the Codex desktop logs alongside Windows Application and AppX deployment events. Done means GPU subprocess failure no longer removes the window, residual processes do not block relaunch, and updates preserve Start/taskbar registration without repeated reinstallations.
Written by the indexing model from the issue text.
Description
What version of the Codex App are you using?
The issue has reproduced across these Microsoft Store builds:
- 26.707.9981.0
- 26.721.3996.0
- 26.721.4979.0
The current installed package is OpenAI.Codex_26.721.4979.0_x64__2p2nqsd0c76g0.
What platform is your computer?
Windows 11 x64, hybrid AMD Radeon + NVIDIA GeForce RTX 3050 Ti laptop.
What issue are you seeing?
Codex Desktop repeatedly loses its visible window and taskbar/Start registration. The application does not reliably relaunch afterward unless it is reinstalled or all residual processes are forcibly stopped and the existing AppX package is re-registered.
There appear to be two linked failure modes:
- The embedded Chromium GPU subprocess crashes and then fails to relaunch.
- Microsoft Store/AppX repeatedly repairs or stages the already-installed package, sometimes leaving the user registration invalid and the normal launcher missing.
When the visible window disappears, multiple ChatGPT.exe, codex.exe, and codex-code-mode-host.exe processes can remain alive. Clicking the normal launcher then does nothing. Reinstalling from Microsoft Store seems to help only because Store force-stops the residual processes and re-registers the package.
This is severely disruptive: the user has had to reinstall the approximately 743 MB package repeatedly just to reopen the app.
Timeline and evidence
- 2026-07-14: Store update initially failed with
0x80073D02(package files in use), then completed. - 2026-07-15 20:21 local: first large crash wave began on 26.707.9981.0.
- Windows Application log recorded 124 repeated
Application Errorevent 1000 entries for the sameChatGPT.exeprocess, exception0xc06d007f, faulting module unknown. - 2026-07-24: build 26.721.3996.0 was installed. Repeated AppX operations then reported
0x80073CF8,0x80073CF2,StageUserDataAsync,Package data is invalid, and0x80073D02. - Codex desktop logs showed the visible app exiting immediately after:
Recoverable Chromium child process gone ... processType=GPU reason=crashed Recoverable Chromium child process gone ... processType=GPU reason=launch-failed - The GPU crash was reproduced with different embedded-browser sites, so it was not specific to Gmail or one webpage.
- A clean uninstall/reinstall installed 26.721.4979.0 but did not permanently resolve the behavior.
- 2026-07-25 19:19:09 UTC and 20:01:07 UTC: GPU subprocess again logged
reason=crashedwith exit code101457950, immediately followed byreason=launch-failedwith exit code18. - After force-stopping all residual Codex processes, re-registering the existing manifest, and relaunching, the app worked again without a Store download.
- 2026-07-26 12:47 local: AppX deployment produced new servicing warnings while operating on 26.721.4979.0:
0x80070005— could not get security descriptor / access denied0x80073CFC— hard-link/package servicing failure0x8007051D— could not check access- AppX events 477 and 486 referenced files inside the signed WindowsApps package tree.
- The Start-menu registration has alternated between being absent and returning as
OpenAI.Codex_2p2nqsd0c76g0!App.
Steps to reproduce
The exact trigger is intermittent, but the observed sequence is:
- Run Codex Desktop normally on Windows for several hours.
- Use one or more in-app browser/webview tabs.
- The visible window disappears without a useful user-facing error.
- Inspect Task Manager: multiple Codex/ChatGPT helper processes remain.
- Try to launch Codex again from Start/taskbar: no usable window appears.
- Microsoft Store may show Install/Update even though
Get-AppxPackage OpenAI.Codexreports the package installed andStatus: Ok. - Store reinstall/repair temporarily restores launchability.
Expected behavior
- A recoverable Chromium GPU subprocess failure should not destroy the visible application window.
- If the window closes, all app-owned processes should exit cleanly or allow a new instance to start.
- App updates should not race with a running instance or corrupt user registration.
- The Start/taskbar launcher should remain registered across updates.
- Users should never need to download and reinstall the same package repeatedly to relaunch Codex.
Workarounds tested
- Clearing only GPU/Dawn/shader caches: did not resolve recurrence.
- Re-registering the AppX manifest: temporarily restores launchability.
- Resetting the embedded-browser profile: did not permanently resolve it.
- Clean uninstall/reinstall: did not permanently resolve it.
- Setting Windows per-executable
GpuPreference=2to use the discrete NVIDIA GPU: reduced GPU failures temporarily but did not prevent later AppX servicing/registration errors. - Force-stopping residual Codex processes, re-registering the existing manifest, and launching the executable directly reliably avoids another Store download.
Ruled out locally
- NVMe and NTFS report healthy; no disk, Ntfs, stornvme, WHEA, or display-driver error events correlate with the failures.
- AMD and NVIDIA display devices report no PnP problems.
- The first crash predates later installations of Tailscale, Chrome Remote Desktop, and Chrome.
- No GPU driver installation occurred in the inspected onset window.
Privacy note
This report intentionally omits the Windows username, hostname, project names, conversation contents, session identifiers, and complete local paths. Sanitized log excerpts or additional event details can be provided if maintainers request them.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- Avg merge
- 1m
- Merged PRs (30d)
- 1k
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openai/codex
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug CLI windows-os
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
macOS sandbox blocks hw.optional.arm64 sysctl, causing Flutter to misdetect Apple Silicon as x64 Openbug CLI sandbox
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug CLI TUI
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
CLI config enhancement skills
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
A-linter
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oxc-project/oxc#26863 ·