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.9
Latest release: 1.4.0

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.9 ([`d5628db`](<https://github.com/oven-sh/bun/tree/d5628db23f67f5556ab33255ad12a214780266d4>)) on macos aarch64 [(pre-init)] Segmentation fault at address 0x00000010 - *1 unknown/js code* - [`PreciseAllocation.cpp:230`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/heap/PreciseAllocation.cpp#L230>): `JSC::PreciseAllocation::~PreciseAllocation` - [`PreciseAllocation.cpp:227`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/heap/PreciseAllocation.cpp#L227>): `JSC::PreciseAllocation::~PreciseAllocation` - [`PreciseAllocation.cpp:201`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/heap/PreciseAllocation.cpp#L201>): `JSC::PreciseAllocation::reuseForLowerTierPrecise` - [`IsoSubspace.cpp:111`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/heap/IsoSubspace.cpp#L111>): `JSC::IsoSubspace::sweepLowerTierPreciseCell` - [`MarkedSpace.cpp:260`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/heap/MarkedSpace.cpp#L260>): `JSC::MarkedSpace::sweepPreciseAllocations` - [`Heap.cpp:2345`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/heap/Heap.cpp#L2345>): `JSC::Heap::sweepInFinalize` - [`Heap.cpp:2279`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/heap/Heap.cpp#L2279>): `JSC::Heap::finalize` - [`Heap.cpp:2217`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/heap/Heap.cpp#L2217>): `JSC::Heap::handleNeedFinalize` - [`Heap.cpp:2228`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/heap/Heap.cpp#L2228>): `JSC::Heap::handleNeedFinalize` - [`Heap.cpp:1829`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/heap/Heap.cpp#L1829>): `JSC::Heap::finishChangingPhase` - [`Heap.cpp:1804`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/heap/Heap.cpp#L1804>): `JSC::Heap::changePhase` - [`Heap.cpp:1794`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/heap/Heap.cpp#L1794>): `JSC::Heap::runEndPhase` - [`Heap.cpp:1424`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/heap/Heap.cpp#L1424>): `JSC::Heap::runCurrentPhase` - [`Heap.cpp:2056`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/heap/Heap.cpp#L2056>): `JSC::Heap::collectInMutatorThread(...)(...) const` - [`ScopedLambda.h:106`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/WTF/wtf/ScopedLambda.h#L106>): `WTF::ScopedLambdaFunctor<void (...), JSC::Heap::collectInMutatorThread()::$_0>::implFunction` - [`ScopedLambda.h:58`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/WTF/wtf/ScopedLambda.h#L58>): `void WTF::ScopedLambda<void (...)>::operator()<JSC::CurrentThreadState&>(...) const` - [`MachineStackMarker.cpp:235`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/heap/MachineStackMarker.cpp#L235>): `JSC::callWithCurrentThreadState` - [`Heap.cpp:2068`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/heap/Heap.cpp#L2068>): `JSC::Heap::collectInMutatorThread` - [`Heap.cpp:2037`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/heap/Heap.cpp#L2037>): `JSC::Heap::stopIfNecessarySlow` - [`Heap.cpp:2009`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/heap/Heap.cpp#L2009>): `JSC::Heap::stopIfNecessarySlow` - [`HeapInlines.h:272`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/heap/HeapInlines.h#L272>): `JSC::Heap::stopIfNecessary` - [`Heap.cpp:2849`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/heap/Heap.cpp#L2849>): `JSC::Heap::collectIfNecessaryOrDefer` - [`LocalAllocator.cpp:126`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/heap/LocalAllocator.cpp#L126>): `JSC::LocalAllocator::allocateSlowCase` - [`FreeListInlines.h:46`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/heap/FreeListInlines.h#L46>): `JSC::HeapCell* JSC::FreeList::allocateWithCellSize<JSC::LocalAllocator::allocate(...)::'lambda'()>` - [`LocalAllocatorInlines.h:44`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/heap/LocalAllocatorInlines.h#L44>): `JSC::LocalAllocator::allocate` - [`AllocatorInlines.h:35`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/heap/AllocatorInlines.h#L35>): `JSC::Allocator::allocate(...) const` - [`CompleteSubspaceInlines.h:39`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/heap/CompleteSubspaceInlines.h#L39>): `JSC::CompleteSubspace::allocate` - [`JSCellInlines.h:194`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/runtime/JSCellInlines.h#L194>): `void* JSC::tryAllocateCellHelper<JSC::JSLexicalEnvironment, (...)0>` - [`JSCellInlines.h:214`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/runtime/JSCellInlines.h#L214>): `void* JSC::allocateCell<JSC::JSLexicalEnvironment>` - [`JSLexicalEnvironment.h:98`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/runtime/JSLexicalEnvironment.h#L98>): `JSC::JSLexicalEnvironment::create` - [`DFGOperations.cpp:2467`](<https://github.com/oven-sh/WebKit/blob/8af7958ff0e2a4787569edf64641a1ae7cfe074a/Source/JavaScriptCore/dfg/DFGOperations.cpp#L2467>): `operationCreateActivationDirect`