Tool calls issues on Linux — page 2
Issues the maintainers labelled both platform:linux and area:tools.
676 issues · 55 open · 621 resolved (92%) · first seen Mar 2, 2025
Is this getting better or worse?
This class of problem is holding steady. 70 new reports in the last 90 days vs 86 in the 90 before — -19%. The open backlog peaked at 218 in 2025-12 and sits at 55 today.
Derived by counting each matching issue from its creation date until it closed. First-party
computation over the anthropics/claude-code tracker — the trend is not published
anywhere upstream.
Which builds report this
251 of these reports name the Claude Code build they were running, spanning 102 releases. Heaviest reporters:
- Claude Code v2.0.76
- Claude Code v2.1.19
- Claude Code v2.1.158
- Claude Code v2.1.29
- Claude Code v2.1.25
- Claude Code v2.1.12
- Claude Code v2.1.63
- Claude Code v2.1.17
Report volume, not a defect count: an issue can mention a build without that build having caused the failure. Versions come from the version string in the bug-report template, matched against real published tags.
Do these get fixed?
Median time to close is 40 days across 621 closures. Of the 621 closures with a recorded reason, 26% were closed as completed and 458 as not-planned or duplicate. The most recent completed fix landed in 2026-08.
Workarounds reported by the community
215 of these issues post a workaround someone says worked. The highest-engagement ones:
- [BUG] AskUserQuestion: "No response after 60s — continued without an answer"
- Another workaround is to temporarily add the tool to the . list in your . Any Tool added to that list is entirely hidden from the model, so it will simply ask questions in prose in the chat window.
Found in the thread of #73125 · resolved - Memory leak: Missing cleanup for /tmp/claude-*-cwd working directory tracking files
- …e script, now on version 2.1.5 and experiencing this issue. Workaround - Add to - Add the following to :
Found in the thread of #8856 · still open - [BUG] Claude can't edit files that use tabs for indentation
- …", show what character position first differed For now, the workaround is to use very small, unique code snippets when editing, so there's less whitespace to match exactly. I'm on Windows 11, in my case it's c++ and I'm…
Found in the thread of #11447 · still open - [BUG] Claude Code creates empty read-only dotfiles in working directory during Bash tool execution
- workaround The following hook is working pretty well in my environment to clean up the spurious files after the Bash tool completes running in the sandbox. [claude-code-sandbox-bash-tool-issue-17087.sh]( See the comments…
Found in the thread of #17087 · resolved - Shell Function Inheritance Issue - Zoxide and Dynamic Functions Fail in Bash Tool
- …n Code When runs, it generates shell functions like: Failed Workarounds Attempted 1. Manual function definition : Functions defined but not accessible 2. Re-sourcing ~/.zshrc : No effect in Claude Code context 3. Direct…
Found in the description of #2407 · resolved
Excerpts are quoted from the linked issue so you can judge relevance before opening it. Threads that only ask for a workaround, or report that there is none, are excluded. These are community suggestions, not official guidance from Anthropic — read the full thread before applying one.
Matching issues 101–200
Ranked by community engagement (reactions weighted over comments). Listing the top 300 of 676 matches; the statistics above cover all 676.
- AskUserQuestion returns empty answers - TTY not passed to tool subprocess
- [BUG] Background process completion causes "queued message" UI state corruption and disables Esc interrupt
- [BUG] all bash script are in bash format, if user default shell is not bash will result in error
- [BUG] Pipe operator (|) in quoted strings incorrectly interpreted as shell pipe in Bash tool
- [BUG] ripgrep fails on OpenBSD
- ralph-wiggum plugin: Hardcoded /bin/bash shebang breaks on NixOS
- Unresponsive hang with 120% CPU usage
- [BUG] "User declined to answer questions" in response to "Chat about this"
- [BUG] disabled system tools still consume the context
- [BUG] Task tools (TaskCreate/TaskUpdate/TaskList/TaskGet) disabled in VSCode extension due to isTTY check — accessibility barrier
- Render loop causes memory explosion and session hang (yoga layout engine)
- Fraudulent issue management - #12172 closed with fake workaround, bug unfixed
- [BUG] In-built Plan subagent doesn't work anymore!
- [BUG] RangeError: Invalid string length
- PostToolUse hooks don't execute for failed Bash commands
- [BUG] Grouped routes in Next.js using parentheses are not autocompleted
- [Bug] Read on mislabeled .png causes unrecoverable 'Could not process image' session corruption
- [BUG] Claude Code hangs entirely when /dev/stdin is read using Bash tool in a sandbox
- [BUG] Bash tool corrupts commands with multi-line + pipe, and $() in pipes
- [BUG] shopt commands run in zsh
- Is --allowedTools with --permission-mode bypassPermissions behavior expected?
- [BUG] Bundled ripgrep fails on Raspberry Pi 5 due to jemalloc page size mismatch
- [Bug] Performance Degradation: Persistent Slowdown After PostToolUse:Edit Hook
- [BUG] 'Update' tool on a large file loads the entire file into context exceeding the compactable amount causing the chat to become irrecoverable.
- [BUG] Shell commands not executing in Claude Code
- [BUG] Claude `/bug` creates invalid URLs
- rm -rf command executed without permission despite explicit allow-list in settings.local.json
- [BUG] VSCode Extension - Error: Claude Code process exited with code 1 - when using background tasks
- [BUG] Claude thinks slash commands are executing when they are not
- [BUG] Claude Code is modifying the Bash PATH for VOLTA
- Edit Tool Crash on String Mismatch
- [FEATURE] Programmatic artifact share-with-org + delete from headless/server CLI sessions
- [Bug] Parallel tool calls cancel all siblings on single error, which appears to cause model confusion
- [Bug] v2.1.109 / Opus 4.7 — silent stuck-turn during tool execution (two distinct failure modes)
- LSP server discovery fails on NixOS (assumes FHS-compliant paths)
- [BUG] Sandbox fails with "bwrap: loopback: Failed RTM_NEWADDR: Operation not permitted"
- [BUG] web search not working (Did 0 searches in 7s)
- gh write commands execute without permission prompt despite Bash not being in allow list
- [BUG] Subagent deployment fails with "Tool names must be unique" error when using VS Code extension
- [BUG] cloning git repositories with a FIDO2 SSH key no longer work when adding marketplaces or plugins from v2.0.15 and up
- [Bug] File Injection Not Recognized as Read, Update() Fails
- [Bug] Bash Glob Expansion Fails with 'No such file or directory' Error
- Added everything to git
- [BUG] Irrecoverable Sessions if Toolcall canceled before completion
- [Bug] Edit tool fails on mixed literal/escape Unicode in multi-line old_string
- [Bug] File read errors not surfaced, causing hallucinations in tool use
- Grep and Glob tools missing from registry on Linux VSCode extension v2.1.117
- [BUG] [Linux] Bundled ripgrep binary missing execute permission — silently breaks all user commands/skills
- Plugin skill autocomplete displays flat names instead of namespaced format
- Bash tool becomes permanently stuck when cached working directory is moved or deleted
- [BUG] Skill slash auto complete not working when defined as a plugin
- [FEATURE] SKILL Tool should recognize local skills in ~/.claude/skills/
- [BUG] Task tool subagent processes not terminated after parent session ends (Linux)
- Crash: EPERM error when killing background shell process
- [BUG] TMPDIR not set in sandbox mode if bubblewrap is installed setuid root
- [Bug] Anthropic API Error: Concurrent Tool Use Causing 400 Bad Request
- Instruction-following regression after recent Claude Code update - agents skip verification steps
- [BUG] general-purpose agent sets model as 'sonnet' rather than 'inherit'
- [Bug] TodoWrite <system-reminder> messages still get injected when "Use todo list" in /config is false.
- Search tool doesn't find anything when user has custom `~/.config/ripgrep/.ripgreprc` present
- Grep Tool Fails to Find Existing Patterns
- Missing Tool Result Block for Tool Use ID
- [BUG] Claude breaks when interrupted while using certain tools
- [Bug] Grep and Glob tools unavailable despite clean /doctor report, plus mysterious crash?
- [BUG] Read tool: non-image file passed as image causes cryptic API Error 400
- TaskOutput hangs after background agent completes
- [BUG] add_dirs Grants Filesystem Access to Read/Write Tools but Not to Bash Tool
- [BUG] --agent Flag Not Working for Non Interactive (Affects SDK)
- [Bug] hookify plugin: Python 3.8 incompatibility - TypeError: 'type' object is not subscriptable
- [Bug] SessionStart hook additionalContext not persisting to transcript file
- [BUG] Improper Flagging of Usage Policy Violation
- [BUG] EPERM on long commands still crashing Claude Code
- [Bug] Claude Code Silently Ignores Git Command Errors
- Frontmatter Parsing Error: Missing 'name' Field Despite Valid YAML
- [BUG] Search tool often does not work
- [BUG] Ripgrep breaks _everything_
- [BUG] claude code crashes when executing `sqlite` CLI command
- [MODEL] Opus 4.8 (xhigh): claims work verified when it isn't, self-contradicts, and over-parallelizes contradictory tool calls — on a low-complexity codebase
- CLAUDE_ENV_FILE: session ID mismatch on resume causes env files to be written to wrong directory
- [BUG] Team Agent Error: Sibling tool call errored
- [BUG] Task tool agents always report "failed" — classifyHandoffIfNeeded is not defined
- [BUG] Skills/commands with disable-model-invocation: true appear in autocomplete but fail when invoked
- [BUG] Tool guidance to use absolute path is very counterproductive with `CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR=1`
- [BUG] [BUG] API Error 400 "tool use concurrency issues" in interactive mode with Opus 4.5
- [BUG] EditTool uses insane amount of tokens for simple edits
- [Bug] Bash command permission check failed: newlines in multi-line script validation
- [BUG] `/sandbox` Sandbox mode is useless
- [BUG] No write-time validation for permission patterns causes settings corruption
- [BUG] Memory leak: Single agent task consumes 15+ GB RAM when using custom orchestrator agent
- Hooks: Provide the name of the agent when there is a SubagentStop event.
- Bug: Marketplace Skills Not Exposed Through Skill Tool
- [BUG] Bash tool breaks if claude rm's the current pwd
- [BUG] Hooks systemMessage no longer displaying after 1.0.115 update
- [BUG] Bash commands ignore BASH_DEFAULT_TIMEOUT_MS and hang indefinitely
- Failed Browsing Module: Zero Searches Executed
- [BUG] Native macOS/Linux builds (>=v2.1.117) removed Glob/Grep tools, but model guidance still points to them — Claude reaches for tools that no longer exist
- EnterWorktree ignores worktree.baseRef: "fresh" — still branches from local HEAD (v2.1.144)
- [Perf/Cost] Tool catalog (~24k tokens) sent uncached on every API request — cache_control breakpoint missing
- [BUG] general-purpose subagents don't receive deferred tools (WebSearch, WebFetch)
- [Bug] Edit tool fails to write files with the edit tool