SIGSEGV crash on startup with kernel 7.1.x (CachyOS) — versions >= 2.1.140

Status Open
Reported on v2.1.139
Maintainer reply None cached
Activity 1 comment · opened Aug 25, 2026

Bug Report

Platform: Linux x86_64
Distro: CachyOS
Kernel: 7.1.8-1-cachyos
glibc: 2.44
Node.js: v26.7.0
npm: 12.0.2

Description

Claude Code crashes immediately with SIGSEGV on startup when running any version newer than 2.1.139. The crash happens before any output is produced, even with --version.

Steps to Reproduce

npm install -g @anthropic-ai/claude-code@latest
claude --version
# fish: Job 1, 'claude --version' terminated by signal SIGSEGV

Running the native binary directly also crashes:

~/.npm-global/lib/node_modules/@anthropic-ai/claude-code/node_modules/@anthropic-ai/claude-code-linux-x64/claude --version
# exit code 139

Additional Info

  • Version 2.1.139 works correctly on the same system.
  • All shared libraries resolve correctly via ldd.
  • node itself works fine (no crash).
  • objdump -p on the new binary also crashes with SIGSEGV, suggesting the binary may be triggering a kernel-level memory protection.

Workaround

Pin to version 2.1.139:

npm install -g --allow-scripts=@anthropic-ai/claude-code @anthropic-ai/claude-code@2.1.139

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗