claude-code - 💡(How to fix) Fix [Bug] Rewind functionality causes terminal freeze, unable to exit or navigate [1 comments, 2 participants]

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…
GitHub stats
anthropics/claude-code#52209Fetched 2026-04-23 07:33:40
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×3cross-referenced ×2commented ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/byronluk/.local/share/claude/versions/2.1.118 (expected in multi-process scenarios)\n at ai_ (/$bunfs/root/src/entrypoints/cli.js:2756:2177)\n at IK8 (/$bunfs/root/src/entrypoints/cli.js:2756:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T01:05:31.523Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/byronluk/.local/share/claude/versions/2.1.118 (expected in multi-process scenarios)\n    at ai_ (/$bunfs/root/src/entrypoints/cli.js:2756:2177)\n    at IK8 (/$bunfs/root/src/entrypoints/cli.js:2756:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T01:05:31.523Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description This claude session has broke somehow and I can no longer rewind. Once I try rewinding, I get stuck in the rewind screen. I can't exit back out, nor can I move to past messages. I'm just stuck. I have to kill my terminal window entirely. I can't even ctrl+C out.

Environment Info

  • Platform: darwin
  • Terminal: Superset
  • Version: 2.1.118
  • Feedback ID: 4b0211a7-a518-4a90-a3e5-97ef3afcf0b1

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/byronluk/.local/share/claude/versions/2.1.118 (expected in multi-process scenarios)\n    at ai_ (/$bunfs/root/src/entrypoints/cli.js:2756:2177)\n    at IK8 (/$bunfs/root/src/entrypoints/cli.js:2756:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T01:05:31.523Z"}]

extent analysis

TL;DR

The issue may be related to a lock acquisition failure, and removing the lock file could potentially resolve the rewind issue.

Guidance

  • The error message suggests a lock acquisition failure, which might be causing the rewind functionality to get stuck. Investigating the lock file location /Users/byronluk/.local/share/claude/versions/2.1.118 could provide more insights.
  • Try removing the lock file (if it exists) to see if it resolves the issue. This can be done by running a command like rm /Users/byronluk/.local/share/claude/versions/2.1.118 in the terminal.
  • If removing the lock file does not work, try checking the file system permissions for the lock file location to ensure that the application has the necessary permissions to acquire the lock.
  • Consider checking for any other error messages or logs that might indicate a more underlying issue with the application.

Example

No code snippet is provided as it is not clearly supported by the issue.

Notes

The provided solution is based on the error message indicating a lock acquisition failure. However, without more information about the application's internal workings, it's difficult to provide a more definitive solution. The suggested steps are intended to be exploratory and may not fully resolve the issue.

Recommendation

Apply workaround: Removing the lock file could potentially resolve the rewind issue, but it's essential to investigate the root cause to prevent similar issues in the future.

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