Codex Windows "not responding" freeze/hang with long chat/thread
Open 💬 4 comments Opened Apr 28, 2026 by andkondev
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the Codex App are you using (From “About Codex” dialog)?
26.422.30944
What subscription do you have?
Pro 5x
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What issue are you seeing?
In long threads, the Windows app starts to hang/freeze after sending a message and when the final response is done. The longer the thread, the longer the freeze. Initially a few seconds, then a hang for a minute or two. It's a shame since context so it'd be nice to keep threads going.
<img width="457" height="219" alt="Image" src="https://github.com/user-attachments/assets/3211e529-cf15-4ea8-b456-e6315a75ee2f" />
What steps can reproduce the bug?
Keep chatting back and forth in thread until it's long enough to hang. A day's worth is often enough for me, 50-100 or so messages.
What is the expected behavior?
_No response_
Additional information
_No response_
4 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
A_fefarence c_local のCSVのファイル名・列名を日本語にしてください。
I reproduced a Windows Desktop hang in a long, trace-heavy thread on Codex Desktop
26.715.4045.0/ ChatGPT150.0.7871.124. The local thread JSONL was about 2.18 MB.Using an external 500 ms
WM_NULLresponsiveness monitor, I observed an approximately 10-second unresponsive / 10-second responsive cycle. During hangs:ChatGPT.exeUI thread wasWait / Suspended;ChatGPT.exetodwm.exe, consistent with Windows ghosting an unresponsive window;AppHangTransientforChatGPT.exe.In a foreground-control run, Codex was foreground for 47/60 samples, and the hang still occurred for nine consecutive foreground samples before DWM took over. A separate A/B run reproduced the UI suspension with zero Git processes and no
.gitpresent, so the periodic UI hang is not explained solely by the separate orphaned-Git-process bug.WSL_DISTRO_NAME,WSL_INTEROP, and proxy environment variables were empty. The app-server remained active. This appears to be a Desktop UI-thread suspension/long-thread issue rather than disk saturation or a full backend deadlock.Additional reproduction data from Windows, this time with a short thread:
26.715.4045.0codex@26.715.31925max_turns_in_single_thread=4andmax_items_in_single_turn=9, rather than a 50–100-message thread.thread_count_active=1thread_count_streaming_owner=1thread_count_streaming_with_active_runtime=0thread_count_streaming_without_active_runtime=1inflight_turn_count=0delta_events_last_30s=0pending_request_count=0host_child_git_process_count=0This looks like a UI/thread state reconciliation problem where the app retains a streaming owner without an active runtime or in-flight turn, and it is not limited to long threads or an active Git child process. I can provide a sanitized Sentry scope snapshot if that would help.