Native binary crashes with Illegal instruction / Out of memory after Bun memory leak

Resolved 💬 2 comments Opened Apr 9, 2026 by tradieux Closed Apr 9, 2026

Environment

  • VPS: Debian, Linux x64
  • CPU: sse42 popcnt avx avx2
  • RAM: 12 GB
  • Claude Code: 2.1.96 (native installer)
  • Bun: 1.3.11

What happened

  1. Claude Code ran for ~3.5 hours, Bun had a memory leak (RSS reported as 0.02ZB)
  2. Bun crashed with Segmentation fault, saturating all system resources (fork: Resource temporarily unavailable)
  3. After VPS reboot, the native binary crashes immediately with "Illegal instruction"
  4. Reinstalling via install.sh also fails with "Out of memory"
  5. Bun 1.3.11 installed separately works fine (bun --version responds)
  6. Workaround: npm install works

Crash log

Bun v1.3.11 (6f0a17c3) Linux x64 (baseline)
panic(main thread): Illegal instruction at address 0x48363A4

Expected behavior

Native installer should recover/reinstall cleanly after a Bun crash.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗