[BUG] claude crashes with Bun segfault on Windows 10 + Intel 13th Gen (i7-13700H)
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?
Environment
- OS: Microsoft Windows 10 Pro for Workstations
- CPU: 13th Gen Intel Core i7-13700H (hybrid P-core/E-core architecture)
- RAM: 34GB
- Claude Code version: 2.1.114
- Bun version (bundled): 1.3.13 (743d2a40) Windows x64 (baseline)
- Node version: (run
node --versionand add here) - npm version: (run
npm --versionand add here)
Description
Claude Code crashes immediately on every launch with a Bun segmentation fault.
The crash occurs before any UI renders, making Claude Code completely unusable.
This affects both the terminal CLI and the VS Code extension.
Error Output
============================================================
Bun v1.3.13 (743d2a40) Windows x64 (baseline)
Windows v.win10_cu
CPU: sse42 avx avx2
Elapsed: ~1800ms | User: ~300ms | Sys: ~300ms
RSS: ~0.40GB | Peak: ~0.40GB | Commit: ~0.51GB
panic(thread XXXXX): Segmentation fault at address 0xCC
panic: Segmentation fault at address 0xC8
panicked during a panic. Aborting.
Impact
claudeCLI crashes immediately- VS Code extension shows "Error: Claude Code process exited with code 3"
- OAuth authentication fails because the localhost callback server dies with the process
- Completely unusable on this hardware/OS combination
Steps to Reproduce
- Install Claude Code:
npm install -g @anthropic-ai/claude-code - Run:
claude - Observe immediate segfault
What Should Happen?
Claude Code crashes immediately on every launch with a Bun segmentation fault.
The crash occurs before any UI renders, making Claude Code completely unusable.
This affects both the terminal CLI and the VS Code extension.
Error Messages/Logs
Bun v1.3.13 (743d2a40) Windows x64 (baseline)
Windows v.win10_cu
CPU: sse42 avx avx2
Elapsed: ~1800ms | User: ~300ms | Sys: ~300ms
RSS: ~0.40GB | Peak: ~0.40GB | Commit: ~0.51GB
panic(thread XXXXX): Segmentation fault at address 0xCC
panic: Segmentation fault at address 0xC8
panicked during a panic. Aborting.
Steps to Reproduce
- Install Claude Code:
npm install -g @anthropic-ai/claude-code - Run:
claude - Observe immediate segfault
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.116
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
What I've Tried
- Fresh uninstall/reinstall of Claude Code
- Running as admin and as normal user
- Removing all Claude and Bun related files and reinstalling
- Installing/uninstalling system Bun separately
- VS Code extension (same crash)
Root Cause (suspected)
Bun 1.3.13 appears to have a known segfault issue on Windows 10 with
Intel 12th/13th Gen hybrid CPU architectures (P-core + E-core).
Windows 10 lacks Intel Thread Director support (available in Windows 11),
which properly handles P/E-core thread scheduling for Bun.
Request
Please Bundle a Bun version that is stable on Windows 10 + Intel 12th/13th gen.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗