claude-code - 💡(How to fix) Fix [BUG] UI State Race Condition / App freeze during overlapping interactive requests

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Error Messages/Logs

  1. The application fails to handle the concurrent states and displays the "Claude will return soon" error screen. Note: This issue seems specific to the timing of the input. If I wait for the options to appear, the crash does not occur. Attached is the screenshot of the error

Code Example

Message displayed: "Claude will return soon. Claude is currently experiencing a temporary service disruption."
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

The Claude Desktop app (and Claude Code CLI) crashes or freezes, displaying a "Claude will return soon" service disruption screen. This happens specifically when a new request is sent while the previous request is still in an interactive state (waiting for an option selection). It appears to be a race condition between the UI state update and new input handling.

What Should Happen?

The app should either: 1) Block or queue new input until the current interactive selection is rendered/resolved, or 2) Gracefully cancel the previous pending selection if a new request is initiated, without crashing the session.

Error Messages/Logs

Message displayed: "Claude will return soon. Claude is currently experiencing a temporary service disruption."

Steps to Reproduce

  1. Initiate a request that triggers an interactive response (e.g., asking Claude to choose between multiple files or options).
  2. Before the selection options are rendered on the screen, immediately send a new request or command.
  3. The application fails to handle the concurrent states and displays the "Claude will return soon" error screen.

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.138 (native)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

Path: C:\Users\User\.local\bin\claude.exe Note: This issue seems specific to the timing of the input. If I wait for the options to appear, the crash does not occur. Attached is the screenshot of the error

<img width="1920" height="1080" alt="Image" src="https://github.com/user-attachments/assets/2390d0ae-4477-460f-9ca2-ac1d6ca383dd" />

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] UI State Race Condition / App freeze during overlapping interactive requests