Skip to content

Windows Codex app still micro-freezes after prompts in build 26.601.2237.0 #26401

Open

Description

@igorchaves-prog

Title: Windows Codex app still micro-freezes after prompts in build 26.601.2237.0; Defender/GPU/cache mitigations only partially help

Hi OpenAI/Codex team,

I am seeing repeated UI freezes/micro-freezes in the Windows Codex desktop app after sending prompts or while the app is thinking/rendering output. The severe hangs improved after local mitigations, but smaller UI freezes still remain. This started after a recent Codex desktop update; the machine previously did not show this behavior.

Environment

  • App: OpenAI Codex desktop for Windows
  • App package version: 26.601.2237.0
  • PackageFullName: OpenAI.Codex_26.601.2237.0_x64__2p2nqsd0c76g0
  • Install location: C:\Program Files\WindowsApps\OpenAI.Codex_26.601.2237.0_x64__2p2nqsd0c76g0
  • Codex.exe / renderer version shown in WER: 149.0.7827.54
  • OS: Windows 11 Pro for Workstations
  • OS build: 10.0.26200 / 26200
  • RAM: about 24 GB total, plenty of memory available during tests
  • Graphics/adapters:
    • Intel(R) Iris(R) Xe Graphics, driver 32.0.101.7082, driver date 2026-01-19
    • SMI USB Display, driver 2.22.2.0, driver date 2024-10-28

Symptoms

  • After sending prompts, the Codex UI can temporarily freeze or show as not responding.
  • Severe hangs became less frequent after mitigations, but short micro-freezes continue.
  • Hardware resources do not appear saturated.
  • The issue is more noticeable in long threads with many outputs/diffs.

Windows Error Reporting evidence

Observed Windows events on 2026-06-03:

  • AppHangTransient for Codex.exe 149.0.7827.54
  • MoAppHang for OpenAI.Codex_26.601.2237.0_x64__2p2nqsd0c76g0
  • Application Hang event for Codex.exe 149.0.7827.54
  • AppHangTransient repeated at multiple times, including around 11:28, 11:32, 16:12, 18:13, and 19:50 local time.

After mitigations, no new severe Codex AppHang was observed in one later check window, but micro-freezes still occur.

Relevant Codex log patterns

Repeated patterns seen in Codex logs:

  • computer-use native pipe startup failed
  • Windows Computer Use helper paths are unavailable
  • browser_use_availability_resolved available=true browserPane=true platform=Windows
  • IAB_LIFECYCLE ... browser use route/session
  • BundledPluginsMarketplace ... EBUSY ... plugins\chrome\extension-host\windows\x64
  • Item not found in turn state itemId=...
  • ResizeObserver loop completed with undelivered notifications
  • Earlier: Recoverable Chromium child process gone ... processType=GPU reason=killed

Important observation: even after disabling browser/chrome/computer-use plugins in config, logs still showed Browser/IAB and Computer Use initialization attempts.

Mitigations already tried

  1. Microsoft Defender:

    • Defender was prompting to submit sample files, including .codex\config.toml.
    • SubmitSamplesConsent was set to NeverSend.
    • Defender exclusions were added for Codex config/cache/runtime/project folders.
    • Result: severe freezes reduced, but did not disappear.
  2. Codex config/state:

    • notify = []
    • model_reasoning_effort = "medium"
    • chrome@openai-bundled, browser@openai-bundled, and computer-use@openai-bundled disabled in config.
    • Ambient suggestions and composer auto-context disabled.
    • Right panel/detail mode reduced where possible.
    • Result: partial improvement, but logs still show Browser/IAB/Computer Use paths being initialized.
  3. Cache/session reset:

    • GPU/WebView/Chromium caches were renamed/reset.
    • Browser/session storage/partitions were renamed/reset.
    • Result: partial improvement, but residual micro-freezes continue.
  4. GPU-disabled test:

    • Codex was launched with:
      --disable-gpu --disable-gpu-compositing --disable-gpu-rasterization --disable-zero-copy
    • Process inspection confirmed the main process used those flags and the GPU process used WARP/software mode (d3d11-warp).
    • Result: micro-freezes continued. This reduces the likelihood that hardware GPU acceleration alone is the remaining cause.
  5. Global state cleanup:

    • .codex-global-state.json was backed up and reduced from about 125 KB to about 7.8 KB by clearing prompt history/drafts and reapplying a light profile.
    • Codex restarted successfully.
    • After restart, Codex repopulated the global state back to about 120 KB and restored much of the prompt-history/right-panel state.
    • Result: not a durable mitigation in this build.

Current conclusion

This looks like a Windows Codex desktop regression or internal UI/renderer workload issue in build 26.601.2237.0, not a simple hardware limitation.

Defender aggravated the issue initially, but after Defender sample submission/exclusions the remaining problem persists. Disabling GPU acceleration did not resolve it. Clearing global state temporarily reduced it, but the app reconstructs the state on launch. Logs still show Browser/IAB/Computer Use initialization even when related plugins/config appear disabled.

Useful reproduction context

  • Use a long Codex thread with many turns, diffs, outputs, and side-panel content.
  • Send a prompt and watch the UI while it thinks/renders output.
  • The freeze is often temporary and then the UI recovers.

Request

Please investigate whether build 26.601.2237.0 has a regression in the Windows desktop renderer/UI, Browser/IAB initialization, Computer Use startup path, or state reconstruction/rendering for long threads.

I can provide additional sanitized logs or WER details if needed.

Activity

  1. added
    bug
    app
    windows-os
    on Jun 4, 2026
  2. igorchaves-prog commented on Jun 5, 2026

    @igorchaves-prog
    Author
  3. igorchaves-prog commented on Jun 6, 2026

    @igorchaves-prog
    Author

    Additional update, 2026-06-06:

    The issue is still present after an automatic update to:

    • OpenAI.Codex 26.602.4764.0
    • PackageFullName: OpenAI.Codex_26.602.4764.0_x64__2p2nqsd0c76g0

    New observation: Codex can freeze even when no user request is actively processing.

    Windows logged a new event:

    • 2026-06-06 10:33:56 local time: AppHangTransient
    • P1: Codex.exe
    • P2: 149.0.7827.54
    • Report ID: a772688e-3450-4535-9542-7ae0347a58f7

    New relevant log patterns from the 26.602.4764.0 build:

    • Dropping invalid desktop setting key=conversationDetailMode
    • BundledPluginsMarketplace ... bundled_plugin_reinstall_uninstall_requested ... pluginId=chrome@openai-bundled ... reason=forced
    • bundled_plugins_marketplace_install_failed ... plugin_cache_windows_file_lock ... Acesso negado. (os error 5)
    • bundled_plugins_reconcile_failed ... reason=startup
    • bundled_plugins_reconcile_started ... reason=focus
    • browser_use_availability_resolved available=true browserPane=true platform=Windows
    • repeated computer-use native pipe startup failed / Windows Computer Use helper paths are unavailable

    There was also another Codex-related process running from the Cursor extension:

    • .cursor\extensions\openai.chatgpt-26.601.20914-win32-x64\bin\windows-x86_64\codex.exe app-server --analytics-default-enabled

    This may or may not be related, but it is worth noting because the desktop app logs now show plugin cache/file-lock failures while reconciling bundled plugins.

    This strengthens the hypothesis that the remaining freezes are not tied only to active model responses, but may also be related to background plugin reconciliation, Browser/IAB/Computer Use startup paths, or app-server/UI background work in the Windows desktop app.

  4. igorchaves-prog commented on Jun 6, 2026

    @igorchaves-prog
    Author

    Additional update, 2026-06-06:

    I found a more concrete cause for one of the background freezes/cache failures.

    The bundled Chrome plugin cache was locked by:

    • extension-host.exe
    • Path: .codex\plugins\cache\openai-bundled\chrome\latest\extension-host\windows\x64\extension-host.exe

    chrome\latest was a junction pointing to:

    • .codex\.tmp\bundled-marketplaces\openai-bundled\plugins\chrome

    Using Windows Restart Manager, the locking process was reported as:

    • Process: extension-host
    • ApplicationType: RmConsole
    • Path: .codex\plugins\cache\openai-bundled\chrome\latest\extension-host\windows\x64\extension-host.exe

    This explains the earlier startup/focus log errors:

    • bundled_plugin_reinstall_uninstall_requested ... pluginId=chrome@openai-bundled ... reason=forced
    • bundled_plugins_marketplace_install_failed ... plugin_cache_windows_file_lock ... Acesso negado. (os error 5)

    After renaming the bundled plugin cache, Codex/Chrome recreated the cache and relaunched extension-host.exe almost immediately.

    I then found the Chrome Native Messaging host:

    • Registry key: HKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextension
    • Manifest: C:\Users\Igor\AppData\Local\OpenAI\extension\com.openai.codexextension.json

    As a local test, I backed up/renamed that registry key to:

    • com.openai.codexextension.disabled

    Then I stopped the current cmd.exe / extension-host.exe processes launched from the Codex Chrome plugin cache. They did not immediately respawn after the Native Messaging host was disabled.

    This suggests that the Chrome extension/native messaging path can keep extension-host.exe alive and lock the bundled Chrome plugin cache, while the desktop app simultaneously tries to reconcile/reinstall bundled plugins on startup/focus. That appears to contribute to freezes even when no model request is actively running.

  5. Sceleratis commented on Jun 17, 2026

    @Sceleratis

    Just wanted to say I've also been having severe performance issues with the Codex app on Windows 11 Pro. It has gotten to the point where it seems to be causing my entire PC to stutter every singe time it sends a message or runs a command, and I've been trying every possible thing I can think of from GPU drivers to reinstalls but nothing seems to help. Starting the app alone causes my inputs to just lock up and lag for a few seconds without even doing anything else. Dunno what it's doing but whatever it is it's extremely heavy on my system for some reason.

    I'm running on a Ryzen 9 9950X3D, 96GB RAM, and an RTX 5080, so I don't think there should be anything wrong with my computer's specs that would cause this.

  6. sidibem79 commented on Jul 20, 2026

    @sidibem79

    Windows: @ mention picker hangs the app for 86-107s; isolated to the Computer Use bundled plugin (native pipe/helper startup failure blocking app-server)

    Environment

    • Codex Windows package 26.715.7063.0_x64 (app version 26.715.52143), bundled CLI codex-cli 0.145.0-alpha.18
    • Windows 10 Pro 19045, x64, i7-7700HQ, 24 GB RAM
    • Native Windows agent mode (no WSL); integratedTerminalShell not set to wsl
    • Also reproduced on the earlier package build 26.715.4045.0

    Symptom

    Typing @ in the composer within roughly the first 1-2 minutes after launch freezes the entire app ("Codex is not responding"). Windows Application log records genuine hangs (AppHangTransient / MoAppHang for ChatGPT.exe), 7 events in one evening. Each freeze lasts 86-107 seconds, then the UI recovers and delayed timers/network callbacks fire together. Renderer breadcrumbs stop entirely during the hang.

    Renderer log signature around each freeze:

    ui.input  div.ProseMirror.ProseMirror-focused
    [AppServerConnection] response_orphaned requestId=app/list:<uuid> transportKind=stdio
    [electron-message-handler] No promise for request ID id=app/list:<uuid>
    [~107s of no renderer breadcrumbs]
    [bundled-plugins] bundled_plugins_reconcile_failed
      errorMessage="Timed out waiting for MCP response to config/batchWrite" reason=startup
    [AppServerConnection] response_orphaned requestId=config/batchWrite:<uuid>
    

    Isolation (A/B/A tested, same session series, restart between each step)

    Configuration @ result
    All 10 plugins enabled (stock) Freeze
    All plugins disabled OK
    • documents/pdf/spreadsheets/presentations/template-creator | OK
    • chrome | OK
    • computer-use | Freeze (first try, ~30s after launch)
      computer-use disabled again, everything else re-enabled (incl. full curated catalog, remote_plugin=true, MCP servers) | OK, repeatedly

    computer-use@openai-bundled is the deterministic trigger. With it disabled the picker opens in under 3 seconds every time, including immediately after launch with the full 12-bundle curated catalog loaded.

    Why the 86-107s duration

    The Computer Use Windows helper (codex-computer-use.exe / node_repl native pipe, SKY_CUA_NATIVE_PIPE) fails to start on this machine. The generated mcp_servers.node_repl config has startup_timeout_sec = 120. The freeze durations match waiting on that backend. When the @ picker triggers plugin/tool listing on the shared app-server stdio connection, everything behind it (including app/list and config/batchWrite) stalls until timeout, and request promises are dropped so late responses arrive orphaned. This looks related to the "computer-use native pipe startup failed" reports already in this issue.

    Ruled out during isolation

    Restart/update, renderer profile reset (full web/Codex rename), mentions_v2 off, apps feature off, remote_plugin off with the curated cache physically moved away, MCP servers (node_repl, third-party) fully removed from config, workspace size, WMI perf counter corruption (see below), Defender, memory pressure. The freeze survived every one of these except disabling the computer-use plugin.

    Secondary bug worth a look: foreign error surfaces in marketplace folder write

    This machine initially had corrupt Windows performance counters (Get-CimInstance Win32_PerfFormattedData_PerfProc_Process returned Invalid class, HRESULT 0x80041010). While that was broken, one session logged:

    [BundledPluginsMarketplace] plugin_marketplace_folder_write_failed
      errorMessage="Command failed: powershell.exe ... Get-CimInstance Win32_PerfFormattedData_PerfProc_Process ..."
      folderWritePhase=stop_chrome_native_host
      pluginCountBeforeWrite=6 pluginCountAfterWrite=4
    

    The error text belongs to the electron-sampler's process-snapshot command, yet it aborted the marketplace folder write, leaving a partial marketplace (6 -> 4 plugins). That suggests a shared child-process error path where an unrelated failure can abort marketplace writes mid-flight (matching the partial-marketplace race described in #33714). Rebuilding perf counters (lodctr /R, winmgmt /resyncperf) removed the Invalid class errors but did not fix the @ freeze; only disabling computer-use did. The same phase also emits dozens of taskkill.exe exit-128 spawns per minute.

    Workaround

    [plugins."computer-use@openai-bundled"]
    enabled = false
    

    Restores full @ picker function immediately. Happy to provide redacted breadcrumb logs, the full isolation timeline, or run a debug build.

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

    appbrowserbugcomputer-useperformancewindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions