[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_

View original on GitHub ↗

3 Comments

ALLANOSAN · 6 days ago

To add to this

Bug Description

claude crashes immediately upon startup with a Segmentation Fault (SIGSEGV) on modern Linux distributions using rolling release glibc (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 __newlocale during initialization.

Environment

  • OS: CachyOS / Arch Linux (Rolling Release, latest glibc)
  • Installation Method: npm install -g @anthropic-ai/claude-code
  • Node.js Version: v24.12.0 (tested on Node LTS / current)

Steps to Reproduce

  1. Install Claude Code globally via npm (npm install -g @anthropic-ai/claude-code).
  2. Run claude in the terminal.
  3. Process crashes instantly with exit code 139 (Segmentation fault).

Stack Trace (systemd-coredump)

#0  0x0000000001d10458 free (claude.exe + 0x1b10458)
#1  0x00007f53d9e3a1ab __newlocale (libc.so.6 + 0x3a1ab)
#2  0x0000000001abd282 n/a (claude.exe + 0x18bd282)
#3  0x00007f53d9eb2584 n/a (libc.so.6 + 0xb2584)
#4  0x00007f53d9eb26a9 pthread_once (libc.so.6 + 0xb26a9)
...
#16 0x00007f53d9e27e23 __libc_start_main (libc.so.6 + 0x27e23)
leafyflir · 5 days ago

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.

ywy50 · 5 days ago

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 issues

rm ~/.local/bin/claude
ln -s ~/.local/share/claude/versions/2.1.241 ~/.local/bin/claude
claude update && claude --version

Current version: 2.1.241
Checking for updates to latest version...
Updating to 2.1.245...
Successfully updated from 2.1.241 to version 2.1.245
2.1.245 (Claude Code)

The faulty version was 2.1.243