Bun segfaulting in claude-code, thought you should know
Resolved 💬 1 comment Opened May 26, 2026 by blak3mill3r Closed May 26, 2026
Bug Description
This appears to be a bug report for Bun, not for Claude Code, however the issue I filed there was auto-closed as "wont do" (or something) by a claudebot. This has killed dozens of my claude sessions in the past ~week.
Bun v1.3.14 ([521eedd](<https://github.com/oven-sh/bun/tree/521eedd6d864da985b337786eafbdc467827126f>)) on linux x86_64_baseline [StandaloneExecutable]
Segmentation fault at address 0x00000000
- [
ld-temp.o:0](<https://github.com/oven-sh/bun/blob/521eedd6d864da985b337786eafbdc467827126f/ld-temp.o#L0>):llint_call_javascript - [
Interpreter.cpp:1311](<https://github.com/oven-sh/WebKit/blob/bun-521eedd6d864da985b337786eafbdc467827126f/Source/JavaScriptCore/interpreter/Interpreter.cpp#L1311>):JSC::Interpreter::executeCallImpl - [
CallData.cpp:70](<https://github.com/oven-sh/WebKit/blob/bun-521eedd6d864da985b337786eafbdc467827126f/Source/JavaScriptCore/runtime/CallData.cpp#L70>):JSC::call - [
JSBoundFunction.cpp:71](<https://github.com/oven-sh/WebKit/blob/bun-521eedd6d864da985b337786eafbdc467827126f/Source/JavaScriptCore/runtime/JSBoundFunction.cpp#L71>):JSC::boundThisNoArgsFunctionCall - [
ld-temp.o:0](<https://github.com/oven-sh/bun/blob/521eedd6d864da985b337786eafbdc467827126f/ld-temp.o#L0>):vmEntryToNative - [
JSMicrotask.cpp:202](<https://github.com/oven-sh/WebKit/blob/bun-521eedd6d864da985b337786eafbdc467827126f/Source/JavaScriptCore/runtime/JSMicrotask.cpp#L202>):_ZN3JSCL13callMicrotaskIJEQfraasr3stdE16is_convertible_vIT_NS_7JSValueEEEES2_PNS_14JSGlobalObjectES2_S2_PNS_6JSCellEN3WTF12ASCIILiteralEPNS_13MicrotaskCallEDpS1_ - [
JSMicrotask.cpp:2059](<https://github.com/oven-sh/WebKit/blob/bun-521eedd6d864da985b337786eafbdc467827126f/Source/JavaScriptCore/runtime/JSMicrotask.cpp#L2059>):JSC::runInternalMicrotask - [
MicrotaskQueue.cpp:61](<https://github.com/oven-sh/WebKit/blob/bun-521eedd6d864da985b337786eafbdc467827126f/Source/JavaScriptCore/runtime/MicrotaskQueue.cpp#L61>):JSC::runMicrotask - [
MicrotaskQueue.cpp:193](<https://github.com/oven-sh/WebKit/blob/bun-521eedd6d864da985b337786eafbdc467827126f/Source/JavaScriptCore/runtime/MicrotaskQueue.cpp#L193>):std::pair<JSC::JSGlobalObject*, bool> JSC::MicrotaskQueue::drainImpl<true> - [
MicrotaskQueue.cpp:246](<https://github.com/oven-sh/WebKit/blob/bun-521eedd6d864da985b337786eafbdc467827126f/Source/JavaScriptCore/runtime/MicrotaskQueue.cpp#L246>):JSC::MicrotaskQueue::drainWithUseCallOnEachMicrotask - [
MicrotaskQueue.h:281](<https://github.com/oven-sh/bun/blob/521eedd6d864da985b337786eafbdc467827126f//webkitbuild/.JavaScriptCore/PrivateHeaders/JavaScriptCore/MicrotaskQueue.h#L281>):std::pair<JSC::JSGlobalObject*, bool> JSC::MicrotaskQueue::drain<true> - [
MicrotaskQueueInlines.h:118](<https://github.com/oven-sh/WebKit/blob/bun-521eedd6d864da985b337786eafbdc467827126f/Source/JavaScriptCore/runtime/MicrotaskQueueInlines.h#L118\>):_ZN3JSC14MicrotaskQueue26performMicrotaskCheckpointILb1ETkN3WTF9InvocableIFvPNS_14JSGlobalObjectES5_EEEZNS_2VM15drainMicrotasksEvE3$_0EEvRS7_RKT0_ - [
VM.cpp:1452](<https://github.com/oven-sh/WebKit/blob/bun-521eedd6d864da985b337786eafbdc467827126f/Source/JavaScriptCore/runtime/VM.cpp#L1452>):JSC::VM::drainMicrotasks - [
BunProcess.cpp:3806](<https://github.com/oven-sh/bun/blob/521eedd6d864da985b337786eafbdc467827126f/src/jsc/bindings/BunProcess.cpp#L3806>):Bun::jsFunctionDrainMicrotaskQueue - 2 unknown/js code
- [
ld-temp.o:0](<https://github.com/oven-sh/bun/blob/521eedd6d864da985b337786eafbdc467827126f/ld-temp.o#L0>):llint_call_javascript - [
Interpreter.cpp:1311](<https://github.com/oven-sh/WebKit/blob/bun-521eedd6d864da985b337786eafbdc467827126f/Source/JavaScriptCore/interpreter/Interpreter.cpp#L1311>):JSC::Interpreter::executeCallImpl - [
CallData.cpp:70](<https://github.com/oven-sh/WebKit/blob/bun-521eedd6d864da985b337786eafbdc467827126f/Source/JavaScriptCore/runtime/CallData.cpp#L70>):JSC::call - [
CallData.cpp:55](<https://github.com/oven-sh/WebKit/blob/bun-521eedd6d864da985b337786eafbdc467827126f/Source/JavaScriptCore/runtime/CallData.cpp#L55>):JSC::call - [
CallData.cpp:43](<https://github.com/oven-sh/WebKit/blob/bun-521eedd6d864da985b337786eafbdc467827126f/Source/JavaScriptCore/runtime/CallData.cpp#L43>):JSC::call - [
JSNextTickQueue.cpp:96](<https://github.com/oven-sh/bun/blob/521eedd6d864da985b337786eafbdc467827126f/src/jsc/bindings/JSNextTickQueue.cpp#L96>):Bun::JSNextTickQueue::drain - [
ZigGlobalObject.cpp:3038](<https://github.com/oven-sh/bun/blob/521eedd6d864da985b337786eafbdc467827126f/src/jsc/bindings/ZigGlobalObject.cpp#L3038>):Zig::GlobalObject::drainMicrotasks - [
ZigGlobalObject.cpp:3062](<https://github.com/oven-sh/bun/blob/521eedd6d864da985b337786eafbdc467827126f/src/jsc/bindings/ZigGlobalObject.cpp#L3062>):JSC__JSGlobalObject__drainMicrotasks - [
event_loop.zig:135](<https://github.com/oven-sh/bun/blob/521eedd6d864da985b337786eafbdc467827126f/src/jsc/event_loop.zig#L135>):jsc.event_loop.drainMicrotasksWithGlobal
Features: spawn, standalone\_executable, yaml\_parse, claude\_code, Bun.stderr, Bun.stdin, Bun.stdout, WebSocket, abort\_signal, fetch, jsc
Environment Info
- Platform: linux
- Terminal: emacs
- Version: 2.1.150
- Feedback ID: cd0d0363-e5dc-42c4-9bf1-89938e131438
Errors
[]This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗