claude-code - 💡(How to fix) Fix [Bug] Anthropic API Error: Corrupted or malformed response output [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#46158Fetched 2026-04-11 06:27:37
View on GitHub
Comments
1
Participants
2
Timeline
8
Reactions
0
Author
Timeline (top)
labeled ×4cross-referenced ×3commented ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/lxxxx/.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-10T09:24:05.629Z"},{"error":"Error: Tool mcp__codex__codex not found\n at i67 (/$bunfs/root/src/entrypoints/cli.js:2883:31046)\n at aw (/$bunfs/root/src/entrypoints/cli.js:472:21000)\n at Wz (/$bunfs/root/src/entrypoints/cli.js:472:39552)\n at t0 (/$bunfs/root/src/entrypoints/cli.js:472:50251)\n at DuH (/$bunfs/root/src/entrypoints/cli.js:472:86925)\n at I5H (/$bunfs/root/src/entrypoints/cli.js:472:85888)\n at b5H (/$bunfs/root/src/entrypoints/cli.js:472:85709)\n at AuH (/$bunfs/root/src/entrypoints/cli.js:472:82066)\n at vH (/$bunfs/root/src/entrypoints/cli.js:472:6368)\n at ZS6 (/$bunfs/root/src/entrypoints/cli.js:465:6457)","timestamp":"2026-04-10T09:24:15.484Z"},{"error":"Error: Tool mcp__codex__codex-reply not found\n at i67 (/$bunfs/root/src/entrypoints/cli.js:2883:31046)\n at aw (/$bunfs/root/src/entrypoints/cli.js:472:21000)\n at Wz (/$bunfs/root/src/entrypoints/cli.js:472:39552)\n at t0 (/$bunfs/root/src/entrypoints/cli.js:472:50251)\n at DuH (/$bunfs/root/src/entrypoints/cli.js:472:86925)\n at I5H (/$bunfs/root/src/entrypoints/cli.js:472:85888)\n at b5H (/$bunfs/root/src/entrypoints/cli.js:472:85709)\n at AuH (/$bunfs/root/src/entrypoints/cli.js:472:82066)\n at vH (/$bunfs/root/src/entrypoints/cli.js:472:6368)\n at ZS6 (/$bunfs/root/src/entrypoints/cli.js:465:6457)","timestamp":"2026-04-10T09:24:15.486Z"},{"error":"Error: Request was aborted.\n at RS_ (/$bunfs/root/src/entrypoints/cli.js:1245:11933)\n at next (native:1:11)\n at cx7 (/$bunfs/root/src/entrypoints/cli.js:7818:9195)\n at next (native:1:11)\n at ix7 (/$bunfs/root/src/entrypoints/cli.js:7823:11444)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T09:44:23.444Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/lxxxx/.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-10T09:24:05.629Z"},{"error":"Error: Tool mcp__codex__codex not found\n    at i67 (/$bunfs/root/src/entrypoints/cli.js:2883:31046)\n    at aw (/$bunfs/root/src/entrypoints/cli.js:472:21000)\n    at Wz (/$bunfs/root/src/entrypoints/cli.js:472:39552)\n    at t0 (/$bunfs/root/src/entrypoints/cli.js:472:50251)\n    at DuH (/$bunfs/root/src/entrypoints/cli.js:472:86925)\n    at I5H (/$bunfs/root/src/entrypoints/cli.js:472:85888)\n    at b5H (/$bunfs/root/src/entrypoints/cli.js:472:85709)\n    at AuH (/$bunfs/root/src/entrypoints/cli.js:472:82066)\n    at vH (/$bunfs/root/src/entrypoints/cli.js:472:6368)\n    at ZS6 (/$bunfs/root/src/entrypoints/cli.js:465:6457)","timestamp":"2026-04-10T09:24:15.484Z"},{"error":"Error: Tool mcp__codex__codex-reply not found\n    at i67 (/$bunfs/root/src/entrypoints/cli.js:2883:31046)\n    at aw (/$bunfs/root/src/entrypoints/cli.js:472:21000)\n    at Wz (/$bunfs/root/src/entrypoints/cli.js:472:39552)\n    at t0 (/$bunfs/root/src/entrypoints/cli.js:472:50251)\n    at DuH (/$bunfs/root/src/entrypoints/cli.js:472:86925)\n    at I5H (/$bunfs/root/src/entrypoints/cli.js:472:85888)\n    at b5H (/$bunfs/root/src/entrypoints/cli.js:472:85709)\n    at AuH (/$bunfs/root/src/entrypoints/cli.js:472:82066)\n    at vH (/$bunfs/root/src/entrypoints/cli.js:472:6368)\n    at ZS6 (/$bunfs/root/src/entrypoints/cli.js:465:6457)","timestamp":"2026-04-10T09:24:15.486Z"},{"error":"Error: Request was aborted.\n    at RS_ (/$bunfs/root/src/entrypoints/cli.js:1245:11933)\n    at next (native:1:11)\n    at cx7 (/$bunfs/root/src/entrypoints/cli.js:7818:9195)\n    at next (native:1:11)\n    at ix7 (/$bunfs/root/src/entrypoints/cli.js:7823:11444)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T09:44:23.444Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description claude is spewing gibberish all day:

Now the logger import is probably unused in the provider let me check.

Read 1 file

az5,c/5c. Now Me0resu /c. CEG, sub nu1C6

O2ns, cor1.fer/V1. ce4.S(4/1((93)1ns,

(6, 4 ( ,COb4 ,ND (55ls (3.0, 1s, wNm4 7b f

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.100
  • Feedback ID: f69bde02-3caf-4b25-aae5-d9ad42546a26

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/lxxxx/.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-10T09:24:05.629Z"},{"error":"Error: Tool mcp__codex__codex not found\n    at i67 (/$bunfs/root/src/entrypoints/cli.js:2883:31046)\n    at aw (/$bunfs/root/src/entrypoints/cli.js:472:21000)\n    at Wz (/$bunfs/root/src/entrypoints/cli.js:472:39552)\n    at t0 (/$bunfs/root/src/entrypoints/cli.js:472:50251)\n    at DuH (/$bunfs/root/src/entrypoints/cli.js:472:86925)\n    at I5H (/$bunfs/root/src/entrypoints/cli.js:472:85888)\n    at b5H (/$bunfs/root/src/entrypoints/cli.js:472:85709)\n    at AuH (/$bunfs/root/src/entrypoints/cli.js:472:82066)\n    at vH (/$bunfs/root/src/entrypoints/cli.js:472:6368)\n    at ZS6 (/$bunfs/root/src/entrypoints/cli.js:465:6457)","timestamp":"2026-04-10T09:24:15.484Z"},{"error":"Error: Tool mcp__codex__codex-reply not found\n    at i67 (/$bunfs/root/src/entrypoints/cli.js:2883:31046)\n    at aw (/$bunfs/root/src/entrypoints/cli.js:472:21000)\n    at Wz (/$bunfs/root/src/entrypoints/cli.js:472:39552)\n    at t0 (/$bunfs/root/src/entrypoints/cli.js:472:50251)\n    at DuH (/$bunfs/root/src/entrypoints/cli.js:472:86925)\n    at I5H (/$bunfs/root/src/entrypoints/cli.js:472:85888)\n    at b5H (/$bunfs/root/src/entrypoints/cli.js:472:85709)\n    at AuH (/$bunfs/root/src/entrypoints/cli.js:472:82066)\n    at vH (/$bunfs/root/src/entrypoints/cli.js:472:6368)\n    at ZS6 (/$bunfs/root/src/entrypoints/cli.js:465:6457)","timestamp":"2026-04-10T09:24:15.486Z"},{"error":"Error: Request was aborted.\n    at RS_ (/$bunfs/root/src/entrypoints/cli.js:1245:11933)\n    at next (native:1:11)\n    at cx7 (/$bunfs/root/src/entrypoints/cli.js:7818:9195)\n    at next (native:1:11)\n    at ix7 (/$bunfs/root/src/entrypoints/cli.js:7823:11444)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T09:44:23.444Z"}]

extent analysis

TL;DR

The issue with Claude spewing gibberish may be related to errors such as lock acquisition failures and tool not found errors, suggesting a potential issue with the installation or configuration of Claude.

Guidance

  1. Check Claude Installation: Verify that Claude is properly installed and configured, especially considering the errors related to lock acquisition and tool not found.
  2. Review Version Compatibility: Ensure that the version of Claude (2.1.100) is compatible with the environment (darwin, vscode) and that there are no known issues with this version.
  3. Inspect Error Logs: Carefully examine the error logs provided to identify any patterns or specific errors that could point to the root cause of the issue, such as the "Lock acquisition failed" or "Tool not found" errors.
  4. Environment Variables and Paths: Check if there are any issues with environment variables or paths that could be affecting Claude's ability to find necessary tools or acquire locks.

Example

No specific code example can be provided without more context on how Claude is being used or integrated into the project.

Notes

The provided information lacks specific details about how Claude is being used or integrated, which could be crucial for pinpointing the exact issue. The errors suggest potential problems with the setup or compatibility of Claude with the current environment.

Recommendation

Apply workaround: Given the nature of the errors (lock acquisition failures, tool not found), it might be beneficial to try reinstalling Claude or checking its configuration to ensure it is set up correctly for the darwin platform and vscode terminal.

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] Anthropic API Error: Corrupted or malformed response output [1 comments, 2 participants]