You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows desktop app crashes after update to 26.707.9981.0 due to serialport.node / napi_module_register #33380
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.
Symptom: clicking an assistant-provided web link so that Codex opens the right-hand browser panel triggers the failure/retry cycle.
Windows wrote 10 ChatGPT.exe*.dmp files in under one minute during reproduction.
CDB !analyze -v reports APPLICATION_FAULT_c06d007f_serialport.node!Unknown, with the stack KernelBase!RaiseException -> serialport+0x26430.
Decoding the delay-load state identifies node.exe!napi_module_register, hmodCur = ChatGPT.exe, and dwLastError = 0x7f (ERROR_PROC_NOT_FOUND).
The module path is the same @worklouder/device-kit-oai -> @worklouder/wl-device-kit -> serialport -> @serialport/bindings-cpp/build/Release/serialport.node chain reported above.
dumpbin /imports confirms this addon delay-loads node.exe; correctly packaged native addons in the same app, such as better_sqlite3.node and node-pty, import chrome.dll.
Setting both link preferences to external-browser does not stop the crashes, because the Codex Micro bridge is initialized independently of the link target.
A local crash dump is available for private transfer if a maintainer needs it; I have not attached it publicly because process dumps may contain user data.
Activity
github-actions commentedon Jul 15, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
executionreverted commentedon Jul 15, 2026
Duplicate
WeizhongWang9 commentedon Jul 15, 2026
Additional x64 confirmation from a separate machine, with a browser-panel trigger:
OpenAI.Codex_26.707.9981.0_x64__2p2nqsd0c76g0ChatGPT.exe*.dmpfiles in under one minute during reproduction.!analyze -vreportsAPPLICATION_FAULT_c06d007f_serialport.node!Unknown, with the stackKernelBase!RaiseException -> serialport+0x26430.node.exe!napi_module_register,hmodCur = ChatGPT.exe, anddwLastError = 0x7f(ERROR_PROC_NOT_FOUND).@worklouder/device-kit-oai -> @worklouder/wl-device-kit -> serialport -> @serialport/bindings-cpp/build/Release/serialport.nodechain reported above.dumpbin /importsconfirms this addon delay-loadsnode.exe; correctly packaged native addons in the same app, such asbetter_sqlite3.nodeandnode-pty, importchrome.dll.external-browserdoes not stop the crashes, because the Codex Micro bridge is initialized independently of the link target.A local crash dump is available for private transfer if a maintainer needs it; I have not attached it publicly because process dumps may contain user data.