Windows app hangs ("not responding") after launch — main process blocks forever in HID device enumeration (HID.node → hid.dll) when one HID device doesn't respond
What version of the Codex App are you using (From “About Codex” dialog)?
26.715.2305.0 (Microsoft Store package; internal release 26.715.21425 per desktop logs)
What subscription do you have?
ChatGPT Pro
What platform is your computer?
Windows 11 Home 10.0.26200 x64
What issue are you seeing?
Summary
Since the mid-July update (first 26.707.x, still present in 26.715.2305.0), the Codex Windows desktop app (ChatGPT.exe) becomes unresponsive ("stopped interacting with Windows") shortly after every launch. Windows Application event log fills with Application Hang (Event ID 1002, MoAppHang) entries; on 26.707.x builds the same condition crashed the app instead (exception 0xc06d007f). The app worked fine for months before this update on the same machine.
Root cause (diagnosed locally)
I sampled the hung UI thread's native stack of the main process:
ntdll.dll (blocked in kernel device I/O wait)
KERNELBASE/KERNEL32
hid.dll
HID.node <- bundled native module in app.asar build
chrome.dll (Electron main)
The main process enumerates HID devices on the UI thread (presumably the Codex Micro / accessory-detection path added in the July builds). One of my HID devices — a Corsair composite mouse, VID_1B1C&PID_1B75, exposing 4 HID interfaces — was in a bad state where opening its HID interfaces blocks indefinitely: CreateFileW (even with access mask 0, share RW) never returns. I verified this with an out-of-process probe: all other 30 HID interfaces on the system open + HidD_GetProductString in <100 ms, while all 4 interfaces of that device hang past any timeout.
The UI thread blocks in roughly 60-second cycles (window briefly becomes responsive between cycles, then blocks again). Because the main thread is blocked, worker/IPC traffic piles up and times out, producing misleading secondary log errors such as:
Timed out waiting for MCP response to plugin/listworker_rpc_response_error "Failed to resolve git common dir: git process timed out after 60000ms"mcpServerStatus/list ... durationMs=65209
Verification
Unplugging the offending HID device immediately and completely fixes the hang; the app then runs normally. No other software on the machine was affected by this device, since ordinary apps don't enumerate HID.
Expected behavior
HID enumeration should not run (or synchronously block) on the main thread, and per-device opens should be wrapped with timeouts — a single unresponsive HID device shouldn't freeze the entire app window.
Related issues
This looks closely related to the Codex Micro / Work Louder device-kit reports #33606, #33375, #33518, #33567, #33409 — my 0xc06d007f Application Error events on 26.707.x (17 events on Jul 16 alone) match the serialport.node delay-load failures described there. This report adds the 26.715 manifestation with a captured native stack: the HID.node path blocks the UI thread indefinitely on a real, unresponsive HID device, with a confirmed hardware trigger and unplug-verification.
Additional note (possibly a separate issue)
While diagnosing this I also found: if the MSIX package is installed on a secondary drive (Windows EFS-encrypts package files there by design), every "bundled executable relocation" copy fails with errno -4094 (ERROR_ENCRYPTION_FAILED surfaced as UNKNOWN, bundled_executable_relocation_failed ... during copy_directory) and the app retries endlessly on every focus event; on Windows Home (no EFS support) this is unrecoverable until the app is reinstalled on the system drive. Consider COPY_FILE_ALLOW_DECRYPTED_DESTINATION or a read+write fallback for that copy path.
What steps can reproduce the bug?
- Use a Windows machine with a HID device whose interfaces do not answer open requests. In my case: a Corsair composite mouse (
VID_1B1C&PID_1B75, 4 HID interfaces) in a wedged state —CreateFileWon any of its HID interface paths never returns (verified with an out-of-process probe; every other HID interface on the system opens in <100 ms). - Launch the Codex Windows app (26.715.2305.0, Microsoft Store).
- The window renders, then goes "Not responding" within seconds, and stays in ~60-second block cycles (briefly responsive between cycles). Windows logs Event ID 1002 (MoAppHang) for ChatGPT.exe on every launch.
- Unplug the offending HID device — the app immediately and permanently becomes responsive again.
Note: reproducing requires a HID device in this stuck state, which is why the bug appears hardware-random across users. Any HID device whose driver stalls opens will trigger it, since the enumeration happens on the main thread. On 26.707.x the same code path crashed instead (0xc06d007f, 17 Application Error events on Jul 16 alone on my machine).
What is the expected behavior?
HID/accessory detection (Codex Micro / device-kit path) should run off the main thread and wrap per-device opens with timeouts. A single unresponsive HID device should never freeze the entire app window, and its failure should degrade gracefully (skip the device, log once, no endless retry).
Additional information
No response
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
- #33529
Powered by Codex Action
Same, After the update, it's impossible to work.
Impossible to work after the update, same problem
I can reproduce a closely related issue with a Corsair Gaming K63 keyboard on the exact same Codex Desktop package.
Environment
- Codex Desktop:
OpenAI.Codex_26.715.2305.0_x64__2p2nqsd0c76g0 - Keyboard: Corsair Gaming K63
- USB hardware ID:
VID_1B1C&PID_1B40 - Corsair virtual bus driver:
3.0.88.0(2022-07-27) - iCUE: updated to the latest version currently offered
- Keyboard firmware: updated to the latest version currently offered
Normal-mode HID layout
In normal mode, Windows exposes the physical keyboard as a composite device with two USB interfaces and several HID collections:
USB\VID_1B1C&PID_1B40&MI_00
USB\VID_1B1C&PID_1B40&MI_01
HID\VID_1B1C&PID_1B40&MI_00&COL01 Keyboard
HID\VID_1B1C&PID_1B40&MI_00&COL02 Consumer control
HID\VID_1B1C&PID_1B40&MI_00&COL03 Vendor-defined
HID\VID_1B1C&PID_1B40&MI_00&COL04 Vendor-defined
HID\VID_1B1C&PID_1B40&MI_01 Vendor-defined
The Corsair software stack also exposes:
Corsair composite virtual input device
Corsair Bus
Reproduction and A/B isolation
- Start Codex with the K63 connected in normal mode.
- Use Codex normally.
- After some time, Codex begins experiencing severe intermittent stalls and becomes non-responsive for several seconds at a time.
- Disconnect only the K63 USB cable.
- Codex becomes responsive immediately, without restarting or terminating the application.
This has been reproduced more than once. Other USB devices can remain connected; disconnecting the Corsair keyboard alone is sufficient to recover Codex.
I also performed all of the following:
- updated iCUE;
- updated the keyboard firmware;
- reset the keyboard by reconnecting it while holding Escape;
- disconnected all USB devices and reconnected them one by one.
These actions temporarily improved the behavior, but the severe stalls returned in normal keyboard mode.
BIOS-mode comparison
After switching the K63 to BIOS mode, Windows exposes a much simpler physical HID layout:
USB\VID_1B1C&PID_1B40
HID\VID_1B1C&PID_1B40
The MI_00, MI_01, COL01, COL02, COL03, and COL04 child interfaces disappear. Corsair composite virtual input device and Corsair Bus remain present.
With the keyboard in BIOS mode:
- active Codex conversations appear stable;
- the previous severe in-thread stalls have not reproduced so far;
- a short stall still occurs the first time an uncached conversation history is opened.
I tested that remaining first-open stall with the K63 physically disconnected. It still occurs without the keyboard and disappears on subsequent switches after the conversation has been loaded. That remaining symptom therefore appears to be a separate conversation-history loading/caching issue, not part of the Corsair HID problem.
I also queried the Windows Application event log immediately after one of the stalls for ChatGPT.exe, HID.node, serialport.node, 0xC06D007F, and MoAppHang. No matching Application events were recorded in the checked ten-minute window, possibly because these shorter stalls recover before Windows records an application hang.
This appears consistent with the synchronous HID enumeration problem described in this issue, but with a Corsair composite keyboard rather than the Corsair composite mouse in the original report. BIOS mode is currently an effective mitigation for the severe stalls on this system.
A supported temporary option to disable Codex Micro/accessory discovery would be useful until HID enumeration is moved off the main thread and protected by per-device timeouts.
Just tested again and it’s also happening with my Corsair K70 keyboard and Scimitar mouse when connected
I have all Razer peripherals, plus a Lian Li LED controller.
I'm not sure which device is actually causing the issue, but it's extremely frustrating. Everything worked flawlessly before the update.
I can reproduce a closely related Windows failure on a different hardware configuration, with a useful version and workaround comparison.
Environment
- Windows 11 Pro x64, version
10.0.26100, build26100 - NVIDIA GeForce RTX 2070 SUPER
- NVIDIA driver
32.0.16.1047 - 15.9 GB RAM
- No Corsair or Razer device appears by name in the current PnP inventory. Windows exposes generic HID devices and a generic USB composite device.
- Current working package after downgrade:
OpenAI.Codex_26.707.9564.0_x64__2p2nqsd0c76g0
Version history and observed failures
26.707.9981.0
Windows repeatedly recorded Application Error Event ID 1000:
Faulting application: ChatGPT.exe
Faulting module: unknown
Exception code: 0xc06d007f
Package: OpenAI.Codex_26.707.9981.0_x64__2p2nqsd0c76g0
This coincided with severe Codex UI lag and brief system-wide mouse/input freezing. It reproduced many times on July 15 and 16.
26.715.2305.0
After updating to the current Store build, the app became nonresponsive shortly after launch and had to be closed. Windows recorded Application Hang Event ID 1002 for ChatGPT.exe version 150.0.7871.124 at:
- 2026-07-17 14:34:48
- 2026-07-17 14:40:39
- 2026-07-17 14:50:31
- 2026-07-17 15:56:31
The affected-build desktop log contains repeated warnings matching the secondary symptom described in this issue:
Failed to resolve git common dir: git process timed out after 60000ms
Failed to resolve git root: git process timed out after 60000ms
The stack traces point into the packaged 26.715.2305.0 Electron worker. I have not sampled the native UI-thread stack, so I cannot independently confirm that HID enumeration is the root cause on this machine.
Controlled GPU workaround on the older build
On 26.707.9564.0, disabling Chromium hardware acceleration in Codex's persisted Electron profile and recreating the GPU/shader caches resolves the severe renderer/GPU pressure:
"hardware_acceleration_mode": { "enabled": false },
"hardware_acceleration_mode_previous": false
Caches recreated:
GPUPersistentCacheGrShaderCacheShaderCacheDefault/DawnGraphiteCacheDefault/DawnWebGPUCacheDefault/GPUCache
Controlled send capture before the change:
- Renderer CPU: 17.5% average of one core, 85% maximum
- GPU subprocess CPU: 21.1% average, 38% maximum
Controlled send capture after the change:
- Renderer CPU: 0%
- GPU subprocess CPU: 0%
- Independent 45-second confirmation showed no spikes above 60%
No new ChatGPT.exe Event ID 1000 or 1002 entries have appeared since downgrading to 26.707.9564.0. The currently running process started at 15:58:44 and remains responsive.
The hardware-acceleration preference survived the update and downgrade and is still false. Despite that, 26.715.2305.0 still became nonresponsive at launch. This suggests the newer launch hang is separate from, or occurs before, the renderer/GPU workaround can help.
Requested fixes
- Prevent optional HID/accessory discovery from blocking the Electron main/UI thread, and apply a timeout per device.
- Add a supported Codex setting or safe-start option to disable hardware acceleration.
- Ensure the persisted hardware-acceleration preference is honored before GPU/renderer initialization.
- Keep optional native integration failures isolated so they cannot hang or terminate the entire app.
I have retained the local desktop logs and Windows event details. I have not uploaded raw logs because they contain task/session identifiers, but I can provide sanitized excerpts if maintainers request them.
Adding a device-specific confirmation for the Corsair K70 LUX, plus a handle-level isolation result and a control run with Codex features restored.
Environment
- Windows 11 Pro 25H2, build
26200.8875 - Codex Desktop
OpenAI.Codex_26.715.2305.0_x64__2p2nqsd0c76g0 - Corsair Gaming K70 LUX
- USB ID
VID_1B1C&PID_1B36 - No Codex Micro / Work Louder device connected
Reinstalling Codex and resetting its local Electron profile did not stop the intermittent hangs.
Main-thread and device-handle isolation
Repeated live stack samples while ChatGPT.exe was non-responsive showed its main/UI thread blocked in this path:
ntdll!NtDeviceIoControlFile
KERNELBASE!DeviceIoControl
KERNEL32!DeviceIoControl
hid.dll!HidD_SetFeature / HidD_Get*String
HID.node
chrome.dll
The packaged HID.node is under the bundled @worklouder/device-kit-oai / node-hid integration.
I resolved the remote device handles back to their Windows PnP PDOs. The useful isolation result was:
- Initially blocked on
HID\VID_1B1C&PID_1B36&MI_00&COL04(\Device\0000006f). - After temporarily disabling only
COL04, the block moved toHID\VID_1B1C&PID_1B36&MI_01(\Device\00000071). - After temporarily disabling
MI_01, the block moved again toMI_00&COL01(\Device\0000006c), the actual keyboard collection.
All temporarily disabled interfaces were restored afterward. This shows that disabling a single vendor-defined collection is not a reliable workaround: the synchronous scan simply proceeds to another interface, eventually including the keyboard collection itself.
BIOS-mode A/B result
In normal mode, Windows exposed eight K70-related PnP entries: the USB composite device, two USB input interfaces, and five HID collections (COL01 through COL04, plus MI_01).
Moving the K70 LUX hardware polling switch to BIOS reduced that layout to two entries:
HID\VID_1B1C&PID_1B36
USB\VID_1B1C&PID_1B36
The already-hung Codex process became responsive immediately, without first restarting it.
For a final control run, I restored the Codex features I had temporarily disabled during diagnosis: apps, plugins, and remote_plugin were all enabled again. I then fully restarted Codex with the K70 still in BIOS mode and sampled the main process every two seconds for approximately 102 seconds:
- zero non-responsive main-process samples;
- zero non-responsive child-process samples;
- more than ten accessory-discovery/reconnect intervals passed;
- main-process working set settled from approximately 1.12 GB during startup to about 292 MB;
- the first
app/listcompleted in 10.566 seconds, subsequent calls in 254–272 ms; plugin/listcompleted in 365–568 ms;- no actual app/plugin timeout was logged.
This complements the K63 BIOS-mode report above with the K70 LUX PID, direct handle-to-interface mapping, and a final run showing that stability followed the HID layout change rather than disabling apps or plugins. On this system, the observed freeze was an HID I/O wait and was not correlated with monotonic memory growth during the validation window.
Adding a controlled iCUE startup-order A/B reproduction and descriptor-level timing for the same Corsair Harpoon PID reported here.
Environment
- Windows 11 Home 25H2, build
26200.8875, x64 - Codex Desktop
OpenAI.Codex_26.715.2305.0_x64__2p2nqsd0c76g0 - iCUE
5.11.95 - Corsair virtual bus driver
3.0.88.0 - Corsair Harpoon RGB PRO:
VID_1B1C&PID_1B75, HIDbcdDevice/VER_0314 - Corsair K100 also connected, but a per-interface probe isolated the blocking calls to the Harpoon
- No Codex Micro / Work Louder device connected
Main-thread evidence
Three consecutive dumps of the non-responsive Codex main process, captured over approximately nine seconds, showed the same main/UI-thread path:
ntdll
KERNELBASE / KERNEL32
hid.dll
HID.node
chrome.dll
The bundled module path is under @worklouder/device-kit-oai -> @worklouder/wl-device-kit -> node-hid.
Inspection of the packaged application flow showed:
CodexMicroBridge.getState()
-> CodexMicro service start/connect
-> findWLDevices([Project2077])
-> nodeHID.devices()
The global HID enumeration occurs synchronously even though discovery is looking for a Work Louder device. With no matching device, the service schedules another discovery attempt approximately every 10 seconds.
Per-interface timing
An out-of-process probe tested all 17 present HID interfaces individually.
- Every non-Harpoon interface completed in 1-65 ms.
- All four Harpoon interfaces stalled immediately after
HidD_GetAttributes, specifically insideHidD_GetManufacturerString, until the probe's 4,000 ms timeout:MI_01MI_00&COL01MI_00&COL02MI_00&COL03
- Normal pointer input continued working while these descriptor requests were blocked.
Controlled startup-order reproduction
- With iCUE active, restarting Codex reproduced the frozen UI and four Harpoon descriptor timeouts.
- Stopping iCUE after the device had entered the bad state did not unwind it.
- Performing Corsair's full wired-mouse reset while Codex remained open and iCUE was stopped immediately restored all four interfaces to about 6 ms each and made Codex responsive.
- Codex then passed 42/42 responsive samples across more than four 10-second discovery/reconnect intervals.
- Starting iCUE after Codex was already running remained healthy: another 42/42 responsive samples, with all four interfaces still at about 6 ms.
- Restarting Codex while iCUE was active immediately reproduced the hang and four 4-second timeouts.
- After repeating the mouse reset, restarting Codex with iCUE still off remained healthy. Disabling iCUE automatic startup and rebooting also produced a responsive Codex startup.
This makes iCUE's presence specifically during Codex startup a reliable trigger on this configuration. The lower-level Corsair defect may be in iCUE, mouse firmware, or their driver interaction, but optional device discovery in Codex should still be isolated from the Electron main thread and bounded by timeouts.
Confirmed workaround
Disable iCUE automatic startup, launch Codex first, and only start iCUE afterward if needed. Close iCUE before restarting Codex.
Raw dumps were retained locally but are intentionally not attached publicly because they may contain process-memory data. Sanitized excerpts can be provided if maintainers request them.
In-app /feedback has now been submitted with the current ChatGPT session logs for this reproduction.
Feedback/session ID: 019f6e4e-b91f-7f92-b50a-c7eede7d000c
This corresponds to the controlled iCUE startup-order and HID timing evidence in my diagnostic comment above.
Important correction to my earlier iCUE startup-order report: iCUE is not required for the fault to recur.
After a clean reboot with iCUE automatic startup disabled:
- no iCUE or Corsair user processes were running;
- no iCUE or Corsair services were running;
- Codex started normally and initially remained responsive;
- approximately 24 minutes after the Codex process started, the severe lag returned.
A fresh per-interface probe at that point again showed exactly four timeouts, all on the Harpoon VID_1B1C&PID_1B75 interfaces:
MI_01MI_00&COL01MI_00&COL02MI_00&COL03
Each reached the probe's 4,000 ms timeout immediately after HidD_GetAttributes; the K100 interfaces remained healthy. The Codex main window was non-responsive during the same capture.
After disconnecting the Harpoon and switching to a Dell USB mouse (VID_413C&PID_3029):
- the Harpoon disappeared from the present PnP/HID inventory;
- every remaining HID interface completed in approximately 1-6 ms;
- the existing Codex process recovered without being restarted;
- Codex passed 45/45 responsive samples across multiple accessory-discovery intervals;
- a final full HID probe reported zero timeouts.
Revised conclusion and workaround
iCUE can accelerate or reliably trigger the bad Harpoon state during Codex startup, but it is not the sole cause. The Harpoon can re-enter the stalled descriptor state while iCUE is completely absent, plausibly after repeated global HID discovery calls.
The reliable temporary workaround is to leave the Harpoon disconnected and use a different non-Corsair mouse until Codex moves accessory discovery off the main thread, adds timeouts/filtering, or provides a supported opt-out.
Adding another device-specific confirmation with a controlled A/B result.
Environment
- Codex Desktop:
OpenAI.Codex_26.715.2305.0_x64__2p2nqsd0c76g0(internal desktop version26.715.21425) - Corsair Gaming K70 LUX RGB keyboard
- USB ID:
VID_1B1C&PID_1B33 - No iCUE user processes were running; related Corsair/iCUE services were stopped or disabled
Failure evidence
Immediately after the Microsoft Store update, Codex became repeatedly unusable. Windows recorded:
- 11
AppHangTransientWER reports forChatGPT.exe - 1 Application Hang event (Event ID 1002)
- Codex log errors including
Timed out waiting for MCP responseand repeatedgit process timed out after 60000ms
In normal keyboard mode, Windows exposed eight K70-related composite USB/HID entries.
BIOS-mode A/B
Moving the K70's hardware polling selector to BIOS reduced the present device layout from eight entries to two standard entries:
USB\VID_1B1C&PID_1B33
HID\VID_1B1C&PID_1B33
The already-running Codex process became responsive immediately, without restarting it.
I then sampled that same process every 10 seconds for 305 seconds:
- 30/30 main-process samples were responsive
- all 11 package processes remained alive
- the app stayed responsive through an aggregate CPU spike of approximately 74%
- zero new
AppHangTransientreports - zero new Event ID 1002 records
- 69 post-switch log lines contained zero MCP timeouts, Git timeouts,
HID.node/hid.dllerrors, or explicit hangs
Finally, I fully restarted Codex while the keyboard remained in BIOS mode. The new process tree started in the interactive desktop session, all 10 package processes were responsive on delayed verification, and there were still zero new WER hangs or Event ID 1002 records.
This strongly supports the synchronous HID-enumeration diagnosis and also confirms that iCUE is not required for this failure. BIOS mode is an effective temporary workaround on this K70 variant, but it disables/reduces normal keyboard functionality and is not a reasonable permanent fix.
Could this regression please be prioritized? A supported temporary opt-out for accessory discovery would also help until HID enumeration is moved off the Electron main thread and protected by per-device timeouts.
Also, this https://gist.github.com/triesmon/bdc20a18ec34108e2608c1294c451f86 workaround posted in other issue worked for me, but its temporary and we need something official and permanent
I managed to catch the hang with ProcDump on Codex 26.715.2305.0 and checked the dump in WinDbg.
!analyze -hang shows the main CrBrowserMain thread blocked here:
NtDeviceIoControlFile DeviceIoControl hid.dll!DeviceIoControlHelper HidD_GetManufacturerString node-hid/HID.node
The loaded HID module is from:
@worklouder/device-kit-oai -> @worklouder/wl-device-kit -> node-hid -> HID.node
Failure bucket:
APPLICATION_HANG_BlockedOn_DeviceIO_cfffffff_hid.dll!DeviceIoControlHelper
serialport.node was not loaded in this dump, so this one is definitely the HID path.
I then checked the device VID/PID from the dump and Windows device list. The device it seems to get stuck on is:
VID_1B1C PID_1B8B
This is my Corsair Scimitar RGB Elite. Windows exposes it as a composite HID device with mouse, keyboard, consumer control and vendor-specific interfaces.
So the Scimitar seems to be the trigger on my machine, but the actual bug is still in Codex: it is querying HID device information synchronously on the Electron main thread with no timeout. One HID request getting stuck freezes the whole app.
I do not have any Codex Micro / Work Louder device connected.
Best workaround is to rollback! Forced to use CLI today. Rollback with https://github.com/Wangnov/codex-app-mirror/releases#release-codex-app-26.707.71524 and done with it.
I can confirm the same issue with a different Corsair HID device.
Environment
- ChatGPT/Codex Windows app:
26.715.2305.0 - Desktop/internal version:
26.715.21425 - Windows 11
Hardware
- Corsair K55 RGB keyboard
- No Corsair iCUE installed
- Connection path: PC → USB hub → keyboard
I captured a WinDbg hang dump while the app was unresponsive. The CrBrowserMain thread was blocked in:
NtDeviceIoControlFile
→ DeviceIoControl
→ HidD_GetManufacturerString
→ HID.node / node-hid
→ @worklouder/device-kit-oai
I isolated the keyboard by disconnecting devices individually. When the app hangs, unplugging only the Corsair K55 immediately restores responsiveness without restarting the app.
I also submitted diagnostics through the desktop feedback dialog:
no-active-thread-019f7131-dd51-7a73-b633-66083d8ba90a
I have the WinDbg stack output and a full hang dump available if needed.
Additional privacy-safe reproduction
- Codex Windows MSIX package:
26.715.2305.0; browser process reports Chromium150.0.7871.124. - Windows recorded
MoAppHang/ Application Hang Event ID 1002 forChatGPT.exe. - Available RAM was normal at the incident, so this was not an out-of-memory condition.
- No dump, session data, file paths, account data, timestamp, or device identifiers are attached or included here.
A ProcDump triage dump was captured only after the application window was confirmed hung. The hung process's UI thread was explicitly named CrBrowserMain and was blocked in this native call chain:
ntdll!NtDeviceIoControlFile
KernelBase!DeviceIoControl
kernel32!DeviceIoControlImplementation
hid.dll!DeviceIoControlHelper
hid.dll!HidD_GetSerialNumberString
HID.node + offset
The installed package contains the bundled chain @worklouder/device-kit-oai -> @worklouder/wl-device-kit -> node-hid -> HID.node. This independently confirms that the Codex browser/main UI thread can synchronously block while an optional HID integration reads a device serial number.
The HID devices reported normal PnP status at capture time. The implementation should avoid serial-number/device enumeration on the browser UI thread and ensure an unresponsive HID driver/device cannot block it.
Another affected user with a closely matching failure on the same package version.
Environment
- Windows 11 Pro 25H2 (Build 26200.8655)
- Intel Core i7-12700KF
- NVIDIA RTX 3070
- 32 GB RAM
- Package:
OpenAI.Codex_26.715.2305.0_x64__2p2nqsd0c76g0 ChatGPT.exeversion:150.0.7871.124
Behavior
- The app worked normally before the latest update.
- After updating, it freezes immediately after launch and Windows marks it as Not Responding.
- CPU usage stays near 0% while hung; memory remains around 400–450 MB.
- The UI does not recover.
Troubleshooting already tried
- Reinstalled the app from the official OpenAI website.
- Restarted Windows.
- Renamed
%USERPROFILE%\.codex, which allowed one fresh start/sign-in. - Restored the original
.codex; projects and sessions reappeared, confirming the local project data is intact, but the startup freeze returned.
Event Viewer
Windows records:
Application Hang, Event ID1002- Event name:
MoAppHang - Fault bucket:
2020343198852172000 - Hang type:
Unknown
The executable path is:
C:\Program Files\WindowsApps\OpenAI.Codex_26.715.2305.0_x64__2p2nqsd0c76g0\app\ChatGPT.exe
This completely blocks access to existing Codex projects. The symptoms and package version appear to match this issue very closely.
After updating to version 26.715.3651.0 through the Microsoft Store, the HID-related issue is still present. The app may work briefly after launch, but it eventually becomes unresponsive again with the same freezing behavior.
The temporary bypass tested in #33912 may also be useful for confirming or escaping this permanent-hang variant. It prevents the Work Louder discovery call entirely, so it avoids entering the bundled node-hid enumeration path. I validated it against periodic main-thread stalls; I did not reproduce the permanently wedged HID device described in this issue.
The current OpenAI.Codex 26.715.3651.0 package still contains the same discovery loop.
Unsupported diagnostic workaround used on a copied runtime only:
-
Close every process using the copied runtime.
-
Keep a byte-for-byte backup of
resources/app.asar. -
Replace the single expression
this.discovery.findWLDevices([a.Project2077])with
[], padded with ASCII spaces to exactly the original byte length. In context this becomes[t] = [], reporting no Codex Micro device without changing the archive's size or file offsets. -
Launch the copied executable with the normal profile arguments.
The patched archive launched normally. As expected, Codex Micro detection is disabled in that runtime.
Measured result while an original and patched instance ran simultaneously, using independent 26-second window-message-loop probes:
| Instance | Samples | Delays >=50 ms | Delays >=180 ms | Maximum |
|---|---|---|---|---|
| Original | 1,630 | 3 | 3 | 499.79 ms |
| Patched | 1,704 | 0 | 0 | 4.70 ms |
The user also immediately reported that the patched instance felt substantially better. Full ETW diagnosis and the controlled workaround result are in #33912.
This is not an appropriate product fix and users should not have to modify application archives. It is supporting evidence that bypassing only findWLDevices() removes the UI-thread problem. The proper fix remains moving HID discovery off the Electron main thread, adding timeouts around device operations, and avoiding repeated polling when the optional device is absent or unresponsive.