✓

Crash Report Uploaded

Your redacted crash report has been sent to the Bun team for internal tracking.

⚠ Outdated Version Detected
You're running an older version of Bun. This crash may already be fixed in the latest release. Please update before submitting a detailed bug report.
Your version: 1.3.13
Latest release: 1.4.4

Try upgrading Bun:

bun upgrade

What to do next

1

Update to the latest version: bun upgrade

2

To help get it fixed faster, provide source code and detailed reproduction steps via bun feedback

Help us fix it

To help get it fixed faster, provide source code and detailed reproduction steps via bun feedback

View Stack Trace
Bun v1.3.13 ([`bf2e2ce`](<https://github.com/oven-sh/bun/tree/bf2e2cecf27e800962b1e7f03d66278f9d5d2e79>)) on linux x86_64 [RunAsNodeCommand] Segmentation fault at address 0x7D077CB8D8A0 - [`ThreadSafeRefCountedWithSuppressingSaferCPPChecking.h:103`](<https://github.com/oven-sh/bun/blob/bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/./build/release/cache/webkit-4d5e75ebd84a14ed-lto/include/wtf/ThreadSafeRefCountedWithSuppressingSaferCPPChecking.h#L103>): `WTF::ThreadSafeRefCountedWithSuppressingSaferCPPChecking<JSC::VM, (...)0>::derefSuppressingSaferCPPChecking(...) const` - [`Worker.cpp:504`](<https://github.com/oven-sh/bun/blob/bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/src/bun.js/bindings/webcore/Worker.cpp#L504>): `WebWorker__teardownJSCVM` - [`web_worker.zig:784`](<https://github.com/oven-sh/bun/blob/bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/src/bun.js/web_worker.zig#L784>): `bun.js.web_worker.exitAndDeinit` - [`web_worker.zig:588`](<https://github.com/oven-sh/bun/blob/bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/src/bun.js/web_worker.zig#L588>): `bun.js.web_worker.onUnhandledRejection` - [`RequestContext.zig:1979`](<https://github.com/oven-sh/bun/blob/bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/src/bun.js/api/server/RequestContext.zig#L1979>): `bun.js.api.server.RequestContext.NewRequestContext(...).finishRunningErrorHandler` - [`RequestContext.zig:2030`](<https://github.com/oven-sh/bun/blob/bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/src/bun.js/api/server/RequestContext.zig#L2030>): `bun.js.api.server.RequestContext.NewRequestContext(...).runErrorHandlerWithStatusCodeDontCheckResponded` - [`RequestContext.zig:2107`](<https://github.com/oven-sh/bun/blob/bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/src/bun.js/api/server/RequestContext.zig#L2107>): `bun.js.api.server.RequestContext.NewRequestContext(...).runErrorHandlerWithStatusCode` - [`RequestContext.zig:1931`](<https://github.com/oven-sh/bun/blob/bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/src/bun.js/api/server/RequestContext.zig#L1931>): `bun.js.api.server.RequestContext.NewRequestContext(...).runErrorHandler` - [`RequestContext.zig:338`](<https://github.com/oven-sh/bun/blob/bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/src/bun.js/api/server/RequestContext.zig#L338>): `bun.js.api.server.RequestContext.NewRequestContext(...).handleReject` - [`RequestContext.zig:323`](<https://github.com/oven-sh/bun/blob/bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/src/bun.js/api/server/RequestContext.zig#L323>): `bun.js.api.server.RequestContext.NewRequestContext(...).onReject` - [`host_fn.zig:19`](<https://github.com/oven-sh/bun/blob/bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/src/bun.js/jsc/host_fn.zig#L19>): `Bun__HTTPRequestContextDebug__onReject` - [`ld-temp.o:0`](<https://github.com/oven-sh/bun/blob/bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/ld-temp.o#L0>): `vmEntryToNative` - [`JSMicrotask.cpp:194`](<https://github.com/oven-sh/WebKit/blob/bun-bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/Source/JavaScriptCore/runtime/JSMicrotask.cpp#L194>): `_ZN3JSCL13callMicrotaskIJNS_7JSValueES1_EQfraasr3stdE16is_convertible_vIT_S1_EEES1_PNS_14JSGlobalObjectES1_S1_PNS_6JSCellEN3WTF12ASCIILiteralEPNS_13MicrotaskCallEDpS2_` - [`JSMicrotask.cpp:1036`](<https://github.com/oven-sh/WebKit/blob/bun-bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/Source/JavaScriptCore/runtime/JSMicrotask.cpp#L1036>): `JSC::runInternalMicrotask` - [`MicrotaskQueue.cpp:61`](<https://github.com/oven-sh/WebKit/blob/bun-bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/Source/JavaScriptCore/runtime/MicrotaskQueue.cpp#L61>): `JSC::runMicrotask` - [`MicrotaskQueue.cpp:193`](<https://github.com/oven-sh/WebKit/blob/bun-bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/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-bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/Source/JavaScriptCore/runtime/MicrotaskQueue.cpp#L246>): `JSC::MicrotaskQueue::drainWithUseCallOnEachMicrotask` - [`MicrotaskQueue.h:278`](<https://github.com/oven-sh/WebKit/blob/bun-bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/Source/JavaScriptCore/runtime/MicrotaskQueue.h#L278>): `std::pair<JSC::JSGlobalObject*, bool> JSC::MicrotaskQueue::drain<true>` - [`MicrotaskQueueInlines.h:116`](<https://github.com/oven-sh/WebKit/blob/bun-bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/Source/JavaScriptCore/runtime/MicrotaskQueueInlines.h#L116>): `_ZN3JSC14MicrotaskQueue26performMicrotaskCheckpointILb1ETkN3WTF9InvocableIFvPNS_14JSGlobalObjectES5_EEEZNS_2VM15drainMicrotasksEvE3$_0EEvRS7_RKT0_` - [`VM.cpp:1438`](<https://github.com/oven-sh/WebKit/blob/bun-bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/Source/JavaScriptCore/runtime/VM.cpp#L1438>): `JSC::VM::drainMicrotasks` - [`BunProcess.cpp:3532`](<https://github.com/oven-sh/bun/blob/bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/src/bun.js/bindings/BunProcess.cpp#L3532>): `Bun::jsFunctionDrainMicrotaskQueue` - *2 unknown/js code* - [`ld-temp.o:0`](<https://github.com/oven-sh/bun/blob/bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/ld-temp.o#L0>): `llint_call_javascript` - [`Interpreter.cpp:1309`](<https://github.com/oven-sh/WebKit/blob/bun-bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/Source/JavaScriptCore/interpreter/Interpreter.cpp#L1309>): `JSC::Interpreter::executeCallImpl` - [`CallData.cpp:70`](<https://github.com/oven-sh/WebKit/blob/bun-bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/Source/JavaScriptCore/runtime/CallData.cpp#L70>): `JSC::call` - [`CallData.cpp:55`](<https://github.com/oven-sh/WebKit/blob/bun-bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/Source/JavaScriptCore/runtime/CallData.cpp#L55>): `JSC::call` - [`CallData.cpp:43`](<https://github.com/oven-sh/WebKit/blob/bun-bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/Source/JavaScriptCore/runtime/CallData.cpp#L43>): `JSC::call` - [`JSNextTickQueue.cpp:96`](<https://github.com/oven-sh/bun/blob/bf2e2cecf27e800962b1e7f03d66278f9d5d2e79/src/bun.js/bindings/JSNextTickQueue.cpp#L96>): `Bun::JSNextTickQueue::drain` Features: spawn, transpiler\_cache, tsconfig, tsconfig\_paths, workers\_spawned, workers\_terminated, process\_dlopen, Bun.stderr, Bun.stdin, Bun.stdout, dotenv, fetch, http\_server, jsc