[BUG] v2.1.72: Bundled rg binary dispatch broken — causes fatal crash on startup
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Bug Report
Version: 2.1.72
OS: Ubuntu Linux
Description
Claude Code crashes immediately when executing commands in v2.1.72.
The bundled rg (ripgrep) binary is no longer being dispatched correctly —
instead of running ripgrep, the binary treats the call as a Claude CLI command.
Steps to Reproduce
Run any command in Claude Code v2.1.72 that triggers a file scan.
Observed Behavior
Running the bundled binary as rg returns:
error: unknown option '--no-config'
(Did you mean --mcp-config?)
Exit code: 1
This causes a cascade of all subprocesses exiting with code 1 and terminates Claude Code.
strace Evidence
execve("/home/user/.local/share/claude/versions/2.1.72", ["rg", "--no-config", "--files", ...])
exit_group(1)
Fix
Downgrading to v2.1.71 resolves the issue immediately.
What Should Happen?
It shouldn't crash
Error Messages/Logs
Steps to Reproduce
Run any command in Claude Code v2.1.72 that triggers a file scan.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.71
Claude Code Version
2.1.72
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗