[BUG] auto update broke claude code
Status Fixed / completed
Maintainer reply None cached
Activity 3 comments · opened Aug 25, 2026 · closed Aug 26, 2026
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?
After claude code "updated" automatically while I was asleep it is now impossible to launch
❯ claude
fish: Job 1, 'claude' terminated by signal SIGSEGV (Address boundary error)
What Should Happen?
claude code launches
Error Messages/Logs
Steps to Reproduce
run claude in terminal
❯ claude --version
fish: Job 1, 'claude --version' terminated by signal SIGSEGV (Address boundary error)
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
unknown - 'claude --version' terminated by signal SIGSEGV
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
Other
Additional Information
_No response_
3 Comments
To add to this
Bug Description
claudecrashes immediately upon startup with a Segmentation Fault (SIGSEGV) on modern Linux distributions using rolling releaseglibc(such as Arch Linux and CachyOS).Debugging via GDB reveals that the crash originates in the bundled binary's custom allocator when handling a standard
free(NULL)call triggered by__newlocaleduring initialization.Environment
glibc)npm install -g @anthropic-ai/claude-codeSteps to Reproduce
npm install -g @anthropic-ai/claude-code).claudein the terminal.Stack Trace (systemd-coredump)
I tried a full reinstallation using the official script - https://claude.ai/install.sh.
This worked for me. CachyOS, same exact issue, now able to continue the work.
I am on CachyOS as well and discovered, I still had the previously installed version available on my system.
Downgraded it to
2.1.241(changing the symlink) and ran update again, this time it worked without issuesThe faulty version was
2.1.243