Skip to content

Windows Codex Desktop 26.715.2305.0 hangs while rendering ~200 KB tool output #33822

Open

Description

@eisenferik

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 ResizeObserver errors 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?

  1. Launch Codex Desktop 26.715.2305.0 on Windows.
  2. Open an active thread.
  3. Run a local command/tool that returns approximately 200 KB of bounded text (about 800 long lines) as one result.
  4. Keep the Codex window focused while the result is displayed/streamed.
  5. Observe severe CPU and memory growth followed by the window becoming “Not Responding”.
  6. Check Windows Event Viewer / WER and observe an AppHangTransient / MoAppHang entry 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:

Activity

  1. added
    bugSomething isn't working
    appIssues related to the Codex desktop app
    windows-osIssues related to Codex on Windows systems
    tool-callsIssues related to tool calling
    on Jul 17, 2026
  2. tonivix commented on Aug 15, 2026

    @tonivix

    Additional Windows reproduction on a newer build:

    • Codex Desktop package: OpenAI.Codex_26.810.4967.0_x64
    • Platform: Windows x64
    • Trigger context: a very long existing task containing many image previews and large/truncated tool outputs. The whole desktop became sluggish, including mouse-pointer movement.
    • A file watcher initially looked suspicious, but I terminated its entire verified process tree; the lag remained.
    • RAM and disk were not constrained (about 49 GB physical RAM still available; disk queue was 0).
    • A direct 3-second process sample showed:
      • main ChatGPT.exe: about 141.7% CPU, about 650 MB working set
      • renderer ChatGPT.exe: about 75.0% CPU, about 913 MB working set
      • bundled codex.exe and codex-code-mode-host.exe: about 0% CPU
    • Combined main+renderer load was about 217% CPU while the backend was idle.
    • Closing another Electron application reduced symptoms, but fully exiting Codex produced immediate system-wide relief, including normal mouse movement.
    • Restarting/reopening Codex restored responsiveness for now.

    This 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.

  3. CyberChun0329 commented on Oct 8, 2026

    @CyberChun0329

    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:

    • The live rollout was about 70.3 MB, with about 20,500 valid JSONL records and no malformed JSON in the captured snapshot.
    • The derived display history contained about 7,000 items. Individual historical command outputs reached 1,048,577 characters.
    • Native history read/resume and item-page requests returned in single-digit milliseconds in the inspected loading sequences.
    • The affected Electron renderer continuously consumed approximately one CPU core. Its private memory reached about 778 MiB.
    • Terminating only that renderer caused the app to reload it automatically. Reopening the same conversation reproduced sustained CPU saturation; the app main process and native app-server were preserved.

    A local, reversible experiment changed only the derived display index:

    1. Back up the exact original display rows.
    2. Shorten 60 completed command/function-output display fields that exceeded 20,000 characters, retaining a marked head/tail excerpt.
    3. Preserve the raw rollout, item IDs, all other item fields, turn records and projection cursor.
    4. Reload only the affected renderer and reopen the same conversation.

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingperformancetool-callsIssues related to tool callingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions