Repository navigation
Description
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 failedWindows Computer Use helper paths are unavailablebrowser_use_availability_resolved available=true browserPane=true platform=WindowsIAB_LIFECYCLE ... browser use route/sessionBundledPluginsMarketplace ... EBUSY ... plugins\chrome\extension-host\windows\x64Item 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
-
Microsoft Defender:
- Defender was prompting to submit sample files, including
.codex\config.toml. SubmitSamplesConsentwas set toNeverSend.- Defender exclusions were added for Codex config/cache/runtime/project folders.
- Result: severe freezes reduced, but did not disappear.
- Defender was prompting to submit sample files, including
-
Codex config/state:
notify = []model_reasoning_effort = "medium"chrome@openai-bundled,browser@openai-bundled, andcomputer-use@openai-bundleddisabled 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.
-
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.
-
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.
- Codex was launched with:
-
Global state cleanup:
.codex-global-state.jsonwas 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
github-actions commentedon Jun 4, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
igorchaves-prog commentedon Jun 5, 2026
igorchaves-prog commentedon Jun 6, 2026
Additional update, 2026-06-06:
The issue is still present after an automatic update to:
New observation: Codex can freeze even when no user request is actively processing.
Windows logged a new event:
AppHangTransientCodex.exe149.0.7827.54a772688e-3450-4535-9542-7ae0347a58f7New relevant log patterns from the 26.602.4764.0 build:
Dropping invalid desktop setting key=conversationDetailModeBundledPluginsMarketplace ... bundled_plugin_reinstall_uninstall_requested ... pluginId=chrome@openai-bundled ... reason=forcedbundled_plugins_marketplace_install_failed ... plugin_cache_windows_file_lock ... Acesso negado. (os error 5)bundled_plugins_reconcile_failed ... reason=startupbundled_plugins_reconcile_started ... reason=focusbrowser_use_availability_resolved available=true browserPane=true platform=Windowscomputer-use native pipe startup failed/Windows Computer Use helper paths are unavailableThere 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-enabledThis 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.
igorchaves-prog commentedon Jun 6, 2026
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.codex\plugins\cache\openai-bundled\chrome\latest\extension-host\windows\x64\extension-host.exechrome\latestwas a junction pointing to:.codex\.tmp\bundled-marketplaces\openai-bundled\plugins\chromeUsing Windows Restart Manager, the locking process was reported as:
extension-hostRmConsole.codex\plugins\cache\openai-bundled\chrome\latest\extension-host\windows\x64\extension-host.exeThis explains the earlier startup/focus log errors:
bundled_plugin_reinstall_uninstall_requested ... pluginId=chrome@openai-bundled ... reason=forcedbundled_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.exealmost immediately.I then found the Chrome Native Messaging host:
HKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextensionC:\Users\Igor\AppData\Local\OpenAI\extension\com.openai.codexextension.jsonAs a local test, I backed up/renamed that registry key to:
com.openai.codexextension.disabledThen I stopped the current
cmd.exe/extension-host.exeprocesses 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.exealive 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.Sceleratis commentedon Jun 17, 2026
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.
sidibem79 commentedon Jul 20, 2026
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
26.715.7063.0_x64(app version26.715.52143), bundled CLIcodex-cli 0.145.0-alpha.18integratedTerminalShellnot set to wsl26.715.4045.0Symptom
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/MoAppHangforChatGPT.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:
Isolation (A/B/A tested, same session series, restart between each step)
computer-use disabled again, everything else re-enabled (incl. full curated catalog, remote_plugin=true, MCP servers) | OK, repeatedly
computer-use@openai-bundledis 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_replnative pipe,SKY_CUA_NATIVE_PIPE) fails to start on this machine. The generatedmcp_servers.node_replconfig hasstartup_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 (includingapp/listandconfig/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/Codexrename),mentions_v2off,appsfeature off,remote_pluginoff 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_ProcessreturnedInvalid class, HRESULT 0x80041010). While that was broken, one session logged: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 theInvalid classerrors but did not fix the@freeze; only disabling computer-use did. The same phase also emits dozens oftaskkill.exeexit-128 spawns per minute.Workaround
Restores full
@picker function immediately. Happy to provide redacted breadcrumb logs, the full isolation timeline, or run a debug build.