Repository navigation
Windows startup crash: bundled @serialport/bindings-cpp delay-loads Node-API from ChatGPT.exe (0xc06d007f, ERROR_PROC_NOT_FOUND) #33525
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.707.9981.0
What subscription do you have?
ChatGPT Crash error
What platform is your computer?
Windows 11
What issue are you seeing?
Checklist
- I searched existing issues.
- I can reproduce the issue consistently.
- This issue occurs on the latest available desktop version.
Environment
- OS: Windows 11 24H2 (Build 26200)
- Application: ChatGPT Desktop / Codex
- Version: 26.707.9981.0
Summary
The application crashes during startup with:
Exception code: 0xc06d007f
WinDbg indicates this is a delay-load failure caused by a bundled native
module.
Crash analysis
The failing module is:
app.asar.unpacked
└── node_modules
└── @worklouder
└── wl-device-kit
└── node_modules
└── @serialport
└── bindings-cpp
└── build
└── Release
└── serialport.node
The loader attempts to resolve:
napi_module_register
from:
ChatGPT.exe
and fails with:
LastError = 127
ERROR_PROC_NOT_FOUND
leading to:
0xc06d007f
during module initialization.
Root cause
This appears to be a packaging/linking issue.
serialport.node looks like it was built for a standard Node.js runtime,
where Node-API symbols are expected to be exported by the host executable.
However, in the current desktop application:
-
ChatGPT.exeexports only a very small number of symbols
(e.g.GetHandleVerifier,IsSandboxedProcess). -
Node/N-API exports are instead provided by
chrome.dll.
Other bundled native modules (for example better_sqlite3) load normally
and do not appear to rely on this delay-load mechanism.
serialport.node therefore attempts to resolve
napi_module_register from ChatGPT.exe, receives
ERROR_PROC_NOT_FOUND (127), and crashes before the application finishes
starting.
Things that do NOT appear related
- Windows 11 Build 26200 is fully supported.
- Samsung Knox DLLs (
LSP4ShellLite64.dll,EpMng64.dll) are injected,
but the crash stack indicates they are not involved.
Possible workaround
Disconnecting USB serial devices or Work Louder hardware may prevent
wl-device-kit from being loaded, although this depends on whether the
module is loaded lazily.
If the module is always loaded during startup, there is no practical
workaround.
Expected behavior
The desktop application should not crash because of an optional hardware
integration.
Possible fixes include:
- rebuilding
@serialport/bindings-cppfor the desktop runtime, - removing the incorrect delay-load dependency,
- resolving N-API symbols from the correct runtime,
- or loading the Work Louder integration lazily so startup cannot fail.
Additional information
The crash is reproducible on every launch.
If needed, I can provide:
- WinDbg stack trace
- full crash dump
- PE export analysis of
ChatGPT.exe - PE export analysis of
chrome.dll - import table of
serialport.node
What steps can reproduce the bug?
Environment
- OS: Windows 11 24H2 (Build 26200)
- App: ChatGPT/Codex Desktop
- Version: 26.707.9981.0
Observed behavior
The application crashes during startup with exception:
0xc06d007f (delay-load failure)
WinDbg analysis shows:
LastError = 127 (ERROR_PROC_NOT_FOUND)
The failing module is:
app.asar.unpacked
@worklouder\wl-device-kit
@serialport\bindings-cpp\build\Release\serialport.node
Root cause
serialport.node appears to have been built expecting standard Node.js
behavior and delay-loads Node-API exports such as:
napi_module_register
However the desktop app hosts Node differently.
ChatGPT.exe exports only a minimal set of symbols, while the Node-API
exports reside in chrome.dll.
Other native modules (for example better_sqlite3) appear to be built
correctly for this architecture and load successfully.
serialport.node instead attempts to resolve Node-API symbols from
ChatGPT.exe, causing ERROR_PROC_NOT_FOUND (127) and resulting in
exception 0xc06d007f during module load.
Additional observations
- Windows version is fully supported.
- Samsung Knox DLLs are injected but do not appear to participate in
the failure. - Disconnecting USB serial devices may avoid loading the Work Louder
device kit, but this is only a possible workaround.
Expected behavior
Either:
- rebuild serialport.node against the desktop runtime,
- remove the delay-load dependency on node.exe exports,
- or ensure the Work Louder device kit is loaded lazily and cannot crash
application startup.
This appears to be a packaging/linking issue in the bundled native
module rather than an OS compatibility problem.
What is the expected behavior?
No response
Additional information
No response
Activity
github-actions commentedon Jul 16, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
duanra-a16a commentedon Jul 16, 2026
Update after the Microsoft Store app update: the defect still reproduces in OpenAI.Codex 26.707.12708.0 x64 on Windows build 26200.
Fresh controlled observation on 2026-07-16:
26.707.91948).iab.tabs.new()immediately terminated/interrupted the Codex session before navigation tohttps://example.com/completed.OpenAI.Codex_26.707.12708.0_x64__2p2nqsd0c76g00xc06d007f0x00007ffd9c3a1adacc8273a1-6222-4dbf-b6eb-75cd5a49977cThe same updated build also produced repeated identical Event 1000 failures before this controlled test (including 10:29:09 and 10:29:21), so the failure is not limited to Browser use. The Browser tab creation is simply a reliable immediate trigger on this affected installation/account.
The earlier dump analysis remains applicable:
ERROR_PROC_NOT_FOUND (127)while loading the bundled Work Louder / SerialPort native addon and resolvingnode.exe!napi_module_register. Reinstalling the previous signed package was already ruled out by a matching ASAR integrity hash.Please keep this issue open for build
26.707.12708.0; the update has not fixed the Windows x64 native-addon failure.KaelCJ commentedon Jul 16, 2026
Additional confirmation from Windows 10, plus a repeatable in-app-browser trigger.
Environment
26.707.9981.0x64150.0.7871.11510.0.19045x64Native-addon / WER evidence
By approximately 18:00 local time on 2026-07-16, Windows Application Event Log contained 274 Event ID 1000 entries for this Codex package with:
The first Event ID 1000 appeared at
11:37:33. At11:37:38, the Codex desktop log recorded:The bundled
serialport.nodeon this installation is 229,376 bytes with SHA-256:This independently supports the
ERROR_PROC_NOT_FOUND (127)/ native packaging diagnosis in the original report. The high WER count is repeated native exceptions, not 274 confirmed full UI restarts.Reliable in-app browser trigger
Opening the same self-contained local HTML file from a Codex task reproduced a silent desktop restart twice:
13:35:13: IAB created a right-panel webview for afile:///...URL.dom-readyat13:35:1513:35:3217:48:20: IAB created the same right-panel webview again.dom-readyat17:48:2217:48:45In both cases, the page reached
dom-readybefore the desktop session ended. The desktop log also emitted:The WER/native-addon failures began before the first HTML attempt, so the HTML is a reliable immediate trigger, not the underlying cause.
Control test
The same 49,791-byte HTML file:
This isolates the visible exit to the Codex IAB/desktop path rather than the page itself.
Expected behavior
Possibly related to the IAB silent-exit reports such as #32798 and #33332. Raw desktop logs contain task/thread data, so I have not attached them publicly, but focused redacted excerpts can be provided if needed.
boyadeqin commentedon Jul 16, 2026
I can reproduce what appears to be the same crash on Windows.
Environment:
Observed behavior:
0xc06d007f.The failing module path also points to:
@worklouder/wl-device-kit/node_modules/serialport/node_modules/@serialport/bindings-cpp/build/Release/serialport.nodeIn my case, the application may open successfully, but ChatGPT.exe child processes repeatedly crash or restart, causing intermittent desktop app crashes rather than failing on every launch.
This appears to match the same
serialport.node/ Node-API delay-load problem described in this issue.Jupiter363 commentedon Jul 16, 2026
我找到了一种可能的修复方案,我让codex给我安装了最新的cli版本的codex之后导入当前任务会话,原先codex桌面端的卡顿消失
Nigmat-future commentedon Jul 29, 2026
Independent Windows event-log confirmation
I independently observed the same high-frequency
0xc06d007fdesktop-app crash signature on a Windows x64 machine.Affected package and time window
OpenAI.Codex_26.707.9981.0_x64__2p2nqsd0c76g0ChatGPT.exe(Codex MSIX desktop app)2026-07-15 23:59:52through2026-07-16 05:06:46(UTC+08:00)Every sampled Event ID 1000 entry had the same values:
Windows created 60 corresponding
AppCrash_OpenAI.Codex...report directories. The archived.werfiles and dumps are protected by system ACLs on this machine, so I did not change permissions or upload any memory dump. The event-log evidence alone therefore confirms the crash loop but does not independently identify the native module.Post-update observation
The currently installed package is
OpenAI.Codex_26.721.4979.0_x64__2p2nqsd0c76g0and its package status isOk. A fresh check found 0 matching Application Error/WER events for that version. This supports the earlier mitigation/fix, although the observation window is still short.There were two recoverable Chromium GPU-child events in the current app logs, but no matching main-process crash; I am treating those as a separate, unconfirmed visual-stability symptom rather than evidence that this issue regressed.
Scope and routing
This is an MSIX desktop-app failure, not a Codex CLI configuration issue. I also checked the current
openai/codexsource atd06c7ac: it contains the Windows desktop-app launcher integration, while theserialport/device-kit-oaipackaging surface is not present in this checkout. This issue is the closest open tracker for the observed package-level failure.This issue or PR was generated by LazyCodex.
Tag: lazycodex-generated