claude-code - 💡(How to fix) Fix [Bug] System self-sabotage behavior detected [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#46798Fetched 2026-04-12 13:32:47
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/gus/.local/share/claude/versions/2.1.101 (expected in multi-process scenarios)\n at Oc_ (/$bunfs/root/src/entrypoints/cli.js:2836:2153)\n at Ve6 (/$bunfs/root/src/entrypoints/cli.js:2836:1233)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-11T19:51:18.274Z"},{"error":"MaxFileReadTokenExceededError: File content (12636 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at ZY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-11T19:54:24.188Z"},{"error":"AxiosError: Request failed with status code 403\n at eg (/$bunfs/root/src/entrypoints/cli.js:108:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:113:12750)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:865:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:115:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-11T22:51:43.156Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/gus/.local/share/claude/versions/2.1.101 (expected in multi-process scenarios)\n    at Oc_ (/$bunfs/root/src/entrypoints/cli.js:2836:2153)\n    at Ve6 (/$bunfs/root/src/entrypoints/cli.js:2836:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-11T19:51:18.274Z"},{"error":"MaxFileReadTokenExceededError: File content (12636 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at ZY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-11T19:54:24.188Z"},{"error":"AxiosError: Request failed with status code 403\n    at eg (/$bunfs/root/src/entrypoints/cli.js:108:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:113:12750)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:115:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-11T22:51:43.156Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description mais uma prova que o sistema está se auto sabotando.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.101
  • Feedback ID: 0eb554ea-55fc-4b46-a939-2c080d25a6af

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/gus/.local/share/claude/versions/2.1.101 (expected in multi-process scenarios)\n    at Oc_ (/$bunfs/root/src/entrypoints/cli.js:2836:2153)\n    at Ve6 (/$bunfs/root/src/entrypoints/cli.js:2836:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-11T19:51:18.274Z"},{"error":"MaxFileReadTokenExceededError: File content (12636 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at ZY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-11T19:54:24.188Z"},{"error":"AxiosError: Request failed with status code 403\n    at eg (/$bunfs/root/src/entrypoints/cli.js:108:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:113:12750)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:115:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-11T22:51:43.156Z"}]

extent analysis

TL;DR

The system is experiencing errors due to lock acquisition failures, file read token exceedance, and request failures with a 403 status code, suggesting potential issues with file access, API limits, and authentication.

Guidance

  • Investigate the lock acquisition failure by checking the file system permissions and access controls for /Users/gus/.local/share/claude/versions/2.1.101.
  • Review the API documentation to understand how to use offset and limit parameters to read specific portions of files and avoid exceeding the maximum allowed tokens.
  • Verify authentication credentials and permissions to resolve the 403 status code error.
  • Check the system logs for any other related errors or warnings that may indicate a root cause.

Example

No code snippet is provided as the issue does not clearly imply a specific code-based solution.

Notes

The errors suggest a combination of issues related to file access, API usage, and authentication. Resolving these errors may require a multi-faceted approach, including adjustments to file system permissions, API request parameters, and authentication credentials.

Recommendation

Apply workaround: Implement error handling and logging to better understand the frequency and context of these errors, and adjust the system configuration and API requests accordingly, as the exact fix is not immediately clear from the provided information.

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