You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Segfault in Bun v1.3.11 on macOS ARM64: JSHash.cpp jsHashProtoFuncUpdate crash #28024
Bun crashed with a segmentation fault at address 0x68746E612E697061 (decodes to api.anth in ASCII — appears to be crashing during an Anthropic API call from Claude Code).
The crash occurred after a long session (~16331 seconds elapsed, ~281364ms user time).
Crash Output
panic(main thread): Segmentation fault at address 0x68746E612E697061
Stack Trace Summary
The crash originated in:
mi_malloc (memory allocation in prim.h)
Bun__encoding__constructFromLatin1
JSHash.cpp:177 (jsHashProtoFuncUpdate)
Suggests a memory allocation issue when updating a hash object with Latin-1 encoded data after extended runtime.
Steps to Reproduce
Running Claude Code CLI (bun claude) for an extended session (~4.5 hours). Crash occurred during an API request.
Additional Info
RSS at crash: 0.31GB | Peak: 0.52GB
Elapsed: 16331467ms (long-running process)
The crash may be related to memory state after extended uptime
Activity
github-actions commentedon Mar 11, 2026
Found 2 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
fix(allocator): give MimallocArena a non-zero heap tag to prevent fre…
fix(crypto): segfault in Hash update/digest with invalid this or deta…
fix(crypto): segfault in Hash update/digest (#28072)
fix(crypto): segfault in Hash update/digest (oven-sh#28072)
fix(crypto): segfault in Hash update/digest (oven-sh#28072)