[BUG] claude code crashes with BUN error
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?
I am using claude code to examine IDA assembly code; when it analyzes certain dissasembled code it crashes with a BUN error. The error has been reported to BUN.
The following is the BUN Call stack:
Bun v1.3.10 ([d885ce7](<https://github.com/oven-sh/bun/tree/d885ce7fad3cdd28992cfd9fdbf4ec4e8c9e3c77>)) on windows x86_64_baseline [_]
Segmentation fault at address 0xFFFFFFFFFFFFFFFF
- [
StringImpl.h:368](<https://github.com/oven-sh/bun/blob/d885ce7fad3cdd28992cfd9fdbf4ec4e8c9e3c77/D:/bun/build/release/cache/webkit-4a6a32c32c11ffb9/include/wtf/text/StringImpl.h#L368>):WTF::StringImpl::rawHash - [
MathCommon.h:201](<https://github.com/oven-sh/WebKit/blob/bun-d885ce7fad3cdd28992cfd9fdbf4ec4e8c9e3c77/Source/JavaScriptCore/runtime/MathCommon.h#L201>):JSC::toUCPUStrictInt32
Features: spawn, standalone\_executable, process\_dlopen, Bun.stderr, Bun.stdin, Bun.stdout, fetch, jsc
What Should Happen?
well it shouldn't crash :)
Error Messages/Logs
============================================================
Bun v1.3.10 (d885ce7f) Windows x64 (baseline)
Windows v.win11_dt
CPU: sse42 avx avx2
Args: "C:\Users\ScottSingleton\.local\bin\claude.exe" "--dangerously-skip-permissions"
Features: Bun.stderr(2) Bun.stdin(2) Bun.stdout(2) fetch(27) jsc spawn(19) standalone_executable process_dlopen(2)
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"
Elapsed: 57224ms | User: 8281ms | Sys: 1984ms
RSS: 1.54GB | Peak: 1.55GB | Commit: 1.97GB | Faults: 635986 | Machine: 68.42GB
panic(main thread): Segmentation fault at address 0xFFFFFFFFFFFFFFFF
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:
https://bun.report/1.3.10/e_1d885ce7mgEugogCyviIgozsiD__________________A2DD
Steps to Reproduce
I cannot share the assembly it is analyzing publicly; it's copywritten code. Not sure what part of it is causing the crash but it's the result of a disasm(paddr) text result from IDA
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.56
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗