Windows desktop application hangs within 5–7 seconds of launch — WinDbg thread stacks collected
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 36/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- electron, rust
- Domain
- desktop, operating-systems
Research direction
Start by reviewing the retained desktop application logs and WinDbg thread stacks described in the issue, focusing on the main Electron process and the Windows device notification thread. The wait chain points to a possible synchronization or event-loop problem, but the root cause is unconfirmed. Reproduce the startup hang and identify the blocking dependency; done means the app stays responsive after launch.
Written by the indexing model from the issue text.
Description
Environment
- OS: Windows 11 26H2
- Windows build: 26300.10075
- Codex desktop application: 26.1120.6357.0
- Active primary runtime: 26.1123.915.0
- Older primary runtime: 26.1119.907.0 (NotAvailable)
- Architecture: x64
- Graphics: AMD Radeon
- Subscription: ChatGPT Plus
Description
The Codex Windows desktop application consistently becomes unresponsive within approximately 5–7 seconds of launching.
The interface renders successfully and the text input caret continues blinking, but mouse and keyboard interaction becomes impossible. Attempting to type triggers the Windows application not responding dialogue.
The issue is consistently reproducible, including with a clean Codex home directory and clean Electron browser profile.
Reproduction steps
- Launch the Codex Windows desktop application.
- Allow the application to initialise.
- Attempt to interact with the interface.
- The application becomes unresponsive.
Expected behaviour
The application should remain responsive and allow access to projects and conversations.
Diagnostic timestamps
All times UTC, 26 November 2026.
- 20:46:41 — Sandbox service running.
- 20:46:51 — Sandbox provisioning completed successfully during a startup attempt that resulted in a hang.
- Approximately 20:53–20:58 — Application hang reproduced and Windows wait chain inspected.
- Approximately 21:12–21:20 — WinDbg attached and thread stacks collected.
Troubleshooting completed
- Full Windows restart.
- Global state file isolation.
- Clean .codex home directory.
- Clean Electron browser profile.
- Runtime package investigation.
- Sandbox service and provisioning verification.
- GPU acceleration disabled using --disable-gpu.
- YubiKey Nano physically disconnected.
- USB headset disconnected.
- Windows Resource Monitor wait-chain analysis.
- WinDbg manual thread-stack analysis.
None of the above resolved the issue.
Technical findings
The main Electron process becomes unresponsive with negligible CPU usage. Child renderer, GPU and utility processes remain present.
Windows Wait Chain Traversal identified a dependency between two threads within ChatGPT.exe (PID 9828):
- Waiting thread: 22376 (0x5768)
- Thread being waited on: 13352 (0x3428)
Main thread stack
ntdll!NtRemoveIoCompletionEx
KERNELBASE!GetQueuedCompletionStatusEx
chrome!uv_run
...
chrome!uv_run
Waiting device notification thread stack
win32u!NtUserMessageCall
USER32!fnINDEVICECHANGE
USER32!DeviceNotificationCallback
sechost!HandleDeviceInterfaceEvents
sechost!DeviceNotifyEventCallback
cfgmgr32!ProcessDeviceInterfaceEvent
cfgmgr32!ProcessEventBlockList
cfgmgr32!ProcessPlugPlayEventCallback
This suggests a possible main-thread synchronisation or event-loop issue involving Windows device notifications. However, the precise root cause remains unconfirmed, and full Chromium debugging symbols were unavailable.
Sandbox provisioning
Windows Event ID 2000:
Codex sandbox provisioning completed successfully.
The sandbox registry references the current application package.
Runtime deployment errors
The older primary runtime package reports NotAvailable and has repeatedly failed removal with:
0x80073D02: The request cannot be processed because the package is in use.
Application logs indicate that the newer runtime is selected.
Additional information
OpenAI Support has confirmed that there is no known active outage matching this issue and directed me to submit a GitHub bug report.
In-app feedback cannot be submitted because the application becomes unresponsive before the composer can be used.
I have retained the desktop application logs, WinDbg thread stacks, Windows event logs, process handle exports and wait-chain screenshots. Sanitised diagnostic information can be provided as required.
- Dominant language
- Rust
- Stars
- 136k
- Forks
- 21.6k
- Avg merge
- 1m
- Merged PRs (30d)
- 997
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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
-
app bug rate-limits
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Windows PowerShell 5.1: non-ASCII text piped into a native command arrives as `?`Possibly taken @akhil9tiet claimed this today. Openbug CLI tool-calls windows-os
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
openai/codex#64139 · 2 comments ·
Maintainers usually reply within 1 day
-
bug CLI connectivity
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
core-plugins: remote bundle install keeps the temp directory before a fallible rename and leaves it behind on failurePossibly taken @akhil9tiet claimed this 1 day ago. Openbug CLI skills
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openai/codex#63907 · 2 comments ·
Maintainers usually reply within 1 day
-
bug CLI
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openai/codex#63906 · 1 comment ·
Maintainers usually reply within 1 day
Similar issues
-
My Caps shows "Shared" on private Caps that were never sharedPossibly taken @AksharP5 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
CapSoftware/Cap#4569 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Document Web UIOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
parquet: reject truncated BYTE_STREAM_SPLIT numeric pages instead of silently fabricating valuesOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day