Bash Tool Execution Hangs: Infinite Loop or Unresponsive Process

Resolved 💬 2 comments Opened Jul 19, 2025 by vicentereig Closed Jul 19, 2025

Bug Description
Claude gets stuck running Bash tools and never finishes their execution

Environment Info

  • Platform: linux
  • Terminal: kitty
  • Version: 1.0.56
  • Feedback ID: f66de033-92e6-433a-9f73-7de840fcd8d9

Errors

[{"error":"Error: Failed to create shell snapshot: \n    at file:///home/vicente/.nvm/versions/node/v24.4.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:797:1572\n    at ChildProcess.exithandler (node:child_process:424:5)\n    at ChildProcess.emit (node:events:507:28)\n    at ChildProcess.emit (node:domain:489:12)\n    at maybeClose (node:internal/child_process:1101:16)\n    at ChildProcess._handle.onexit (node:internal/child_process:305:5)","timestamp":"2025-07-19T13:00:30.046Z"}]

View original on GitHub ↗

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