[BUG] Claude Code 2.1.243 immediately segfaults on Arch Linux x86_64
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.2382.1.2402.1.2412.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.
11 Comments
duplicate #89367 #89366 #89390 #89377 etc.
they dont work well with the latest glibc version
same on Arch Linux (Ryzen7)
temporary solution
add this
Same crash here, adding details + a workaround since the original report has none.
Environment
~/.local/share/claude/versions/2.1.243, sha2564b0dafeedd0b469c…, 377,568,472 bytes)Reproduce
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:
error 4= user-mode read of address 0;ip 0x1d10458is 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.
Don't run
claude updateuntil a fixed build ships.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.
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" />
Same for me, also arch
I've also encountered this issue as of yesterday on CachyOS.
.245 is released, fixed the issue for me.
reproduced
For now, I'm using
2.1.241as a workaround. To switch back to the working version:Then check the version:
This should output:
cc should work after this