Repository navigation
Windows Codex Desktop 26.715.2305.0 hangs while rendering ~200 KB tool output #33822
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.715.2305.0 (Microsoft Store package)
What subscription do you have?
ChatGPT subscription (exact tier omitted)
What platform is your computer?
Windows 11 x64
GPU: NVIDIA GeForce RTX 4070
What issue are you seeing?
Codex Desktop repeatedly becomes unresponsive while rendering a large/streamed tool result. The failure reproduced across two threads and persists after restarting the app, rebooting Windows, and running Windows app repair.
A controlled reproduction generated approximately 200 KB / 800 lines of bounded text output in an active Codex thread. The UI froze at the same time, and Windows recorded an AppHangTransient / MoAppHang event.
During the reproduction:
- Electron main-process private memory increased from approximately 214 MB to 1,025 MB within about 5 seconds.
- Renderer memory increased from approximately 286 MB to 408 MB.
- Multiple Codex processes showed high CPU utilization.
- Codex logs emitted repeating
ResizeObservererrors at roughly 10 ms intervals for the focused renderer. - Windows wait-chain inspection showed no blocked wait chain, which argues against a conventional lock/deadlock.
- No system-wide memory, disk, GPU-device, or Git performance problem was present.
- Codex CLI remains usable for the same work; the failure is localized to the desktop UI/rendering path.
This appears to be a renderer/layout feedback loop or unbounded UI hydration/rendering path triggered by sufficiently large tool output, rather than model latency or a backend request hang.
What steps can reproduce the bug?
- Launch Codex Desktop 26.715.2305.0 on Windows.
- Open an active thread.
- Run a local command/tool that returns approximately 200 KB of bounded text (about 800 long lines) as one result.
- Keep the Codex window focused while the result is displayed/streamed.
- Observe severe CPU and memory growth followed by the window becoming “Not Responding”.
- Check Windows Event Viewer / WER and observe an
AppHangTransient/MoAppHangentry for the app.
The problem was also seen during ordinary tool-heavy work in two separate threads before the controlled reproduction.
What is the expected behavior?
Large tool results should be truncated, virtualized, collapsed, or rendered incrementally without blocking the Electron main/renderer process. The app should remain responsive and should not allocate around 800 MB of additional private memory within seconds.
Additional information
Observed controlled-reproduction timestamp: 2026-07-17 21:23:54 JST.
Sanitized process-monitor JSONL and targeted desktop-log excerpts are available if maintainers want them. Full logs are not attached because they may contain local paths or session metadata.
Possibly related, but not identical:
- Codex Desktop 26.506 rapidly bloats context from retained tool outputs and can freeze old sessions #22091 — tool-output retention/context growth can freeze old desktop sessions
- ChatGPT desktop app freezes when switching to a large image-heavy thread (ResizeObserver loop) #33782 — large image-heavy thread rendering and ResizeObserver loop
- Codex desktop app intermittently freezes Windows shell/UI; opening Codex Settings stops the freeze #16374 — intermittent Windows desktop UI freezes
Activity
github-actions commentedon Jul 17, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
tonivix commentedon Aug 15, 2026
Additional Windows reproduction on a newer build:
OpenAI.Codex_26.810.4967.0_x64ChatGPT.exe: about 141.7% CPU, about 650 MB working setChatGPT.exe: about 75.0% CPU, about 913 MB working setcodex.exeandcodex-code-mode-host.exe: about 0% CPUThis looks consistent with a desktop main/renderer rendering or hydration loop in long, image-heavy, tool-heavy tasks, rather than model/backend work, the file watcher, disk, or memory pressure. Sanitized process details are available if useful.
CyberChun0329 commentedon Oct 8, 2026
Additional Windows reproduction and reversible display-layer mitigation, observed on 2026-10-08.
Environment: Windows x64, Microsoft Store package
OpenAI.Codex 26.1002.7124.0.Opening an existing long conversation repeatedly froze the desktop UI. The same conversation remained able to receive instructions from other chats and continue its background work.
Measured observations:
A local, reversible experiment changed only the derived display index:
The affected output fields fell from 6,263,068 to 1,200,000 displayed characters. After reopening, the main renderer accumulated 0.90625 CPU seconds over a 56.26-second observation window (about 1.61% of one core), rather than continuously saturating a core. The user subsequently confirmed that the conversation was working again. The same active backend turn continued, the native app-server stayed alive, and SQLite quick_check and all 60 repaired-row hash checks passed.
This is an intervention result supporting historical-output display processing as a trigger. It does not isolate the offending item, JavaScript stack, or exact frontend defect. No ResizeObserver loop, OOM, GPU failure, or deadlock was established in this incident.
This internal-index modification was a backed-up recovery experiment, not a supported user-facing setting or a recommended general repair procedure. The official app binary was not modified. Rebuilding the projection or accumulating new oversized historical outputs may reintroduce the problem.
Please consider bounding historical tool-output processing before rendering, with a supported way to keep complete transcripts while displaying bounded excerpts. Inspection of this installed build found a 20,000-character bound for live command-output deltas, while hydrated historical command output was passed through without the same bound.
Privacy: this comment contains only versions, aggregate counts, timings and process metrics. It includes no conversation text, local usernames/paths, project contents, thread/account identifiers, credentials, raw logs or display-index backups.