claude-code - 💡(How to fix) Fix [Bug] --resume flag doesn't emit OSC smart title [1 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#45495Fetched 2026-04-09 08:04:05
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Author
Participants
Timeline (top)
labeled ×4closed ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /home/campar/.local/share/claude/versions/2.1.97 (expected in multi-process scenarios)\n at gF$ (/$bunfs/root/src/entrypoints/cli.js:2772:2153)\n at ba8 (/$bunfs/root/src/entrypoints/cli.js:2772:1233)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T22:41:57.456Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /home/campar/.local/share/claude/versions/2.1.97 (expected in multi-process scenarios)\n    at gF$ (/$bunfs/root/src/entrypoints/cli.js:2772:2153)\n    at ba8 (/$bunfs/root/src/entrypoints/cli.js:2772:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T22:41:57.456Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description C. upstream bug with --resume doesn't emit OSC smart title.

Environment Info

  • Platform: linux
  • Terminal: xterm-256color
  • Version: 2.1.97
  • Feedback ID: ba4fa14d-aba2-4a7d-98fc-8bdbe4a8e8f1

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /home/campar/.local/share/claude/versions/2.1.97 (expected in multi-process scenarios)\n    at gF$ (/$bunfs/root/src/entrypoints/cli.js:2772:2153)\n    at ba8 (/$bunfs/root/src/entrypoints/cli.js:2772:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-08T22:41:57.456Z"}]

extent analysis

TL;DR

Investigate the lock acquisition failure for the /home/campar/.local/share/claude/versions/2.1.97 path to resolve the issue with the --resume option.

Guidance

  • Check the permissions and ownership of the /home/campar/.local/share/claude/versions/2.1.97 directory to ensure the current user has write access.
  • Verify if there are any other processes holding a lock on the same directory, which could be causing the acquisition failure.
  • Consider deleting the lock file (if present) and retrying the operation to see if it resolves the issue.
  • Review the code at cli.js:2772:2153 to understand the lock acquisition logic and potential failure points.

Notes

The provided error message suggests a non-fatal error, but it may still be causing issues with the --resume option. The lock acquisition failure could be related to file system permissions, concurrent processes, or other environmental factors.

Recommendation

Apply a workaround by checking and adjusting the directory permissions and investigating concurrent processes, as the root cause of the issue is likely related to the lock acquisition failure.

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