Windows x64: repeated background crash (0xC06D007F) in serialport.node causes UI freezes during normal use
What version of the Codex App are you using (From “About Codex” dialog)?
26.707.9981.0 x64
What subscription do you have?
Pro
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
Environment
- Windows 11 x64 (build 26200)
- Codex 26.707.9981.0 x64
- NVIDIA RTX 4060 Laptop GPU
- No third-party DLL injectors (no SecureLink, no antivirus hooks)
- Stable for several weeks before July 15
Behaviour
ChatGPT.exe crashes silently in the background 6+ times per minute
during normal use. Each crash freezes the UI for 2–5 seconds. The app
stays open but becomes intermittently unresponsive — especially when
switching conversations, typing, or clicking UI elements.
Over 24 hours this generated 30+ crash dumps (~12 MB each).
Crash details
- Exception: 0xC06D007F (delay-load procedure not found)
- Faulting module: @serialport/bindings-cpp/prebuilds/win32-x64/node.napi.node
- Load chain: CodexMicroService → @worklouder/device-kit-oai → serialport.node
- Consistent fault offset across all dumps
What was tried (no improvement)
- Clean .codex directory, archived 200+ conversations, disabled 9 of 14 plugins
- Installed latest VC++ 2015–2022 Redistributable (14.44)
- Disabled GPU acceleration, cleared all caches, reinstalled the app
- Verified VCRUNTIME140_1.dll present and current
Note
This is related to Issue #33381 (ARM64) but differs in two ways:
- On x64 the app does not exit — it background-crashes in a loop
- x64 ChatGPT.exe does export napi_* symbols, suggesting a prebuilt
binary dependency mismatch rather than missing NAPI exports
Could OpenAI either disable the CodexMicro feature flag for affected
x64 builds, or ship a corrected win32-x64 serialport prebuilt binary?
What steps can reproduce the bug?
- Open Codex desktop on Windows x64 (build 26.707.9981.0)
- Switch between 2-3 conversations, or type a message and wait for the response
- The UI will freeze for 2-5 seconds intermittently during normal use
- Each freeze corresponds to a silent ChatGPT.exe background crash
The crash occurs without any specific user action — no in-app browser,
no large file operations, no long conversations needed. Simply having
the app open and using it normally triggers the crash repeatedly
(6+ times per minute).
Crash confirmed via Windows CrashDumps at:
%LOCALAPPDATA%\CrashDumps\ChatGPT.exe.*.dmp
Exception: 0xC06D007F
Faulting module: @serialport/bindings-cpp/prebuilds/win32-x64/node.napi.node
Load chain: CodexMicroService → @worklouder/device-kit-oai → serialport.node
The crash occurs even with:
- A clean .codex directory (no previous sessions or workspaces)
- All plugins disabled
- GPU acceleration off
- VC++ 2015-2022 Redistributable 14.44 installed
What is the expected behavior?
The UI should remain responsive during normal use. Switching
conversations, typing, and clicking UI elements should not cause
multi-second freezes. The app should not silently crash in the
background.
Additional information
- Started July 15, 2026 — was stable for several weeks before that
- Over 30 identical crash dumps generated in ~24 hours before
suppressing LocalDumps for ChatGPT.exe
- Community posts #1387026 (ARM64) and #1387051 (x64, in-app browser)
report the same exception code and load chain
- Related GitHub Issue #33381 tracks the ARM64 variant
- Not caused by SecureLink or other third-party DLL injectors
(none installed)
- The x64 ChatGPT.exe binary does export napi_* symbols (unlike the
ARM64 build), so the root cause on x64 is likely a prebuilt binary
dependency mismatch rather than missing NAPI exports
22 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
同样的问题
Subject: Codex 26.707.9981.0 repeatedly crashes in serialport.node
The Codex Windows desktop app repeatedly becomes unresponsive and crashes every 20–60 seconds. The window may recover automatically because the failed process is restarted.
Affected Codex build
Reproduction environments
The issue reproduces on both systems with the same Codex package.
Observed behavior
Native module comparison
@worklouder/device-kit-oai
-> @worklouder/wl-device-kit
-> serialport
-> @serialport/bindings-cpp
WinDbg result
The DelayLoadInfo structure identifies the exact failed import:
PE export/import verification
Assessment
This strongly indicates an Electron/Node delay-load redirection or native-module packaging regression in Codex 26.707.9981.0. It does not appear to be caused by a damaged installation, VS Code extension, VC++ Runtime, UCRT, or a single Windows Insider build because the same binary and failure reproduce on two Windows builds.
Please investigate the bundled @worklouder device-kit / serialport.node integration and the mapping of node.exe delay imports to the Electron runtime.
Failure hash from WinDbg:
{4927e390-5f61-4b71-57ae-af5d5edb1937}
A full memory dump exists locally, but it has not been attached because it may contain session or account data. A sanitized WinDbg excerpt can be provided if required.
i have the same problem
I have the same problem, it's almost unusable now and really needs to be fixed!!!!!!!!!!!!!!!!!!!!
I can independently reproduce and locally verify the same failure on another x64 machine.
Environment:
OpenAI.Codex_26.707.9981.0_x64__2p2nqsd0c76g0ChatGPT.exeproduct version:150.0.7871.11526200.8655, x6414.51.36247, x64Reproduction and impact:
Application ErrorEvent ID 1000 entries for the still-runningChatGPT.exeprocess.0xc06d007f, faulting moduleunknown, and WER event typeMoAppCrash.memory.hdmp; Windows Error Reporting becomes the dominant disk writer and can drive the NVMe SSD to 100% active time.A complete uninstall, Windows restart, and clean reinstall did not help because the same
26.707.9981.0build was installed again.I also verified the native-module chain in the installed package:
Using Visual Studio
dumpbinon the locally installed binaries:This independently confirms the same Electron/Node delay-load redirection or native-module packaging regression described above. It is not resolved by repairing or reinstalling the app, and it is not caused by missing VC++ runtime files.
As a temporary mitigation only, I disabled Windows Error Reporting for the current user to stop the repeated full-memory dumps from saturating the SSD. The underlying
serialport.nodeinitialization failure remains and needs an app update (for example, a corrected serialport prebuild/mapping or disabling the affected CodexMicro device-kit path).Independent reproduction on Windows x64, with a minidump captured during an actual UI hang.
Environment
OpenAI.Codex_26.707.9981.0_x64__2p2nqsd0c76g0150.0.7871.11526200.8875, x64Observed behavior
Responding=Falsefor about 10 seconds and then recovered.0xc06d007funknownI temporarily enabled WER LocalDumps and captured the matching minidump. LLDB showed:
The delay-load exception information identified the exact failed lookup:
The native addon is bundled under:
PE import/export verification on the installed package:
serialport.noderequires 57 Node/N-API/uv symbols.ChatGPT.exeexports only 2 symbols and provides 0 of those 57.chrome.dllprovides all 57 required symbols.This supports an Electron
win_delay_load_hook/ native-addon packaging regression rather than an out-of-memory condition.Also ruled out locally:
I am not attaching the raw dump or session logs because they may contain account/session data, but I can provide a sanitized debugger excerpt if maintainers need it.
same problem
same problem
WinDows11 Microsoft Windows版本 25H2(OS 内部版本 26200.8875) 同样的问题
Here is my case with workaround by Codex.
Environment
26200.8875ChatGPT.exe(150.0.7871.115)OpenAI.Codex 26.707.9981.0 x64OpenAI.Codex 26.707.12708.0 x640xC06D007FSymptoms and frequency
One or more child
ChatGPT.exeprocesses can repeatedly crash while other processes remain alive, producing a large number of Windows Error Reporting events.Package versions were correlated with the package transition time:
| Package version | Count | First crash (UTC) | Last crash (UTC) | Active-period frequency |
|---|---:|---|---|---|
|
26.707.9981.0| 613 |2026-07-15 15:51:27|2026-07-16 07:25:52| About once every 36.5 seconds ||
26.707.12708.0| 26 |2026-07-16 07:26:18|2026-07-16 07:50:52| About once every 59 seconds |Gaps longer than ten minutes were excluded from the active-period frequency. The first local crash at
2026-07-15 15:51:27 UTCclosely matches the reported rollout onset. The newer package started producing the same exception immediately, so it does not appear to contain a fix.Root cause in plain language
This does not look like a missing save directory or a damaged user profile. It looks like a binary compatibility mismatch between a native component bundled with the app and the executable loading it.
The likely sequence is:
serialport.node, the native component used for serial-port communication.napi_create_functionandnapi_module_register, to be available from its host.ChatGPT.exedoes not export those functions. Its observable exports are onlyGetHandleVerifierandIsSandboxedProcess.ERROR_PROC_NOT_FOUND (127), surfaced as the VC++ delay-load exception0xC06D007F.In simple terms, the bundled native component uses a plug that the host executable does not provide. The file exists, but Windows cannot connect the functions it requires.
The binary mismatch is directly observable. Activation by the rollout is an inference supported by the matching onset time and by the result of suppressing only the affected optional integration. Developer symbols or a loader stack trace would be needed for final confirmation.
Binary evidence
The updated
ChatGPT.exestill exports only:It has no
napi_*ornode_api_*exports. The bundled x64 module follows this dependency path:The bundled
serialport.nodeimports 53 N-API functions fromnode.exe, includingnapi_create_functionandnapi_module_register.How another user can check whether it is the same problem
Check the crash signature before applying the mitigation. It is a strong match when all of the following are present:
ChatGPT.exe.0xC06D007F.OpenAI.Codexpackage.ChatGPT.exehas no N-API exports.serialport.nodeimports N-API functions fromnode.exe.If the exception, executable, or import/export mismatch differs, it should be investigated as a separate problem rather than applying this mitigation automatically.
Workaround using Codex
This is an unofficial, reversible mitigation. It disables only the optional Codex Micro/Work Louder hardware integration; it should not modify the signed WindowsApps package or user data.
Give Codex this single prompt:
Before running the generated launcher, completely exit Codex and confirm that no
ChatGPT.exeprocesses remain. Review the generated files before execution. The launcher must preserve any existingNODE_OPTIONSvalue and restore it even if startup fails.Rollback consists of closing Codex, restoring the recorded previous
NODE_OPTIONSvalues if necessary, and deleting the generated hook and launcher. The workaround should be removed after an official fixed package is installed.Verification on this system
2026-07-16 07:52:09 UTC2026-07-16 09:40:51 UTCChatGPT.exeprocesses: 92026-07-16 07:50:52 UTCAt the previous rate for
26.707.12708.0, approximately 110 crashes would have been expected during that runtime. None occurred. This shows that the crash loop stopped while the mitigation was active, but it does not show that the unchanged package itself was fixed.Limitation
Codex Micro/Work Louder hardware integration is unavailable for that launch. A permanent fix requires the optional integration to be loaded safely or the native module and host exports to be packaged with compatible ABI expectations.
Independent x64 reproduction confirming this issue.
Environment:
OpenAI.Codex_26.707.9981.0_x64__2p2nqsd0c76g0Observed behavior:
ChatGPT.exewith exception0xc06d007f.MoAppCrash, fault moduleStackHash_0000, P9PCH_84, bucketfe840c3ed30ba850ddeac7488b0e9f2e.OriginalFilename=chrome.exeandIsFatal=1.The unchanged client version plus the sudden onset is consistent with the server-side/feature-flag explanation in this issue. Reinstalling the same Store build does not resolve it.
Please consider disabling the CodexMicro/device integration flag for affected Windows x64 clients until a compatible
serialport.node/Electron native dependency is shipped.“https://gist.github.com/triesmon/bdc20a18ec34108e2608c1294c451f86”—this method solves the problem!
Additional x64 confirmation on
26.707.12708.0: exactnode.exe!napi_module_registerdelay-load failureI am seeing the same severe Windows x64 UI-freeze/crash pattern on the newer Store build
OpenAI.Codex_26.707.12708.0_x64__2p2nqsd0c76g0.The important additional finding is that a minidump and an on-disk PE export-table check identify the exact unresolved import. On this x64 build, the signed
ChatGPT.exehas only 2 named exports and does not exportnapi_module_register. This aligns with the host-export failure described for ARM64 in #33381, and differs from the assumption in this issue that x64ChatGPT.exehas a normal N-API export surface.Environment
26200OpenAI.Codex_26.707.12708.0_x64__2p2nqsd0c76g026.707.9981.0produced the same0xC06D007Fsignature before the Store updateapp\ChatGPT.exeUser-visible behavior
Application Hang/crash activity, including repeatedChatGPT.exeEvent ID 1000/1001 reports.Repeated Windows crash signature
Across both
26.707.9981.0and26.707.12708.0:Ten local minidumps were captured in approximately three minutes:
Minidump
DelayLoadInforesultA read-only parser decoded exception parameter 0 from a real
ChatGPT.exeminidump:Both the delay-import descriptor and the unresolved function-pointer slot belong to:
This establishes the importing module as the packaged
serialport.nodenative addon.Exact DLL and missing procedure recovered from the packaged PE image
Using the dump-recorded virtual addresses and the exact installed
serialport.node, a read-only PE parser recovered:The same parser inspected the exact installed
ChatGPT.exeexport table:Binary identifiers:
Resulting failure path
Evidence against the earlier WebView2/GPU hypotheses
app.asar,chrome_elf.dll,resources.pak, V8 snapshots).msedgewebview2.exeprocess identified its host as Windows Widgets or SearchHost, not ChatGPT.Requested maintainer action
Could the team please verify the x64
26.707.12708.0package against the hashes above and determine why itsChatGPT.exeexport directory contains only two named exports?Potential mitigations/fixes:
@worklouder/device-kit-oai/ serialport integration on affected Windows builds.ChatGPT.exewith the required Node-API export list, or rebuild/packageserialport.nodefor the exact Electron host/runtime.I will not upload the raw process dump publicly because it can contain private process memory. Sanitized parser output and the read-only PowerShell parsers can be provided, and a dump can be shared privately with maintainers if there is a secure channel.
Is a 404
This is correct:
https://gist.github.com/triesmon/bdc20a18ec34108e2608c1294c451f86
My preliminary findings from GPT 5.6 Pro reasoning:
Is this a legit fix? That you didn't find?
triesmon/bdc20a18ec34108e2608c1294c451f86
Worked for 1m 44s
Yes. It is a technically legitimate, targeted workaround—and I should have found and evaluated it earlier.
It directly matches what your dump proved. The launcher pauses ChatGPT/Codex before its JavaScript starts, intercepts only:
@worklouder/device-kit-oai
and substitutes a no-device stub. That prevents the dependency chain from reaching the incompatible serialport.node that requests node.exe!napi_module_register. It then resumes the app and closes the local debugger connection. It does not modify the signed WindowsApps package, registry, conversations, or application data.
It is more accurately described as a workaround, not a permanent fix. It avoids loading the broken component; it does not rebuild serialport.node or correct the missing export in ChatGPT.exe. A separate user reports that after using it, the freezes stopped and no new 0xC06D007F or MoAppCrash events appeared.
There are important # of cautions: The reason for sharing this
The author tested it on 26.707.9981.0; your installed version is 26.707.12708.0.
It relies on undocumented application internals.
It briefly enables a Node inspector on a random 127.0.0.1 port. That is local-only and short-lived, but still creates a temporary code-injection interface.
GitHub flags the files as containing hidden or bidirectional Unicode characters.
The current script does not appear to pin itself to a specific Codex version, despite the accompanying recommendation to do so.
On injection failure, the current JavaScript records an error, but it does not clearly terminate the newly launched process in every failure path.
The rendered source shows no obvious credential theft, external upload, registry modification, or destructive file operations. Its network activity is directed at the local inspector. Nevertheless, because of the hidden-character warning and mutable Gist, I would not run the original files blindly.
Verdict
Matches your diagnosed defect: Yes.
Credible workaround: Yes.
Official or permanent fix: No.
Safe enough to run unchanged: Not quite.
Did I miss it earlier: Yes.
The correct implementation for your machine is a hardened copy pinned to OpenAI.Codex_26.707.12708.0_x64, with exact file hashes, rejection of hidden bidirectional controls, localhost-only inspector validation, and fail-closed process termination. The underlying vendor fix still needs to come from OpenAI.
I have the exact same issue with a similar setup
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.
It works!Thank you
Additional data point from Windows x64 after updating to
26.707.12708.0I can confirm the same
0xc06d007f/MoAppCrashsignature on this Windows x64 machine before the Store update, and I am now monitoring the newer build after restarting Windows and the ChatGPT/Codex desktop app.Environment
10.0.26200.0, x64OpenAI.Codex_26.707.12708.0_x64__2p2nqsd0c76g026.707.12708.0OpenAI.Codex_26.707.9981.0_x64__2p2nqsd0c76g07.6.3Confirmed local crash evidence before the update
Windows Event Viewer recorded repeated
Application Error/Windows Error Reportingentries forChatGPT.exeon 2026-07-16.Representative local evidence:
The same signature appeared repeatedly between approximately
13:45and14:25local time. Local CrashDumps were also created forChatGPT.exe, for example:Post-update state
After Windows installed
OpenAI.Codex_26.707.12708.0_x64__2p2nqsd0c76g0at about20:26local time, I restarted Windows and restarted the ChatGPT/Codex app multiple times. Running as administrator did not appear to be a useful mitigation.As of a local baseline check at
2026-07-16 22:10:39 +08:00:26.707.12708.0.ChatGPT.exeprocesses are running from the26.707.12708.0package path.Application Error/ WER0xc06d007fentries were found after the20:26update baseline.ChatGPT.exeCrashDumps were found after that baseline.The user-visible issue I am still trying to capture is a whole desktop-app exit during normal Codex use after the update/restarts. If it reproduces again, I will collect whether the newer
26.707.12708.0build produces a fresh WER event, CrashDump, or Crashpad report.Notes
ChatGPT.exedesktop-app crashes, notpwsh.execrashes..dmpfiles publicly because they may contain account/session/process-memory data. I can provide sanitized event details or share dumps privately if OpenAI maintainers have a secure channel.the same problem
Thanks for all the feedback - we have address the issue https://github.com/openai/codex/issues/33375#issuecomment-4991172145.