codex icon indicating copy to clipboard operation
codex copied to clipboard

Windows desktop app responds for about 3 seconds after launch, then freezes

Open tonycui711 opened this issue 1 week ago • 12 comments

从开始菜单启动 ChatGPT 桌面端。窗口出现后,几乎每次都能操作约 3 秒,随后整个窗口无响应。挂起时停留的界面不固定。

  • 应用包版本为 26.1117.4957.0,ChatGPT.exe 文件版本为 158.0.8127.37。
  • 2026-11-22 19:24:45(UTC+8),Windows 记录 Application Hang,事件 ID 1002。另一次复现时,任务管理器的等待链只显示 ChatGPT.exe(PID 29112)无响应,未列出其他等待项。
  • 19:24 那次桌面端日志中,窗口显示后出现 e.hookWindowMessage is not a function。随后界面发出 ready,/wham/usage 多次记录 432 Workspace routing is unavailable,durable 连接提示需要登录。该次未找到对应的会话转录,可提供两份脱敏桌面端日志。
  • 已尝试 Windows 应用修复、重建界面缓存、切换网络并排除 VPN、将 .codex 改名备份,仍能复现。winget 未找到更新。

tonycui711 avatar Nov 22 '26 11:11 tonycui711

English translation:

I launch the ChatGPT desktop app from the Start menu. Almost every time, I can interact with the window for about 3 seconds after it appears, and then the entire window stops responding. The freeze can occur on different screens.

  • The app package version is 26.1117.4957.0, and the ChatGPT.exe file version is 158.0.8127.37.
  • At 2026-11-22 19:24:45 (UTC+8), Windows logged Application Hang, event ID 1002. On another occurrence, Task Manager's wait chain showed only that ChatGPT.exe (PID 29112) was not responding and listed no other wait entries.
  • In the desktop app logs from 19:24, e.hookWindowMessage is not a function appeared after the window was displayed. The UI then emitted ready, /wham/usage repeatedly logged 432 Workspace routing is unavailable, and the durable connection indicated that sign-in was required. I couldn't find the corresponding session transcript for that occurrence, but I can provide two redacted desktop app logs.
  • I tried repairing the app through Windows, rebuilding the UI cache, switching networks and ruling out the VPN, and renaming .codex to back it up. The issue still occurs. winget found no updates.

github-actions[bot] avatar Nov 22 '26 11:11 github-actions[bot]

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #63112
  • #62731

Powered by Codex Action

github-actions[bot] avatar Nov 22 '26 11:11 github-actions[bot]

This appears related to #63112 and #62731. I’m on the same Store package (26.1117.4957.0) and executable version (158.0.8127.37), and my desktop log also contains [wallpaper-tint] e.hookWindowMessage is not a function. In my case, the window usually remains interactive for about 3 seconds before it freezes. I found Application Hang event 1002, but no corresponding MoAppHang event 1001 in the logs I checked, so I can’t confirm whether the hang signature matches. I can provide redacted desktop log excerpts.

tonycui711 avatar Nov 22 '26 11:11 tonycui711

Check your event viewer unhidden logs

I observed that only since November 2026, even through clean Windows-installs, everything is set up, run from and being used for Codex/Chat GPT in:

C:\Program Files\WindowsApps\ in stead of C:\Users\\AppData\Local\OpenAI\(Codex)

This has since been resulting in a lot of issues, including unavoidable AppX- 0x80073D02 (ERROR_PACKAGES_IN_USE) / App-ModelRuntime 0x800706D9 errors cannot be resolved on the user side—regardless of any troubleshooting. They only disappear when uninstalling ChatGPT and immediately reappear upon reinstallation.

Might be related to 2026-10 Preview Update (KB5127936) or introduced by 2026-11 Security Update (KB5132061) on 11/11/2026), underlying AppX deployment, AppContainer, and package cleanup bugs introduced in this build are also impacting the Desktop ChatGPT / Codex app.

At every boot (AppXDeployment-Server - 3 errors):

  • Error 0x80073D02: The request cannot be processed because package OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt is in use.
  • Deployment Remove operation with target volume C: on Package OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt from: (OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt) failed with error 0x80073D02.
  • AppX Deployment operation failed for package OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt with error 0x80073D02. The specific error text for this failure is: Error 0x80073D02: The request cannot be processed because package OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt is in use.

Every time the ChatGPT / Codex app is opened (AppXDeployment-Server - 2 errors):

  • Error 0x80073D02: The request cannot be processed because package OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt is in use.
  • Deployment Remove operation with target volume C: on Package OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt from: (OpenAI.CodexPrimaryRuntime.<version>_x64__3k8sg7r9htsxt) failed with error 0x80073D02.
  • Informative error 0x80073D02: Failure in the DynamicDependenciesInUse state handler.

The is a placeholder for the current version/package number as they keep updated , but the error does not get resolved.

Also introduced with a recent Windows November Update (AppModel-Runtime) and only happening on Codex/Chat GPT Windows installations.

  • DeleteAppContainerProfile failed with error 0x800706D9 because it was unable to unregister with the firewall.
  • CreateAppContainerProfile failed for AppContainer onecore\ds\security\gina\profile\profext\appcontainer.cpp Line:1962 defenderaiplatformhost DefenderAiPlatformHost with error 0x800706D9.

These errors were already appearing occasionally before these update (for months) on exits/reboots as Codex/OpenAI tries to start this system service early (along with the Codex OpenAI Sandbox service not being able to complete the function - error OS 1800 on the subsequent boot):

  • AppXDeployment (2) : Failed to start system service: appxsvc with error: 0x8007045B (2)
  • CodexSandboxService.OpenAI.Codex (2, sometimes 4) : unable to restore package uninstall listener: open the logged-in user's token and os error 1008
  • (last error records disappeares when DelayedStart 1 is added to the service).

The only way to fix these errors is by uninstalling the Deskotp ChatGPT app but it comes back again after reinstalling - i have been through any troubleshoot step. Clean PC/Windows reinstall did not help or avoid this mess from Codex/Chat GPT. Moreover, Chat GPT started to regularly crash/auto-close at certain times since a November update.

The 0x80073d02 errors keep returning on every session and now due to the November Update for: OpenAI.CodexPrimaryRuntime

mdruy avatar Nov 22 '26 19:11 mdruy

Same issue here. The app froze on every launch right after the auto-update to 26.1117.4957.0.

Environment

  • Package: OpenAI.Codex_26.1117.4957.0_x64__2p2nqsd0c76g0 (installed from the openai.com download)
  • Windows: build 10.0.26300 (osRelease from the desktop log)
  • Previous version: 26.1111.9664.0 ran with no problems from 20 Nov until the update

Timeline (UTC)

  • 2026-11-22 02:43: last log entry from 26.1111.9664.0, working normally
  • 2026-11-22 02:44: first launch on 26.1117.4957.0. The window appears, then it hangs ("Not Responding").
  • Every launch since freezes the same way, most recently 2026-11-23 00:24.

What the logs show The main-process log stops about 13–20 seconds after launch, with no error and no further entries. Shortly after the window appears, this warning is logged:

2026-11-23T00:24:30.862Z warning [wallpaper-tint] Unable to update wallpaper tint preview errorMessage="e.hookWindowMessage is not a function" errorName=TypeError

This warning shows up in every launch on 26.1117.4957.0 and never in my 26.1111.9664.0 logs. It's the same error reported in #62731, and that reporter is also on build 26300, so this may be a 26.1117 + Windows build 26300 incompatibility.

ChatGPT works normally in the browser on the same PC. I can share the full desktop logs if that would help.

martapps avatar Nov 23 '26 00:11 martapps

Same here, been troubleshooting it for an hour and found all the same things reported above.

marty0678 avatar Nov 23 '26 16:11 marty0678

Same here. Though interesting that browsers and some other apps keep working, where Notepad, Sublime Text and most of other apps (Desktop included) become unresponsive until I close ChatGPT Codex...

neriyroe avatar Nov 23 '26 16:11 neriyroe

I can reproduce this issue immediately after updating the stable Windows application.

Environment

  • Windows desktop
  • Codex package: OpenAI.Codex 26.1117.4957.0
  • Primary Runtime: 26.1119.907.0

Steps to reproduce

  1. Update the previously working stable application while it is idle.
  2. Launch the updated application.
  3. The main workspace loads, but the application becomes unresponsive.

Observed behavior

  • Windows displays ChatGPT (Not Responding).
  • The workspace is partially rendered, but the interface is frozen.
  • The problem persists across application launches.

Troubleshooting performed

  • Windows application Repair — no improvement.
  • Full Windows restart — no improvement.

Expected behavior

The application should start and remain responsive, as it did before the update.

This regression prevents me from using the Windows application.

I can provide a screenshot and additional diagnostic information if needed.

boriskorol avatar Nov 23 '26 18:11 boriskorol

Beta version from windows store seems to work but the list of models is limited

MaximBalaganskiy avatar Nov 23 '26 21:11 MaximBalaganskiy

Beta version from windows store seems to work but the list of models is limited

Confirmed, same results for me. TUI is unaffected.

theTrueEnder avatar Nov 23 '26 21:11 theTrueEnder

September version works https://github.com/openai/codex/issues/51668#issuecomment-6071846740, sol 6.2 is missing

MaximBalaganskiy avatar Nov 23 '26 21:11 MaximBalaganskiy

Previous november version is also fine and has all models https://persistent.oaistatic.com/codex-app-prod/releases/26.1111.2228.0/ChatGPT-x64.msix

MaximBalaganskiy avatar Nov 23 '26 23:11 MaximBalaganskiy