Repository navigation
[Windows App] Repeated serialport.node delay-load failures cause severe UI lag #33375
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.707.9981.0
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
The Codex Windows app becomes severely laggy while Windows records repeated Application Error event ID 1000 entries. The recurring exception is 0xc06d007f, and the Codex log reports:
A dynamic link library (DLL) initialization routine failed.
The failing native addon is bundled under:
@worklouder/device-kit-oai -> @worklouder/wl-device-kit -> serialport -> @serialport/bindings-cpp/build/Release/serialport.node
The failures repeat while Codex remains open. System CPU, RAM, disk, GPU, VC++ runtime, and OpenAI service status were otherwise healthy.
What steps can reproduce the bug?
- Launch Codex App 26.707.9981.0 on Windows x64.
- Open or use a task normally. No Codex Micro / Work Louder device needs to be connected.
- Observe severe UI lag.
- Open Windows Event Viewer -> Windows Logs -> Application.
- Observe recurring Application Error event ID 1000 entries for ChatGPT.exe with exception code
0xc06d007f.
This may be feature-flag dependent: the renderer's Codex Micro bridge appears to call getState() immediately, loading the native module without a connected device or explicit opt-in.
What is the expected behavior?
The app should remain responsive and should not load or repeatedly retry an optional hardware integration when no supported device has been enabled or connected.
Additional information
Native module analysis:
@worklouder/device-kit-oai0.1.10@worklouder/wl-device-kit0.1.18serialport12.0.0@serialport/bindings-cpp12.0.1serialport.nodedelay-imports 57 N-API/libuv functions fromnode.exe.- All 57 required functions are exported by the app's
chrome.dll, whileChatGPT.exeexports none of them. - The addon contains no apparent
chrome.dll/ Electron delay-load redirect marker.
This matches the 0xc06d007f delay-load missing-procedure exception and suggests the native addon was not rebuilt/packaged for the exact Electron runtime.
Suggested fixes:
- Rebuild/package
@serialport/bindings-cppfor the app's Electron runtime and verify its delay-load hook. - Do not initialize Codex Micro until a supported device integration is explicitly enabled.
Microsoft Store reports no build newer than 26.707.9981.0.
Activity
liucfy commentedon Jul 15, 2026
I can independently reproduce this on Windows 10 x64, and I captured a first-chance full-memory dump plus WPR/ETW traces.
Feedback ID:
019f666d-87fd-7e32-8e36-46d0448437e0Environment
OpenAI.Codex_26.707.9981.0_x64__2p2nqsd0c76g0Microsoft Windows NT 10.0.19044.0 x64Direct dump evidence
ProcDump was attached to the main
ChatGPT.exeprocess with:The captured exception's valid Visual C++
DelayLoadInforesolves to:The descriptor and IAT slot are both inside the bundled
@serialport/bindings-cpp/build/Release/serialport.nodeunder the Work Louder device-kit dependency chain. The binary SHA256 is:2D5D112E2E57054034FA9454E9C33DC306377455D989644F7D4C1B43027EB006This directly confirms the missing
node.exe!napi_module_registerdelay-load target rather than relying only on the generic WERbad_module_infolabel.Measured UI impact
During a roughly two-minute clean run after restarting Codex (PID 25996):
SendMessageTimeout(WM_NULL)failures occurred with Win32 error1460, lasting approximately 150.6–163.0 ms.0xC06D007Ffor the same process.IME control experiment
I fully disabled Sogou IME, enabled Microsoft Pinyin, verified no Sogou processes were running, restarted Codex, and repeated the capture. The same 9 native exceptions and 13 UI timeouts reproduced. ETL image-load analysis found no Sogou module in the clean trace windows. Sogou IME is therefore not required to trigger this defect.
Additional clue
The dump reported the host module path under package
26.707.9564.0while the failingserialport.nodepath was under26.707.9981.0. The live process later reported the current 9981 executable and only that package remained installed. This may be stale dump path metadata, an update-transition artifact, or cross-version resource loading; the updater/package activation path may be worth checking.I can provide the approximately 1 GB full dump, WPR/ETW traces, UI probe samples, WER exports, and parser output through a private upload channel. I am not attaching dump/ETL files publicly because they may contain user data.
This is a P1 / High severity candidate for the Windows client because it affects the primary typing path repeatedly under a normal installation and has no reliable workaround. If internal telemetry shows the signature is widespread, P0 escalation would be reasonable.
executionreverted commentedon Jul 15, 2026
Same issue.
Summary
The Codex Windows desktop app repeatedly crashes shortly after launch after updating from 26.707.3748.0 to 26.707.9981.0.
Crash dump analysis points to an incompatible native serialport.node dependency bundled under @worklouder/device-kit-oai.
Environment
OS: Windows 10 Education x64
Windows version: 10.0.19045
Codex package: OpenAI.Codex_26.707.9981.0_x64__2p2nqsd0c76g0
Bundled Codex app-server: 0.144.2
Installation source: Microsoft Store
Previous working version: 26.707.3748.0
The package manifest requires Windows 10.0.19041.0, so the installed OS satisfies the stated minimum version.
Observed behavior
The app opens, runs for several seconds, and then closes. Windows Event Viewer records repeated crashes with:
Exception code: 0xc06d007f
Faulting application: bad_module_info
Package: OpenAI.Codex_26.707.9981.0_x64__2p2nqsd0c76g0
The Codex desktop log also reports:
[desktop-notifications][unhandled-rejection] Error: error: 1114
...\node_modules@worklouder\device-kit-oai
node_modules@worklouder\wl-device-kit
node_modules\serialport
node_modules@serialport\bindings-cpp
build\Release\serialport.node
WinDbg reports:
Failure.Bucket:
APPLICATION_FAULT_c06d007f_serialport.node!Unknown
IMAGE_NAME:
serialport.node
STACK_TEXT:
KernelBase!RaiseException
serialport+0x26430
The bundled native module delay-imports node.exe and tries to resolve:
napi_module_register
That procedure cannot be resolved in the current application runtime, resulting in 0xc06d007f (ERROR_PROC_NOT_FOUND).
Module path:
app\resources\app.asar.unpacked
node_modules@worklouder\device-kit-oai
node_modules@worklouder\wl-device-kit
node_modules\serialport
node_modules@serialport\bindings-cpp
build\Release\serialport.node
Regression information
The previous installed version, 26.707.3748.0, did not produce this native-module crash. The crashes began after restarting into 26.707.9981.0.
This appears to be a packaging/runtime compatibility regression involving the bundled Work Louder device-kit serialport native addon.
Expected behavior
The desktop app should launch and remain running. Failure to initialize optional device/serial-port functionality should not terminate the entire application.
Reproduction
Install or update the Microsoft Store Codex app to 26.707.9981.0.
Launch the app on Windows 10 x64.
Wait approximately 5–10 seconds.
The application exits and Windows records exception 0xc06d007f.
AlekZen commentedon Jul 15, 2026
I can reproduce this exact failure on Windows x64 with the same Store build.
Environment
OpenAI.Codex_26.707.9981.0_x64__2p2nqsd0c76g0openai-codex-electron 26.707.72221150.0.7871.1150.144.4(works normally and is not involved in these crashes)Reproduction and update correlation
Windows AppX deployment logs show the user registration updating from
26.707.9564.0to26.707.9981.0at 2026-07-15 07:49 local time.The new build then generated seven
Application Error/MoAppCrashreports between 10:16 and 10:46. A normal uninstall at 10:31 followed by a Store reinstall at 10:38 did not resolve it; the same failure occurred again immediately after reinstall.All seven dumps have the same exception and delay-load payload:
The importing binary is:
The renderer's Codex Micro bridge mounts when
codexMicrois present and immediately invokesgetState(). The main process registers that service and lazily loadscodex-micro-service, which imports@worklouder/device-kit-oai. No Work Louder/Codex Micro device was intentionally enabled or connected.Windows also recorded a
RADAR_PRE_LEAK_64event forChatGPT.exe 150.0.7871.115on the previous day. During diagnosis the desktop process tree remained around 1.2–1.4 GB working set and exhibited severe intermittent lag.WER reports share bucket hash:
This independently confirms the x64 build has the same native-addon/runtime mismatch described in the issue. Reinstalling the same Store version and changing the system Node.js installation cannot repair the bundled native module.
Seven local minidumps are available, but I am not attaching them publicly because they may contain process memory or session data. They can be provided privately to an OpenAI maintainer if needed.
sjenn2225 commentedon Jul 15, 2026
Independent reproduction on Windows x64, with the same Store build and the same native delay-load failure.
Environment
OpenAI.Codex_26.707.9981.0_x64__2p2nqsd0c76g026200.8875, AMD640.144.2Observed behavior
The main
ChatGPT.exeprocess remained alive and generally reported as responding, but switching between tasks produced repeated severe pauses rather than a conventional terminal crash.Windows recorded 50 Application Error event ID 1000 faults against the same live main-process PID between 10:57:14 and 11:18:50 local time. Thirty-seven occurred before diagnostic activity began. The faults arrived in interaction-correlated bursts and stopped while the UI was left untouched.
Windows retained ten rotating local dumps, each approximately 10.8–10.9 MB. Direct read-only parsing of all ten MINIDUMP exception streams and PE module data produced the same result each time:
The addon was loaded at a new ASLR address, failed, unloaded, and was retried. That repeated fault/WER-dump cycle matches the short task-switch freezes.
The WER bucket hash was:
Resource cross-check
This was not general machine pressure: approximately 41 GB of 64 GB RAM remained available, disk queue was effectively zero, and Codex GPU utilization was low.
There was also substantial retained runtime state before diagnosis: the Codex process tree already had 47 descendants using about 5.1 GB working set and 15,500+ handles. One essentially idle retained Node kernel held about 1.36 GB. That appears to be a separate runtime-cleanup issue that materially amplifies switching cost, but the repeating
serialport.nodefault is the clearest immediate cause.I am not attaching dumps publicly because they may contain process memory or session data. They can be provided through an official private upload channel if needed.
colthreepv commentedon Jul 15, 2026
Independent corroboration
Environment
OpenAI.Codex_26.707.9981.0_x64__2p2nqsd0c76g019045, x6426.707.8479.0; Windows Store updated it to26.707.9981.0on July 14Observed behavior
With Codex open, normal task interaction is accompanied by severe system-wide pointer/UI stutter. The process remains running rather than terminating.
Event evidence
The main
ChatGPT.exeprocess began emittingApplication Errorevent ID 1000 entries with exception0xc06d007fabout 11 seconds after launch. I recorded 75 matching events over approximately 71 minutes; they occurred in bursts while the app was in use.Event Viewer identifies the Codex package but reports
bad_module_info/unknown, so this comment does not independently identify the importing DLL. It is an independent confirmation of the same package/version/error signature and the resulting UI impact; the dump analysis in earlier comments supplies the directserialport.nodeattribution.nish-brc commentedon Jul 15, 2026
Same issue here
sriharshaguthikonda commentedon Jul 15, 2026
Independent confirmation with full crash dumps from the main Codex Desktop process.
Environment
OpenAI.Codex_26.707.9981.0_x64__2p2nqsd0c76g0ChatGPT.exeprocess; command line had no renderer/utility--type=flagDump evidence
I analysed
ChatGPT.exefull dumps locally with CDB. The unhandled exception is:The failing binary is the bundled addon under:
The stack is the Windows loader entering
serialport.nodeinitialisation and thenKernelBase!RaiseException.ChatGPT.exeexports no matchingnapi_*symbols, so the addon's delay-load resolution ofnode.exe!napi_module_registerfails during module initialisation.I have three dumps from the same PID. The unloaded-module information shows
serialport.nodebeing loaded and failing at three different base addresses, indicating repeated load attempts rather than a one-off corrupt load. In my case this defect produced a completeChatGPT.exeprocess death, not only brief UI stalls.WinDbg bucket:
This is consistent with an app packaging/runtime compatibility regression in the optional Work Louder device integration. User configuration, Codex personality, MCP servers, hooks, workspace ACLs, and
config.tomlare not in this exception path.I can provide the full dumps and the following redacted CDB outputs through a private OpenAI upload channel:
!analyze -v,.exr,.ecxr, stack and module informationDelayLoadInfoI am not uploading the raw dumps publicly because they may contain user data.
jatawat commentedon Jul 15, 2026
Independent confirmation from another Windows 11 x64 installation.
Environment
OpenAI.Codex_26.707.9981.0_x64__2p2nqsd0c76g026200.8875, AMD64User-visible behavior
The main
ChatGPT.exeprocess usually remains alive and responsive, but sending a message or starting a turn repeatedly causes a short freeze/interruption and creates a new Windows Application Error event 1000 / WER dump. Enabling Windows Notifications and restarting the app did not change the failure, so the[desktop-notifications][unhandled-rejection]log prefix appears to be only the global error-handler label, not the cause.Minidump evidence
Read-only parsing of the latest local minidump produced:
The bundled
serialport.nodeSHA-256 is:2D5D112E2E57054034FA9454E9C33DC306377455D989644F7D4C1B43027EB006This independently confirms the native-addon/runtime mismatch and the interaction-correlated retry behavior on Windows 11 x64. I am not attaching raw dumps because they may contain session data, but can provide them through a private OpenAI upload channel if requested.
jogibear9988 commentedon Jul 15, 2026
ChatGPT/Codex Windows app 26.707.9981.0 crashes approximately
six seconds after every launch.
Environment:
Crash dump analysis:
@worklouder/device-kit-oai/.../@serialport/bindings-cpp/
prebuilds/win32-arm64/node.napi.node
The main window and Codex backend initialize successfully, after which
the main process creates a Crashpad dump and terminates. Windows package
Repair completed successfully but did not change the behavior.
This appears to be the ARM64/crashing variant of #33375.
Attach the C:/Users/jkuehner/AppData/Local/Packages/OpenAI.Codex_2p2nqsd0c76g0/LocalCache/Local/Codex/Logs/2026/07/15/
codex-desktop-170d6c9d-cbaf-422a-896c-ef5192d61f7b-7224-t0-i1-191621-0.log. Don’t publicly attach the full memory
dump; offer it privately to OpenAI Support if requested.
Separately, I added OpenAI’s official documentation connector to the global Codex configuration while verifying the
reporting route. It will become available after restarting the app/session.
gehariharan commentedon Jul 15, 2026
Independent reproduction on Windows 11 x64 with the exact same Store build, exception, and bundled native-addon path.
Environment
10.0.26200, x64OpenAI.Codex_26.707.9981.0_x64__2p2nqsd0c76g0OkWSL_DISTRO_NAMEis unset at process, user, and machine scopeUser-visible behavior
Returning to Codex or switching/using tasks intermittently pauses the UI for several seconds. The main
ChatGPT.exeprocess remains alive and Windows continues to report it as responding, matching the lag/retry variant rather than a terminal process exit.Windows event evidence
Windows recorded 29 Application Error / Event ID 1000 entries between 10:13:02 and 12:38:32 local time on July 15, 2026:
0xC06D007FunknownOpenAI.Codex_26.707.9981.0_x64__2p2nqsd0c76g0A complete app quit/relaunch was performed at 11:59:51. Matching events recurred against the same still-live main-process PID at approximately:
This explains why the app appears temporarily non-responsive but recovers instead of fully terminating.
Local log confirmation
Codex desktop logs from both before and after the restart reference the same bundled native addon:
This independently confirms the same Work Louder / serialport dependency chain reported above.
Isolation checks
This appears to be another independent reproduction of the Windows x64
serialport.nodedelay-load regression in26.707.9981.0.thehalfwise commentedon Jul 15, 2026
I can independently reproduce this exact issue with the same Codex App version and Windows platform:
Additional reproduction detail: creating a new thread or switching to another thread makes the entire computer severely sluggish for approximately 3–5 seconds, after which it recovers.
During controlled reproduction, the first native error occurred approximately 0.32–0.43 seconds after clicking a thread, followed by another error approximately 3.5–3.8 seconds later. Windows Repair did not resolve it.
The logs also alternate between:
Approximately 36–38 GB of physical RAM was still free, so this is not actual system memory exhaustion.
22 remaining items
florentseiler commentedon Jul 16, 2026
Independent confirmation on Windows 11 x64 after update to 26.707.12708.0
This installation still reproduces the same recurring Windows error after updating Codex.
Environment
OpenAI.Codex_26.707.12708.0_x64__2p2nqsd0c76g0ChatGPT.exeObserved behavior
ChatGPT.exeunknown0xc06d007f261293, report ID7fd693c2-faf7-4330-b34f-c3c6c4f632c5A WER queue report captured for the same package also contained:
d6276959-8009-486b-bc95-26fb0b484def63016f0a-99ef-4c57-9340-4481f38ded01c06d007fThe update did not eliminate the issue on this machine. Please confirm whether this should be linked to the serialport.node / Work Louder native-addon regression and whether a fixed package or an official mitigation is available for Windows x64.
No raw logs, crash dumps, task contents, account data, credentials, or local user paths are attached.
mheidari988 commentedon Jul 16, 2026
Independent confirmation across
26.707.9981.0and26.707.12708.0on Windows 11 x64I can independently reproduce the same repeated
0xC06D007Ffailure and severe UI-lag behavior. Updating to the newer Microsoft Store package26.707.12708.0has not eliminated it.Environment
10.0.26200, x64OpenAI.Codex_26.707.12708.0_x64__2p2nqsd0c76g0OkOpenAI.Codex_26.707.9981.0_x64__2p2nqsd0c76g0Get-PnpDevice -PresentOnlycheck found no present device matching either name.User-visible behavior
During normal task use, Codex becomes severely sluggish or temporarily non-interactive. The application can recover and remain visibly open, so this often presents as repeated freezes rather than one terminal crash.
Windows Event Viewer evidence
Windows recorded
Application Errorevent ID1000repeatedly forChatGPT.exewith exception0xC06D007F.For the previous
26.707.9981.0package:2026-07-15 18:49:16UTC+32026-07-16 11:18:41UTC+3For the current
26.707.12708.0package:ChatGPT.exeprocess started at2026-07-16 11:21:11UTC+311:21:26and11:34:2411:36:32, the same main-window process was still alive and reportedResponding=TrueThe current-package event fields include:
This matches the recoverable native-exception/retry variant reported by others: Windows records crash-class events while the main process survives.
Codex desktop log confirmation
The current process log recorded this at
2026-07-16T08:21:34.425Z, approximately 23 seconds after launch:The logged native-addon path is:
Packaged native binary evidence
The
serialport.nodebundled in26.707.12708.0is:This SHA256 matches the affected binary already reported and dump-analyzed in this issue for both
26.707.9981.0and26.707.12708.0.I have not independently performed WinDbg delay-load decoding, so my direct evidence is limited to the matching Windows events, the Codex desktop log, and the packaged binary hash. These independently corroborate the existing dump analysis identifying the
node.exe!napi_module_register/ERROR_PROC_NOT_FOUNDfailure.wegret commentedon Jul 16, 2026
I can reproduce a startup-crash variant with the same package version and exception code.
Environment
OpenAI.Codex_26.707.9981.0_x64__2p2nqsd0c76g0ChatGPT.exeObserved behavior
The tray icon appears, but the main window never opens. Several
ChatGPT.exeprocesses may remain temporarily, and all observed processes report:The application then crashes or becomes inaccessible without displaying a usable window.
Windows Event Viewer repeatedly records:
Windows Error Reporting also records
MoAppCrashevents with the same exception code.The issue still occurs after:
state_5.sqlitefilesThis appears to be a more severe startup-crash manifestation of the same underlying issue: the application is not usable at all rather than only becoming intermittently laggy.
endfish commentedon Jul 16, 2026
Follow-up: validated local gate-off workaround on
26.707.12708.0This is a follow-up to my earlier independent confirmation. The result below is an unsupported, local-only mitigation, not an official fix. No modified application binary is being distributed.
What was changed
I made a private portable copy of the exact installed app and left the Microsoft Store package untouched.
In build
26.707.12708.0, the renderer bundle insideapp.asarcontains exactly two checks of the Codex Micro feature gate in:The build-specific expression is:
I changed only those two expressions to evaluate false. I used an equal-length replacement so the ASAR size and file offsets remained unchanged:
The patcher was deliberately fail-closed: it refused to modify anything unless the exact expected expression occurred exactly twice. The copied executable and all other application files remained byte-identical to the Store package.
After fully exiting the Store build, I launched the private copy against the same existing Electron user-data profile. The original login, tasks, and configuration remained available. The Store build and portable copy were never allowed to use that profile concurrently.
Controlled A/B result
Unmodified Store build
26.707.12708.0on the same system/profile:0xC06D007Fevent appeared about 12 seconds after launch.DLL initialization routine failedat the bundled Work Louder /serialport.nodepath.Private gate-off copy:
0xC06D007Fevents: 0.serialport.node/ DLL-initialization failure hits in new app logs: 0.SendMessageTimeout(WM_NULL)responsiveness samples: 0 timeouts, average approximately 0.6 ms, maximum approximately 8 ms.This is another strong trigger-off / fault-off result. Preventing the renderer from mounting the Codex Micro bridge avoids the
codexMicro.getState()path that had been triggering the affected optional native integration.Safety and limitations
WindowsAppspackage in place.For an immediate official mitigation, remotely disabling or narrowing feature gate
3207467860for affected Windows builds still appears likely to stop the crash loop while a correctly packaged native addon is prepared.15230745073 commentedon Jul 16, 2026
Independent confirmation on
26.707.12708+ this is a module class, not just serialport —classic-level.nodein the browser/chrome plugins has the same defectWe independently reproduced your analysis on package
26.707.12708.0(the build rolled out 2026-07-16, which reduces the event rate ~6x but does not fix it), and extended it to every native addon in the package. Read-only analysis: pefile over the installed package + a load test of copies under anode.exehost.1. Your serialport diagnosis confirmed bit-for-bit
@serialport/bindings-cpp/build/Release/serialport.node: delay-import table targets the literal module namenode.exe, 57 N-API symbols.ChatGPT.exeexports 2 symbols total — 0/57 satisfied.chrome.dllexports 57/57. No Electron delay-load redirect hook present in the addon.node.exe→ host executable →GetProcAddressfails →VcppException(ERROR_SEVERITY_ERROR, ERROR_PROC_NOT_FOUND)=0xc06d007f, matching every Application Error event on our machines (~40/h on26.707.9981.0under active use).2. Runtime discriminator: the module itself is intact
Copying the identical
serialport.nodeout of the package and loading it viaprocess.dlopenunder the app's own bundlednode.exev24.14.0 (host name == delay target) → loads cleanly, all exports present (open,close,getBaudRate, …). So this is purely a host-name/delay-target mismatch that only detonates insideChatGPT.exe.3. New finding: scanning all 31 bundled
.nodefiles shows a class of affected addonsChatGPT.exeserialport.nodeapp.asar.unpacked\...\@serialport\bindings-cppnode.exe× 57HID.nodeapp.asar.unpacked\...\@worklouder\...\node-hidnode.exe× 61sharp-win32-x64.noderesources\cua_node\bin\node_modules\@img\sharp-win32-x64node.exe× 52classic-level.node(win32-x64 & ia32)resources\plugins\openai-bundled\plugins\browser\scripts\...and...\plugins\chrome\scripts\...node.exe× 48All four load fine under a real
node.exehost (verified for serialport, HID, classic-level). By contrast, the first-party addons (windows-account.node,windows-updater.node,computer-use-app-icons.node,better_sqlite3.node,pty.node,skia.win32-x64-msvc.node) have nonode.exedelay dependency — packaged correctly.4. Why this matters beyond Codex Micro
classic-level.nodesits in the browser and chrome plugin script trees. On our two affected machines (details in #33488 (comment)) the0xc06d007fevents correlated with browser-sidebar/IAB activity and turn streaming, and the desktop log's[desktop-notifications][unhandled-rejection] Error: A dynamic link library (DLL) initialization routine failed.appears to be just where the rejection bubbles up — the source is the addon load on those code paths. So fixing/gating@serialport/bindings-cppalone likely won't clear the storm; the delay-load hook (or an Electron-targeted rebuild) is needed for all third-party prebuilt addons in the package, or the loads need to be gated behind explicit feature opt-in as you suggested.(Trigger context, also in the #33488 comment: on both our machines the first
0xc06d007flanded within seconds of astatsig-refresh"values updated" — consistent with a staged server-side flag enabling these load paths, which would explain why the addons shipped broken for a while without symptoms and why Repair/Reset/reinstall don't help.)winlyme commentedon Jul 16, 2026
I can confirm that this issue still reproduces on a newer Codex Windows App build.
Environment
26.707.12708.026300.8772, x64Symptoms
Windows Application Error repeatedly reports
ChatGPT.exefailures with exception code0xc06d007f.The local Codex Sentry state contains the same native-module failure:
A dynamic link library (DLL) initialization routine failed.The failing module is the bundled:
@worklouder/device-kit-oai -> @worklouder/wl-device-kit -> serialport -> @serialport/bindings-cpp/build/Release/serialport.nodeThis suggests the issue remains present in
26.707.12708.0, with delayed/blank task switching as the most visible symptom.jogibear9988 commentedon Jul 16, 2026
Will this be fixed in the near future?
shijie-oai commentedon Jul 16, 2026
Hi all - thanks a lot for the reports and we have disabled the feature for windows at the moment. The config itself might take some time to propagate and would definitely recommend a restart before it takes effect. Please let us know if you are still seeing the issue persistently after restarting in the next couple hours. We are also preparing a proper fix and it is currently in the pipeline.
laz-jamesfuller commentedon Jul 16, 2026
Confirmation after the Windows feature disable
Preliminary positive result from a previously affected Windows x64 installation:
The package still contains the previously affected serialport.node binary (SHA256 2D5D112E2E57054034FA9454E9C33DC306377455D989644F7D4C1B43027EB006), so this clean result is consistent with the server-side Windows feature disable taking effect rather than a packaged binary fix.
I will report back if the failure returns.
15230745073 commentedon Jul 17, 2026
Update + correction after
26.715.2236(fixed on my machines) — and I over-reached onclassic-level/sharpThe build
26.715.2236.0(internal26.715.21316) that rolled out this morning stops the crash storm on my machine: 0 Application Error events since launch, IAB/browser backend started cleanly twice, noDLL initialization routine failed. What changed in the package:serialport.node: removed entirely (the whole@serialport/bindings-cpptree is gone fromapp.asar.unpacked).HID.node: rebuilt — it now does a normal import ofchrome.dll(61 funcs) instead of delay-importingnode.exe. So it resolves against the Electron host correctly.Both of these are the
@worklouderdevice-kit (Codex Micro) addons — the ones loaded by the renderer insideChatGPT.exe. Fixing exactly these two matched the crashes stopping.Correction to my earlier comment: I listed
sharp-win32-x64.nodeandclassic-level.nodeas part of the same "affected class." That was over-reach. In26.715.2236they are unchanged (still delay-targetnode.exe,ChatGPT.exesatisfies 0/52 and 0/48 respectively) — yet the crashes are gone. The reason: those two are not loaded in theChatGPT.exehost. On this machine:sharplives underresources\cua_node\bin\node_modules→ loaded by the bundlednode.exesubprocess.classic-levellives under the browser/chrome plugin scripts, which run under the bundlednode.exe(nodePath=...\cua_node\...\node.exeinbrowser_use_runtime_paths_selected).In a
node.exehost the delay-load targetnode.exeresolves to the host itself, so the missing-export pattern is harmless there. The defect only detonates when the addon is dlopen'd by a host that isn't namednode.exe— i.e., the ElectronChatGPT.exeprocess. So the correct culprit set was just{serialport, HID}, not the broader static sweep I posted. Apologies for the noise — the lesson for anyone triaging: anode.exe-target delay import is only a bug relative to the host process that loads it, so pair the PE scan with "which process actually dlopens this addon."Net: on my two machines this is effectively fixed by
26.715.2236.sharp/classic-levelstill carry the fragile packaging pattern and would break if they were ever loaded directly in the Electron host, so hardening them (delay-load hook or chrome.dll target, as done for HID) is still worthwhile defensively — but they were not the cause of this storm.nomosnomos commentedon Jul 17, 2026
Additional corroboration from an affected Windows x64 installation (all identifying details removed).
Additional impact
This failure mode also degraded the app-server/Remote Connect path, not only UI responsiveness:
MoAppCrashreports within one affected app session. All used the same signature:0xC06D007F,PCH_84, andStackHash_0000.ChatGPT.exerenderer/utility processes plus multiple orphanednode_repland code-mode helper processes.codex.exeapp-server accumulated 46 TCP connections inCLOSE_WAITon port 443, with only one established connection remaining.Recovery observation
Force-closing the exact Codex desktop process tree and activating the AppX package again started build
26.707.12708.0instead of26.707.9981.0. After that clean launch:remoteControl/enablecompleted without an error.CLOSE_WAITcount returned to zero.0xC06D007Fcrash events appeared during the post-restart observation window.Suggested resilience improvements
In addition to fixing or gating the optional native hardware module:
CLOSE_WAITaccumulation and restart only the affected app-server transport.26.707.12708.0contains the packaging fix for this failure.whatthecodemean commentedon Jul 17, 2026
Update (2026-07-20): This comment described an early, short observation while comparing the newer voice-input hang with the older
serialport/DLL failure tracked in this issue. Stronger same-build A/B evidence and the relevant blocking stack are now documented in #33884.The current voice-input hang should not be treated as evidence that the old
serialportfailure returned. Please use #33884 for ongoing evidence; this note is retained only for historical context.kendonB commentedon Jul 17, 2026
@whatthecodemean #20214 is collecting these stories looks like. #33375 is closed