claude-code - 💡(How to fix) Fix [BUG] Claude Code 2.1.149 crashes on Windows x64 with Bun 1.3.14 Illegal instruction when running --resume

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Claude Code 2.1.149 crashes on Windows 11 x64 when I run claude --resume.

The crash happens inside the bundled Bun runtime:

panic(main thread): Illegal instruction at address 0x7FF66036EF90 oh no: Bun has crashed. This indicates a bug in Bun, not my code.

System details from the crash output:

  • Bun v1.3.14 (521eedd6)
  • Windows x64 baseline
  • Windows v.win11_dt
  • CPU features: sse42 avx avx2
  • Args: "C:\Users\33029.local\bin\claude.exe" "--resume"

I rolled back to Claude Code 2.1.148 and the issue no longer occurs.

What Should Happen?

Running claude --resume should open the resume session picker or resume a previous Claude Code session normally.

It should not crash the bundled Bun runtime or terminate with an Illegal instruction panic.

Error Messages/Logs

Steps to Reproduce

  1. Install or update Claude Code to version 2.1.149 on Windows 11 x64.

  2. Open PowerShell.

  3. Run:

    claude --resume

  4. Claude Code crashes before the resume UI/session picker opens.

  5. The crash output shows Bun v1.3.14 and:

    panic(main thread): Illegal instruction

Claude Model

Not sure / Multiple models

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.148

Claude Code Version

2.1.149

Platform

Other

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Claude Code 2.1.149 crashes on Windows x64 with Bun 1.3.14 Illegal instruction when running --resume