[BUG] Claude Code 2.1.243 immediately segfaults on Arch Linux x86_64

Status Open
Reported on v2.1.241
Maintainer reply None cached
Activity 11 comments · opened Aug 25, 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?

Claude Code 2.1.243 immediately crashes with a segmentation fault on Arch Linux x86_64.

The crash occurs before Claude Code starts and even happens when running claude --version, so it does not appear to be related to a project, configuration, MCP server, or Claude model.

Claude Code 2.1.241 works correctly on the exact same system and installation, making this appear to be a regression in 2.1.243.

What Should Happen?

claude --version should print the installed Claude Code version, and claude should start normally.

Version 2.1.241 behaves correctly on the same machine.

Error Messages/Logs

$ claude --version
Segmentation fault (core dumped)

The kernel reports:
claude[5903]: segfault at 0 ip 0000000001d10458 sp 00007ffc46cae2c0 error 4 in 2.1.243[1b0f458,1953000+3b33000] likely on CPU 5 (core 5, socket 0)

Code: cc cc 55 48 89 e5 48 89 fe 48 8b 05 82 19 78 03 48 89 f9 48 c1 e9 1d 48 8b 84 c8 80 00 00 00 89 f1 c1 e9 0d 81 e1 f8 ff 00 00 <48> 8b 3c 08 48 85 ff 74 1e 48 8b 07 64 48 33 04 25 00 00 00 00 75

A second invocation produced the same crash at the same instruction address:
claude[14070]: segfault at 0 ip 0000000001d10458 sp 00007ffd86b15ce0 error 4 in 2.1.243[1b0f458,1953000+3b33000] likely on CPU 9 (core 1, socket 0)

Steps to Reproduce

Use an Arch Linux x86_64 system.

Install Claude Code using the official native installer.

Update Claude Code to version 2.1.243.

Run:

claude --version

Observe:

Segmentation fault (core dumped)

Verify the installed binary:

readlink -f ~/.local/bin/claude

Output:

/home/ripple/.local/share/claude/versions/2.1.243

Run the previous installed version directly:

~/.local/share/claude/versions/2.1.241 --version

Version 2.1.241 successfully outputs:

2.1.241 (Claude Code)

Pointing the claude symlink back to 2.1.241 restores functionality:

ln -sf ~/.local/share/claude/versions/2.1.241 ~/.local/bin/claude

Then:

\$ claude --version
2.1.241 (Claude Code)

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.241

Claude Code Version

2.1.243 (Claude Code)

Platform

Other

Operating System

Other Linux

Terminal/Shell

Other

Additional Information

Claude Code is installed using the official native installer.

The installation maintains multiple versions under:

~/.local/share/claude/versions/

The installed versions at the time of testing were:

  • 2.1.238
  • 2.1.240
  • 2.1.241
  • 2.1.243

The claude executable is a symbolic link:

~/.local/bin/claude -> ~/.local/share/claude/versions/2.1.243

The issue can be reproduced without opening a project or loading any Claude Code configuration.

The crash occurs immediately when executing the 2.1.243 binary:

~/.local/share/claude/versions/2.1.243 --version

While the previous version works:

~/.local/share/claude/versions/2.1.241 --version

Result:

  • 2.1.243 -> Segmentation fault
  • 2.1.241 -> Works normally

The kernel reports the segmentation fault occurring inside the 2.1.243 executable itself.

The crash has occurred on different CPU cores across separate invocations:

  • Likely on CPU 5 (core 5, socket 0)
  • Likely on CPU 9 (core 1, socket 0)

This makes the issue highly reproducible and appears to indicate a problem specific to the 2.1.243 binary/runtime on this environment rather than a project-specific configuration issue.

View original on GitHub ↗

11 Comments

hburn7 · 5 days ago

duplicate #89367 #89366 #89390 #89377 etc.

jgyy · 5 days ago

they dont work well with the latest glibc version

RyoK73 · 5 days ago

same on Arch Linux (Ryzen7)

temporary solution

  • reinstall claude code
curl -fsSL https://claude.ai/install.sh | bash -s 2.1.241
  • for keep the version

add this

// .claude/setting.json
{
  "env": {
    "DISABLE_AUTOUPDATER": "1"
  }
}
GarlandKey · 5 days ago

Same crash here, adding details + a workaround since the original report has none.

Environment

  • Claude Code 2.1.243, native install (~/.local/share/claude/versions/2.1.243, sha256 4b0dafeedd0b469c…, 377,568,472 bytes)
  • Arch Linux, kernel 7.1.8-arch1-3, x86_64, glibc 2.44
  • CPU: AMD Ryzen 9 7940HS (has avx/avx2/avx512f)
  • zsh, kitty terminal
  • 2.1.241 works on the same machine; 2.1.240 also fine

Reproduce

$ ~/.local/share/claude/versions/2.1.243 --version
$ echo $?
139

Crashes before printing anything. Same result with a clean environment (env -i HOME=$HOME PATH=/usr/bin …) and from any working directory, so it's not config/env/project related.

Kernel log — same faulting address every run, null-pointer read:

claude[901409]: segfault at 0 ip 0000000001d10458 sp 00007ffe30f97a90 error 4 in 2.1.243[1b0f458,1953000+3b33000]
claude[901451]: segfault at 0 ip 0000000001d10458 sp 00007ffd4816c4c0 error 4 in 2.1.243[1b0f458,1953000+3b33000]
claude[901640]: segfault at 0 ip 0000000001d10458 sp 00007ffeb50634e0 error 4 in 2.1.243[1b0f458,1953000+3b33000]

error 4 = user-mode read of address 0; ip 0x1d10458 is inside the binary's own text segment (offset ≈ 0x201000 from its load base), so this is a bug in the 2.1.243 build itself, not a shared library.

Not a corrupt download: deleted the binary and re-ran claude install 2.1.243 — the new file was byte-identical (cmp) and crashes the same way.

Workaround (native install): point the launcher back at 2.1.241.

ln -sfn ~/.local/share/claude/versions/2.1.241 ~/.local/bin/claude
claude --version   # 2.1.241 (Claude Code)

Don't run claude update until a fixed build ships.

FangLabGames · 5 days ago

Same here:

Environment

Claude Code: 2.1.243 native Linux x64 build
OS: Arch Linux
Kernel: 7.1.6-arch1-1
glibc: 2.44
Architecture: x86_64

With 2.1.243, even the following command crashes immediately:

claude --version

Output:

Segmentation fault (core dumped)

The systemd core dump shows:

#0 0x0000000001d10458 free (2.1.243 + 0x1b10458)
#1 0x00007f7fb323530a __newlocale (libc.so.6 + 0x3530a)

I then rolled back only the Claude Code binary:

ln -sf ~/.local/share/claude/versions/2.1.241 ~/.local/bin/claude

After that:

claude --version

returns normally:

2.1.241 (Claude Code)

No other system or configuration changes were made.

balter-io · 5 days ago

Same here. I have attached an image of the relevant details.

<img width="2070" height="698" alt="Image" src="https://github.com/user-attachments/assets/aeba0f1f-0f0b-4b89-a98e-9a9ec1c044d5" />

humb1t · 5 days ago

Same for me, also arch

chaoticsmol · 5 days ago

I've also encountered this issue as of yesterday on CachyOS.

Linux  7.2.0-1-cachyos #1 SMP PREEMPT_DYNAMIC Thu, 20 Aug 2026 06:06:30 +0000 x86_64 GNU/Linux
zarthcode · 5 days ago

.245 is released, fixed the issue for me.

qlrd · 5 days ago

reproduced

sawongam · 5 days ago

For now, I'm using 2.1.241 as a workaround. To switch back to the working version:

ln -sf ~/.local/share/claude/versions/2.1.241 ~/.local/bin/claude

Then check the version:

claude --version

This should output:

2.1.241 (Claude Code)

cc should work after this