Skip to content

v2.1.15 crashes on CPUs without AVX (regression from 2.1.14) #19907

Description

@McSchnizzle

Description

Claude Code v2.1.15 crashes immediately on startup with an "Illegal instruction" error on systems where the CPU lacks AVX support. This is a regression - v2.1.14 and earlier worked fine on the same system.

Environment

  • OS: Ubuntu 24.04 (Linux Kernel v6.8.0, glibc v2.39)
  • CPU: Intel Xeon Gold 6142 @ 2.60GHz (running in a VM without AVX passthrough)
  • Claude Code version: 2.1.15 (crashes), 2.1.14 (works)
  • Bun version (from crash output): Bun v1.3.6

Error Output

$ claude
============================================================
Bun v1.3.6 (d530ed99) Linux x64 (baseline)
Linux Kernel v6.8.0 | glibc v2.39
CPU: sse42 popcnt
Args: "claude"
Features: Bun.stderr(2) Bun.stdin(2) Bun.stdout(2) fetch(15) jsc no_avx2 no_avx spawn(4) standalone_executable 
Builtins: "bun:main" "node:assert" "node:async_hooks" ...

CPU lacks AVX support. Please consider upgrading to a newer CPU.
panic(main thread): Illegal instruction at address 0x4001FB4
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

Illegal instruction (core dumped)

Workaround

Rolling back to v2.1.14 resolves the issue:

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

Notes

  • The physical CPU (Xeon Gold 6142) supports AVX, but the VM hypervisor does not expose AVX instructions to the guest
  • This is a common configuration in enterprise/cloud VM environments
  • v2.1.14 binary is ~220MB, v2.1.15 is ~218MB - suggests a change in the Bun build used
  • The crash output shows Features: ... no_avx2 no_avx ... indicating Bun detects the missing instructions but crashes anyway

Expected Behavior

Claude Code should work on systems without AVX support, as it did in v2.1.14 and earlier versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions