[BUG] Bun has crashed
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?
Title: crash: Bun Canary segfault when accepting edits on multiple files (50+ files)
Labels: bug, crash, platform:windows, area:core, has repro
Description
Bun has crashed. This indicates a bug in Bun, not your code. Error from Claude (on channel bnnijg953s6): Error: Claude Code process exited with code 3
Environment
Claude Code version: (Check with claude --version)
Bun version (bundled): Bun v1.3.10 (1423d3c8) Windows arm64
OS: Windows arm64
CPU neon fp aes crc32 atomics
Crash Details
`
2026-02-20 12:23:54.635 [info] From claude: ============================================================
2026-02-20 12:23:54.635 [info] From claude: Bun v1.3.10 (1423d3c8) Windows arm64
2026-02-20 12:23:54.646 [info] From claude: Windows v
2026-02-20 12:23:54.650 [info] From claude: .win11_dt
CPU: neon fp aes crc32 atomics
Args: "c:\Users\gabri\.vscode\extensions\anthropic.claude-code-2.1.49-win32-arm64\resources\native-binary\claude.exe" "--output-format" "stream-json" "--verbose" "--input-format" "stream-json" "--max-thinking-tokens" "31999" "-"...
Features: Bun.stderr(2) Bun.stdin(2) Bun.stdout(2) abort_signal(37) fetch(38) jsc
2026-02-20 12:23:54.650 [info] From claude: spawn(18) standalone_executable process_dlopen
Builtins: "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:path/posix" "node:path/win32" "node:perf_hooks" "node:process" "node:stream" "node:timers/promises" "node:tls" "node:tty" "node:url" "node:util" "node:zlib" "node:worker_threads" "undici" "ws" "node:http2"
2026-02-20 12:23:54.650 [info] From claude:
2026-02-20 12:23:54.650 [info] From claude: Elapsed: 158469ms | User: 4015ms | Sys: 1562ms
RSS:
2026-02-20 12:23:54.658 [info] From claude: 0.57GB | Peak: 0.64GB | Commit: 0.89GB | Faults: 480177 | Machine: 16.76GB
panic(thread 33076): incorrect alignment
2026-02-20 12:23:54.753 [info] From claude: oh no: Bun has crashed. This indicates a bug in Bun, not your code.
To send a redacted crash report to Bun's team,
please file a GitHub issue using the link below:
2026-02-20 12:23:54.774 [info] From claude: https://bun.report/1.3.10/W_11423d3cmgEuhogCwmzrfwl0uiBgyvBw32CwmvBo7xB44wCwvhgmCw236lC4i16lCg6xjkBgsjufCYKERNEL32.DLLg0jCCSntdll.dlloqi1BA0eNrLzEvOLypKTS5RSMzJTM/LTc0rAQBMcwep
2026-02-20 12:23:54.853 [info] Closing Claude on channel: bnnijg953s6
2026-02-20 12:23:54.853 [error] Error from Claude (on channel bnnijg953s6): Error: Claude Code process exited with code 3
2026-02-20 12:23:58.550 [info] Received message from webview: {"type":"request","requestId":"xuolm3risg","request":{"type":"open_output_panel"}}
`
What Should Happen?
Bun has crashed
Error Messages/Logs
2026-02-20 12:23:54.635 [info] From claude: ============================================================
2026-02-20 12:23:54.635 [info] From claude: Bun v1.3.10 (1423d3c8) Windows arm64
2026-02-20 12:23:54.646 [info] From claude: Windows v
2026-02-20 12:23:54.650 [info] From claude: .win11_dt
CPU: neon fp aes crc32 atomics
Args: "c:\Users\gabri\.vscode\extensions\anthropic.claude-code-2.1.49-win32-arm64\resources\native-binary\claude.exe" "--output-format" "stream-json" "--verbose" "--input-format" "stream-json" "--max-thinking-tokens" "31999" "-"...
Features: Bun.stderr(2) Bun.stdin(2) Bun.stdout(2) abort_signal(37) fetch(38) jsc
2026-02-20 12:23:54.650 [info] From claude: spawn(18) standalone_executable process_dlopen
Builtins: "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:path/posix" "node:path/win32" "node:perf_hooks" "node:process" "node:stream" "node:timers/promises" "node:tls" "node:tty" "node:url" "node:util" "node:zlib" "node:worker_threads" "undici" "ws" "node:http2"
2026-02-20 12:23:54.650 [info] From claude:
2026-02-20 12:23:54.650 [info] From claude: Elapsed: 158469ms | User: 4015ms | Sys: 1562ms
RSS:
2026-02-20 12:23:54.658 [info] From claude: 0.57GB | Peak: 0.64GB | Commit: 0.89GB | Faults: 480177 | Machine: 16.76GB
panic(thread 33076): incorrect alignment
2026-02-20 12:23:54.753 [info] From claude: oh no: Bun has crashed. This indicates a bug in Bun, not your code.
To send a redacted crash report to Bun's team,
please file a GitHub issue using the link below:
2026-02-20 12:23:54.774 [info] From claude: https://bun.report/1.3.10/W_11423d3cmgEuhogCwmzrfwl0uiBgyvBw32CwmvBo7xB44wCwvhgmCw236lC4i16lCg6xjkBgsjufCYKERNEL32.DLLg0jCCSntdll.dlloqi1BA0eNrLzEvOLypKTS5RSMzJTM/LTc0rAQBMcwep
2026-02-20 12:23:54.853 [info] Closing Claude on channel: bnnijg953s6
2026-02-20 12:23:54.853 [error] Error from Claude (on channel bnnijg953s6): Error: Claude Code process exited with code 3
2026-02-20 12:23:58.550 [info] Received message from webview: {"type":"request","requestId":"xuolm3risg","request":{"type":"open_output_panel"}}
Steps to Reproduce
I asked to plan some executions. Simple task.
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.49
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗