Claude Code 2.1.159 crashes with General Protection Fault on VirtualBox (Xubuntu 24.04)

Resolved 💬 1 comment Opened Jun 1, 2026 by thierryforbGM Closed Jul 5, 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.159 crashes immediately with a segmentation fault / general protection fault on VirtualBox running Xubuntu 24.04 minimal. Version 2.1.158 works correctly in the same environment.
Environment:

Host: VirtualBox VM
Guest OS: Xubuntu 24.04 minimal
Node.js: v20.20.2
npm: installed via nodesource
CPU flags available: sse4_1, sse4_2, avx, avx2

What Should Happen?

Expected behavior: Claude Code launches normally
Actual behavior: Immediate crash

Error Messages/Logs

Kernel log:
traps: claude[2495] general protection fault ip:3fa8a30 sp:7ffe9b5836b0 error:0 in claude.exe[3da7a30,24aa000+3c43000]

Steps to Reproduce

Install Claude Code 2.1.159 via npm on Xubuntu 24.04 in VirtualBox
Run claude

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.158

Claude Code Version

2.1.159 (Claude Code)

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Other

Additional Information

The binary shipped in 2.1.159 is a native ELF executable (claude.exe, ~240MB), which triggers a General Protection Fault. The same native binary format was already present in 2.1.158, so the crash likely comes from a new CPU instruction introduced in 2.1.159 that VirtualBox does not emulate.
Bisect result:

2.1.158 ✅ works
2.1.159 ❌ crashes

View original on GitHub ↗

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