[BUG] Segmentation Fault when starting Claude-Code in a VM in VirtualBox
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?
I use Claude-Code in a VM from VirtualBox that runs SuSE Linux.
After restarting the VM, I get a segmentation fault when starting Claude.
I tried to fix the issue with the help of our Windows desktop version of Claude and it suspected that Claude auto-updated to the newest version during the startup of the VM
The faulty Version is 2.1.138
The cpu type in the VM is "model name : 13th Gen Intel(R) Core(TM) i9-13950HX"
dmesg reports the following:
[19636.829792] show_signal: 44 callbacks suppressed
[19636.829797] traps: claude[9813] general protection fault ip:3fa7e30 sp:7ffcdfef8c40 error:0 in 2.1.138[24aa000+3c42000]
[19660.699052] traps: claude[9964] general protection fault ip:3fa7e30 sp:7ffd634eddd0 error:0 in 2.1.138[24aa000+3c42000]
[19921.326176] traps: claude[11015] general protection fault ip:3fa7e30 sp:7ffe34552c90 error:0 in 2.1.138[24aa000+3c42000]
[20056.775048] traps: claude[11490] general protection fault ip:3fa7e30 sp:7fff53986350 error:0 in 2.1.138[24aa000+3c42000]
[20109.893688] RPC: server eninas1b-fe.ds.jdsu.net requires stronger authentication.
[20110.038191] RPC: server eninas1b-fe.ds.jdsu.net requires stronger authentication.
[20271.681705] traps: claude[12365] general protection fault ip:3fa7e30 sp:7ffc217274e0 error:0 in 2.1.138[24aa000+3c42000]
When I change the link used to start Claude so that it points to the old version, Claude runs again:
rm /lhome/gernjo/.local/bin/claude
ln -s /lhome/gernjo/.local/share/claude/versions/2.1.120 /lhome/gernjo/.local/bin/claude
What Should Happen?
Claude should either run with the VM or detect that it cannot use the VM and not silently install.
Error Messages/Logs
dmesg showed the following: [19201.369439] RPC: server eninas1b-fe.ds.jdsu.net requires stronger authentication.
[19636.829792] show_signal: 44 callbacks suppressed
[19636.829797] traps: claude[9813] general protection fault ip:3fa7e30 sp:7ffcdfef8c40 error:0 in 2.1.138[24aa000+3c42000]
[19660.699052] traps: claude[9964] general protection fault ip:3fa7e30 sp:7ffd634eddd0 error:0 in 2.1.138[24aa000+3c42000]
[19921.326176] traps: claude[11015] general protection fault ip:3fa7e30 sp:7ffe34552c90 error:0 in 2.1.138[24aa000+3c42000]
[20056.775048] traps: claude[11490] general protection fault ip:3fa7e30 sp:7fff53986350 error:0 in 2.1.138[24aa000+3c42000]
[20109.893688] RPC: server eninas1b-fe.ds.jdsu.net requires stronger authentication.
[20110.038191] RPC: server eninas1b-fe.ds.jdsu.net requires stronger authentication.
[20271.681705] traps: claude[12365] general protection fault ip:3fa7e30 sp:7ffc217274e0 error:0 in 2.1.138[24aa000+3c42000]
Steps to Reproduce
- Run Claude Code 2.1.120 in a Virtual Box VM running SuSE Linux
- Restart the VM
- Start Claude.
- Results in this message: "Segmentation fault (core dumped)"
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.120
Claude Code Version
Cannot run "claude --version" because this ends in a segmentation fault.
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
Other
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗