[Bug] Claude enters infinite loop of redundant file modifications without progress

Resolved 💬 3 comments Opened Feb 17, 2026 by mbuon Closed Feb 21, 2026

Bug Description
Claude continues in the same loop of fake changes to files to fix an issue.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.42
  • Feedback ID: 34828db8-ad75-45b5-b4b6-5f3927db2f09

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/massimo/.local/share/claude/versions/2.1.42 (expected in multi-process scenarios)\n    at ZwR (/$bunfs/root/claude:3483:2098)\n    at ESA (/$bunfs/root/claude:3483:1209)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-16T12:19:55.237Z"},{"error":"Error: File does not exist.\n    at call (/$bunfs/root/claude:1309:6225)\n    at async <anonymous> (/$bunfs/root/claude:5821:1670)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-16T13:10:37.124Z"},{"error":"Error\n    at _M (/$bunfs/root/claude:42:1144)\n    at <anonymous> (/$bunfs/root/claude:43:10097)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:45:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-16T17:57:03.037Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/claude:366:3940)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-16T19:04:59.788Z"},{"error":"Error: Request was aborted.\n    at g5R (/$bunfs/root/claude:869:100994)\n    at next (native:1:11)\n    at jeB (/$bunfs/root/claude:5566:5182)\n    at next (native:1:11)\n    at xeB (/$bunfs/root/claude:5571:9101)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-16T19:16:26.049Z"},{"error":"MaxFileReadTokenExceededError: File content (28274 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at Gz_ (/$bunfs/root/claude:1300:7592)\n    at async Jz_ (/$bunfs/root/claude:1304:2464)\n    at async call (/$bunfs/root/claude:1309:5930)\n    at async <anonymous> (/$bunfs/root/claude:5821:1670)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-16T21:57:48.275Z"},{"error":"Error: File does not exist.\n    at call (/$bunfs/root/claude:1309:6225)\n    at async Uh8 (/$bunfs/root/claude:3335:14119)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-16T22:07:10.909Z"},{"error":"Error: File does not exist.\n    at call (/$bunfs/root/claude:1309:6225)\n    at async <anonymous> (/$bunfs/root/claude:5821:1670)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-16T22:08:58.023Z"},{"error":"Error: File does not exist.\n    at call (/$bunfs/root/claude:1309:6225)\n    at async <anonymous> (/$bunfs/root/claude:5821:1670)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-16T22:13:11.844Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n    at BN8 (/$bunfs/root/claude:3481:2077)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-17T00:20:12.665Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n    at BN8 (/$bunfs/root/claude:3481:2077)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-17T00:20:12.665Z"},{"error":"Error: 1P event logging: 3 events failed to export (code=FailedToOpenSocket, Was there a typo in the url or port?)\n    at queueFailedEvents (/$bunfs/root/claude:2110:2350)\n    at async doExport (/$bunfs/root/claude:2110:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-17T00:20:17.664Z"},{"error":"Error: {\"message\":\"Failed to export 3 events (code=FailedToOpenSocket, Was there a typo in the url or port?)\",\"originalLine\":\"2110\",\"originalColumn\":\"1409\",\"line\":\"2110\",\"column\":\"1409\",\"sourceURL\":\"/$bunfs/root/claude\",\"stack\":\"Error: Failed to export 3 events (code=FailedToOpenSocket, Was there a typo in the url or port?)\\n    at doExport (/$bunfs/root/claude:2110:1409)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/claude:2153:25028)\n    at <anonymous> (/$bunfs/root/claude:2105:20180)\n    at cd7 (/$bunfs/root/claude:2105:20724)\n    at <anonymous> (/$bunfs/root/claude:2106:17366)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-17T00:20:17.664Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-…

Note: Content was truncated.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗