Windows app becomes unresponsive on launch with repeated VCPkgSrv.exe crashes
Open 💬 2 comments Opened Jun 12, 2026 by luyuan-cpp
Summary
Opening the Codex Windows app repeatedly triggers Windows "Close the program / Wait for the program to respond" unresponsive prompts. Rebooting the machine does not resolve it.
Environment
- Codex Windows Store package:
OpenAI.Codex_26.609.3341.0_x64__2p2nqsd0c76g0 - Codex app version reported by executable metadata:
149.0.7827.54 - OS: Windows 11 Pro, version
10.0.26200, 64-bit - Shell/agent environment: Windows native PowerShell
- Timezone/user locale during repro: Asia/Shanghai
Observed behavior
- Starting Codex produces an unresponsive application prompt and the app remains slow/unresponsive for a long time.
- This persists after reboot.
- Around the same time, Windows Event Viewer shows repeated
APPCRASHevents for Visual Studio'sVCPkgSrv.exe. - Many
VCPkgSrv.exeprocesses remain running with very small working sets.
Relevant Windows Event Viewer details
Representative events from Application log on 2026-06-12 around 15:14-15:18 local time:
Provider: Application Error / Windows Error Reporting
Event: APPCRASH
Faulting application: VCPkgSrv.exe
Faulting application version: 18.0.11821.187
Faulting module: KERNELBASE.dll
Faulting module version: 10.0.26100.8655
Exception code: 0xe06d7363
Fault offset: 0x001659a4
Faulting application path: D:\Program Files\Microsoft Visual Studio\18\Enterprise\Common7\IDE\VC\vcpackages\x86\VCPkgSrv.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Bucket/hash: fc03d131108e965e77a3c8c5e9cfdb34
Codex logs observed locally
Recent app logs were present under:
%LOCALAPPDATA%\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache\Local\Codex\Logs\2026\06\12\
The latest log showed repeated git-origin watcher activity and app-server routing, plus messages like:
[electron-message-handler] Received turn/completed for unknown conversation
[electron-message-handler] Item not found in turn state
No obvious direct network/login failure was visible in the small tail inspected.
Notes
This may be an interaction between Codex launch/project scanning and Visual Studio's VC package service (VCPkgSrv.exe), rather than a direct Codex process crash. Please let me know if additional logs or a safer diagnostic bundle would help.
2 Comments
Additional repro after reboot / restart attempt.
The user restarted and reported that Codex still took a very long time to become usable again. A 30-minute local diagnostic sampler was running from
2026-06-12 15:35:56to16:05:58Asia/Shanghai.Diagnostic window
2026-06-12 15:35:56->2026-06-12 16:05:58local timeOpenAI.Codex_26.609.3341.0_x64__2p2nqsd0c76g010.0.26200, 64-bit2026-06-12 14:49:22Process sampling summary
Sampled every 5 seconds for 30 minutes:
This suggests many short-lived/restarted
VCPkgSrv.exeinstances during the period where the app was difficult to use.New Windows Event Viewer findings
The earlier report showed
VCPkgSrv.execrashing inKERNELBASE.dll. This later run also shows repeatedVCPkgSrv.execrashes incpfe.dll:Other crash observed in the same window
A local project helper named
McpRegister.exealso crashed at2026/6/12 15:56:14:I am including this because it happened during the same startup/recovery window and may indicate Codex was running project/tooling discovery or MCP-related setup that triggered local helpers. It may be unrelated to the
VCPkgSrv.exeloop, but it is another reproducible startup-time failure.Codex app log tail highlights
Recent Codex log tails during/around startup contained repeated app-server routing and plugin/app list calls, plus entries such as:
Raw logs were not attached here to avoid sharing project/session content, but the local diagnostic output was retained on the user's machine.
Additional repro after another reboot, now on a newer Codex Windows package.
Diagnostic window
2026-06-17 09:23:33 +08:002026-06-17 09:08:00 +08:002026-06-17 09:09:09 +08:00OpenAI.Codex_26.609.3341.0_x64__2p2nqsd0c76g0OpenAI.Codex_26.609.9530.0_x64__2p2nqsd0c76g0Current process state after reboot
At
2026-06-17 09:23 +08:00, Codex was running and twoVCPkgSrv.exeprocesses were present:This is notable because previous reports showed repeated
VCPkgSrv.exeAPPCRASH events; this latest reboot did not immediately produce a new APPCRASH in Event Viewer, but still produced large residentVCPkgSrv.exeprocesses shortly after Codex startup.Windows Event Viewer / WER check
For the last day, Application log did not show a fresh
VCPkgSrv.exeAPPCRASH after the 2026-06-17 reboot. The newest matching WER archive entries were older:There were unrelated Windows Store update/download failures on
2026/6/16 19:37-19:38and a Visual Studio nonfatal error on2026/6/16 14:30, but no fresh Codex/VCPkgSrv APPCRASH event in the inspected reboot window.Codex log highlights from 2026-06-17 startup
Relevant local log directory:
The startup logs show repeated git-origin scans, plugin/app/model/status calls, and some slow calls/errors:
Summary
After updating to
26.609.9530.0and rebooting, the user still experiences slow startup / long wait. The new data point is not a fresh crash signature, but high-memoryVCPkgSrv.exeprocesses appearing after Codex startup and Codex logs showing slow MCP status/app list calls plus failures when listing child processes through PowerShell/CIM.