claude-code - 💡(How to fix) Fix [Bug] Claude Code intermittently returns gibberish output requiring manual resumption [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#46215Fetched 2026-04-11 06:26:07
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1cross-referenced ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/jonatannyqvist/.local/share/claude/versions/2.1.100 (expected in multi-process scenarios)\n at dU_ (/$bunfs/root/src/entrypoints/cli.js:2810:2153)\n at qt6 (/$bunfs/root/src/entrypoints/cli.js:2810:1233)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T12:40:06.432Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/jonatannyqvist/.local/share/claude/versions/2.1.100 (expected in multi-process scenarios)\n    at dU_ (/$bunfs/root/src/entrypoints/cli.js:2810:2153)\n    at qt6 (/$bunfs/root/src/entrypoints/cli.js:2810:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T12:40:06.432Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description During the last couple of hours claude code sometimes suddenly returns gibberish. And I have to manually ask it to resume. It doesn't help if i clear the session, or restart the claude code application. It also happens in multiple different instances for me.

<img width="1268" height="113" alt="Image" src="https://github.com/user-attachments/assets/720ee8ab-5215-438c-bec2-d44dd0094d22" />

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.100
  • Feedback ID: 2de4430a-e0b4-4977-baba-1fe9ed1b81eb

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/jonatannyqvist/.local/share/claude/versions/2.1.100 (expected in multi-process scenarios)\n    at dU_ (/$bunfs/root/src/entrypoints/cli.js:2810:2153)\n    at qt6 (/$bunfs/root/src/entrypoints/cli.js:2810:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T12:40:06.432Z"}]

extent analysis

TL;DR

Investigate the "Lock acquisition failed" error to resolve the issue of claude code returning gibberish.

Guidance

  • Check the file system permissions for /Users/jonatannyqvist/.local/share/claude/versions/2.1.100 to ensure the application has proper access.
  • Verify if multiple instances of the application are running simultaneously, which could cause the lock acquisition failure.
  • Review the error message and code at /$bunfs/root/src/entrypoints/cli.js:2810:2153 to understand the locking mechanism and potential fixes.
  • Consider checking for any file system or disk issues that might prevent the application from acquiring the necessary lock.

Notes

The provided error message suggests a locking issue, which might be related to the application's design or the environment it's running in. Further investigation into the application's code and the system's configuration is necessary to determine the root cause.

Recommendation

Apply workaround: Investigate and resolve the locking issue, as it's likely the cause of the problem, and upgrading to a fixed version is not explicitly mentioned as an option.

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