Skip to content

[Windows] IAB stale-frame retry loop floods browser lifecycle and hangs desktop #55159

Open

Description

@kieransimkin

Summary

Codex Desktop on Windows can enter a high-volume in-app-browser lifecycle loop after browser-using chats fail or are interrupted. The loop repeatedly calls executeCdp:DOM.getFrameOwner for frames that no longer exist, generates tens of thousands of IAB_LIFECYCLE records, and coincides with repeated ChatGPT.exe hangs.

This appears operationally distinct from the retained-resource and memory-pressure incident tracked in #55151. In this recurrence, memory and system commit were elevated but well below the earlier extreme, and the app-server queue did not saturate.

Environment

  • Windows 10.0.19045
  • Package: OpenAI.Codex_26.1013.4894.0_x64
  • Updater/build observed in diagnostics: 26.1013.40934 / 20770
  • Feedback ID: 01a136cf-cc28-7752-bf95-91ab6f040675

Observed browser-control loop

Across the affected app-instance logs from 2026-10-19T00:00:25.533Z through 2026-10-19T01:18:11.903Z:

  • 23,388 IAB_LIFECYCLE lines
  • 15,720 of those lines reported Frame with the given id was not found
  • 0 App server request queue is full lines
  • 0 App server request expired while queued lines
  • 0 rendererGone lines
  • 0 tab is not part of browser session lines

The peak minute, 00:34Z, contained 1,893 IAB_LIFECYCLE lines, including 1,785 missing-frame errors. The repeated operation was executeCdp:DOM.getFrameOwner, accompanied by browser-sidebar owner synchronisation/rebinding.

Traffic was attributed to several concurrent browser-using conversation IDs. The largest source produced 5,152 lifecycle lines and belonged to a LinkedIn/Indeed browser task whose turn eventually failed with a model-capacity error after a long run. Other active browser chats each contributed thousands more. This suggests that failed or interrupted browser work can leave stale frame or ownership work behind, while concurrency amplifies the retry volume.

Confirmed application hangs

Windows Error Reporting recorded three new ChatGPT.exe AppHangTransient events:

  • 2026-10-19 02:09:56 BST — 1555264b-d31e-43b7-8100-ea917e4de1bc
  • 2026-10-19 02:10:18 BST — 9fac2b22-745f-4449-b582-4afa16e9976f
  • 2026-10-19 02:10:48 BST — 28aaf6e9-971b-48ae-addc-0831524d1cf7

Immediately before restart, the visible ChatGPT/Codex process group had:

  • 72 processes
  • 8.454 GiB combined private allocation
  • 10.596 GiB working set
  • about 7 GiB available physical memory
  • about 79.6% system commit

Those values are elevated but materially below the 16.5–17.4 GiB private allocation and 87–89% commit observed in #55151. The complete absence of queue-full and queue-expiry messages in this recurrence is another meaningful difference.

GPU correlation checked

The user was also doing video work, so GPU contention was investigated. A 24-second NVIDIA sample while the stale-frame loop remained active showed:

  • GPU utilisation varied from 3% to 74%, without sustained saturation
  • video encoder utilisation remained at 0%
  • 2.6–3.6 GiB of 8.2 GiB VRAM was used
  • temperature remained 38–39 C

This sample cannot exclude an earlier transient spike, but it does not explain the repeated stale-frame requests or support sustained encoder saturation as the immediate trigger.

Recovery observation

After Codex restarted, the failed browser-owning chat was archived and the largest active contributors were told to checkpoint, close completed browser tabs through supported controls, verify their inventories, and stop browser work.

A later sample showed 44 processes and 5.658 GiB private allocation. The next five-minute log window contained zero lifecycle, missing-frame, queue, or renderer-gone events.

Restart and cleanup occurred together, so this before/after observation does not isolate causation. It does show that the retry storm was not an unavoidable consequence of the concurrent graphics workload.

Expected behaviour

  • Pending CDP/frame-owner work should be cancelled when a frame navigates, detaches, or is replaced.
  • Missing-frame retries should be bounded and use backoff or circuit breaking.
  • Browser tabs, ownership bindings, and pending IAB work should be torn down when a chat fails, is interrupted, or reaches systemError.
  • Background owner synchronisation should not repeatedly rebind an unchanged owner.
  • Browser lifecycle work should be isolated per chat so one failed task cannot flood the desktop process.
  • Diagnostics should expose browser/tab ownership and stale retained state so users can recover without repeated paid troubleshooting turns.

Related reports

I can provide the redacted log excerpts and supporting diagnostic artifacts associated with the feedback ID. Credentials, cookies, tokens, and unrelated secrets must remain excluded.

Activity

  1. added
    bug
    app
    windows-os
    on Oct 19, 2026
  2. github-actions commented on Oct 19, 2026

    @github-actions
    Contributor
  3. kieransimkin commented on Oct 19, 2026

    @kieransimkin
    Author

    The stale-frame loop recurred again in the fresh app instance while I was updating the feedback artifacts.

    At 02:39:45 BST on 19 October, the current instance log contained:

    • 5,026 IAB_LIFECYCLE lines;
    • 2,346 Frame with the given id was not found errors;
    • 0 queue-full messages;
    • 0 queue-expiry messages.

    The user observed another freeze/interruption at approximately 02:35 BST. Windows Error Reporting had not yet added a new AppHangTransient after the three events already reported at 02:09:56, 02:10:18 and 02:10:48, so this occurrence is user-observed rather than another WER-confirmed hang.

    At 02:35:50, 58 visible ChatGPT/Codex processes used 7.954 GiB private allocation and 10.544 GiB working set; system commit was 70.45%. Available physical memory was unavailable because the low-privilege CIM query returned access denied. At 02:39:45, after targeted checkpoint/browser-cleanup instructions were sent to the largest active contributors, 57 processes used 7.438 GiB private allocation and 9.975 GiB working set; system commit was 74.86%.

    The largest resolved conversation owners in this instance were Audit EPK video styling, Update DanceFlow tools and workflows, Daily unblocker, Monitor Amazon Artists stats, and S: Rupert Lowe for PM, with smaller contributions from S: Light Will Win and others. These counts may include ownership aliases and repeated lifecycle messages; they are not tab counts.

    One implicated chat completed cleanup first, closing its completed WordPress verification tab and stopping its preview server. Other active chats were still reaching safe checkpoints. Between the two bounded samples, cumulative IAB totals rose from 4,940 to 5,026 and missing-frame totals from 2,306 to 2,346: the rate slowed substantially but had not reached zero.

    This reproduces the browser-loop pattern after restart, long-chat migration, and earlier cleanup, while memory and commit remained below the original #55151 pressure incident and app-server queues remained healthy. It further supports treating this as an active browser lifecycle/teardown defect rather than a symptom explained solely by severe memory pressure.

  4. kieransimkin commented on Oct 19, 2026

    @kieransimkin
    Author

    Confirmed recurrence ending in another app hang/crash (19 October 2026, 02:46–02:50 BST)

    The recurrence reported in my previous comment progressed to a whole-app hang/closure while a separate video render was running. Windows Error Reporting recorded:

    • AppHangTransient at 02:46:37 BST — report ID 0ab3fb66-dae8-4ef7-9070-13819890ca28
    • MoAppHang at 02:50:30 BST — report ID 2c0eb1dd-464c-4de9-a73f-9e3b907862bb

    The crashed instance's final log contained 5,918 IAB_LIFECYCLE lines and 2,644 Frame with the given id was not found errors, with 0 queue-full, 0 queue-expiry and 0 renderer-gone messages. Its last log entries at 02:50:18 BST were still performing browser owner synchronisation/rebinding, about 12 seconds before the MoAppHang record. This is temporal correlation rather than proof of causation, but it makes the stale-frame lifecycle loop the leading observed mechanism for this crash.

    After relaunch, 16 visible ChatGPT/Codex processes used 3.609 GiB private allocation and 4.025 GiB working set; system commit was 53.78%. A short post-relaunch NVIDIA sample showed 3–24% GPU utilisation, 0% encoder utilisation and about 1.72 GiB VRAM use. Because that sample was after the crash, it cannot establish GPU state at failure and does not rule out earlier contention.

    Local mitigation now blocks new in-app-browser work and routes browser tasks to connectors/APIs/CLI, the external Chrome extension for signed-in interaction, or bounded standalone Playwright for signed-out checks. This is a workaround, not evidence of a product fix.

    Feedback ID: 01a136cf-cc28-7752-bf95-91ab6f040675.

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

    appbrowserbugperformancewindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions