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] Bundled serialport.node DLL initialization failure correlates with severe startup lag #33567
Across 13 primary launch logs examined on July 16, 2026, the same error appeared in 12 logs.
This is a logged-error occurrence rate of 12/13, not a manually measured UI-freeze rate. I have not proven that serialport.node is the underlying root cause, but it is the immediate failing component shown in the logs and the failure correlates with the startup lag.
Codex Desktop should launch normally and remain responsive. If an optional hardware integration cannot initialize, the failure should be handled gracefully.
Actual behavior
Codex Desktop experiences severe startup lag or temporary unresponsiveness, while the log reports a DLL initialization failure for the bundled serialport.node module.
What steps can reproduce the bug?
Fully exit Codex Desktop, including any remaining background processes.
Launch Codex Desktop from the Windows Start menu.
Observe severe lag or temporary unresponsiveness during startup.
Open the latest Codex Desktop log.
Search for serialport.node or the following error:
A dynamic link library (DLL) initialization routine failed.
The error was present in 12 of 13 primary launch logs examined on July 16, 2026.
I have not disabled the GameViewer Virtual Display Adapter because doing so may interrupt an active remote-access session.
#33375 appears to be closely related. However, I am leaving this report open for maintainer triage because it was reproduced with a different Codex/AppX build and hardware/driver environment, and it includes an observed log occurrence rate of 12 out of 13 launches.
The visible symptom in my case is severe startup lag or temporary unresponsiveness rather than a consistent startup crash.
Please feel free to mark this as a duplicate if maintainers confirm that these reports have the same underlying root cause.
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
zhaoxiaodan521 commentedon Jul 16, 2026
Thank you for identifying the related reports.
#33375 appears to be closely related. However, I am leaving this report open for maintainer triage because it was reproduced with a different Codex/AppX build and hardware/driver environment, and it includes an observed log occurrence rate of 12 out of 13 launches.
The visible symptom in my case is severe startup lag or temporary unresponsiveness rather than a consistent startup crash.
Please feel free to mark this as a duplicate if maintainers confirm that these reports have the same underlying root cause.