✓

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.4.2
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.4.2 ([`744846f`](<https://github.com/oven-sh/bun/tree/744846f844374847c902b5e7fd59b4342a51ef99>)) on windows x86_64 [TestCommand] Segmentation fault at address 0x00000001 - [`atomic:932`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99//webkit/WebKitLibraries/windows/crt/include/atomic#L932>): `std::_Atomic_storage<unsigned int,4>::load(...) const` - [`ThreadSafeRefCounted.h:67`](<https://github.com/oven-sh/WebKit/blob/bun-744846f844374847c902b5e7fd59b4342a51ef99/Source/WTF/wtf/ThreadSafeRefCounted.h#L67>): `WTF::ThreadSafeRefCountedBase::derefBase(...) const` - [`ThreadSafeRefCounted.h:88`](<https://github.com/oven-sh/WebKit/blob/bun-744846f844374847c902b5e7fd59b4342a51ef99/Source/WTF/wtf/ThreadSafeRefCounted.h#L88>): `WTF::ThreadSafeRefCounted<JSC::WatchpointSet,0>::deref(...) const` - [`Ref.h:65`](<https://github.com/oven-sh/WebKit/blob/bun-744846f844374847c902b5e7fd59b4342a51ef99/Source/WTF/wtf/Ref.h#L65>): `WTF::DefaultRefDerefTraits<JSC::WatchpointSet>::derefIfNotNull` - [`RefPtr.h:116`](<https://github.com/oven-sh/WebKit/blob/bun-744846f844374847c902b5e7fd59b4342a51ef99/Source/WTF/wtf/RefPtr.h#L116>): `WTF::RefPtr<JSC::WatchpointSet,WTF::RawPtrTraits<JSC::WatchpointSet>,WTF::DefaultRefDerefTraits<JSC::WatchpointSet> >::~RefPtr` - [`KeyValuePair.h:34`](<https://github.com/oven-sh/WebKit/blob/bun-744846f844374847c902b5e7fd59b4342a51ef99/Source/WTF/wtf/KeyValuePair.h#L34>): `WTF::KeyValuePair<int,WTF::RefPtr<JSC::WatchpointSet,WTF::RawPtrTraits<JSC::WatchpointSet>,WTF::DefaultRefDerefTraits<JSC::WatchpointSet> > >::~KeyValuePair` - [`HashTable.h:1255`](<https://github.com/oven-sh/WebKit/blob/bun-744846f844374847c902b5e7fd59b4342a51ef99/Source/WTF/wtf/HashTable.h#L1255>): `WTF::HashTable<int,WTF::KeyValuePair<int,WTF::RefPtr<JSC::WatchpointSet,WTF::RawPtrTraits<JSC::WatchpointSet>,WTF::DefaultRefDerefTraits<JSC::WatchpointSet> > >,WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<int,WTF::RefPtr<JSC::WatchpointSet,WTF::RawPtrTraits<JSC::WatchpointSet>,WTF::DefaultRefDerefTraits<JSC::WatchpointSet> > > >,WTF::IntHash<int>,WTF::HashMap<int,WTF::RefPtr<JSC::WatchpointSet,WTF::RawPtrTraits<JSC::WatchpointSet>,WTF::DefaultRefDerefTraits<JSC::WatchpointSet> >,WTF::IntHash<int>,WTF::UnsignedWithZeroKeyHashTraits<int>,WTF::HashTraits<WTF::RefPtr<JSC::WatchpointSet,WTF::RawPtrTraits<JSC::WatchpointSet>,WTF::DefaultRefDerefTraits<JSC::WatchpointSet> > >,WTF::HashTableTraits,0,WTF::FastMalloc>::KeyValuePairTraits,WTF::UnsignedWithZeroKeyHashTraits<int>,WTF::FastMalloc>::deallocateTable` - [`HashTable.h:433`](<https://github.com/oven-sh/WebKit/blob/bun-744846f844374847c902b5e7fd59b4342a51ef99/Source/WTF/wtf/HashTable.h#L433>): `WTF::HashTable<int,WTF::KeyValuePair<int,WTF::RefPtr<JSC::WatchpointSet,WTF::RawPtrTraits<JSC::WatchpointSet>,WTF::DefaultRefDerefTraits<JSC::WatchpointSet> > >,WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<int,WTF::RefPtr<JSC::WatchpointSet,WTF::RawPtrTraits<JSC::WatchpointSet>,WTF::DefaultRefDerefTraits<JSC::WatchpointSet> > > >,WTF::IntHash<int>,WTF::HashMap<int,WTF::RefPtr<JSC::WatchpointSet,WTF::RawPtrTraits<JSC::WatchpointSet>,WTF::DefaultRefDerefTraits<JSC::WatchpointSet> >,WTF::IntHash<int>,WTF::UnsignedWithZeroKeyHashTraits<int>,WTF::HashTraits<WTF::RefPtr<JSC::WatchpointSet,WTF::RawPtrTraits<JSC::WatchpointSet>,WTF::DefaultRefDerefTraits<JSC::WatchpointSet> > >,WTF::HashTableTraits,0,WTF::FastMalloc>::KeyValuePairTraits,WTF::UnsignedWithZeroKeyHashTraits<int>,WTF::FastMalloc>::~HashTable` - [`Forward.h:201`](<https://github.com/oven-sh/WebKit/blob/bun-744846f844374847c902b5e7fd59b4342a51ef99/Source/WTF/wtf/Forward.h#L201>): `WTF::HashMap<int,WTF::RefPtr<JSC::WatchpointSet,WTF::RawPtrTraits<JSC::WatchpointSet>,WTF::DefaultRefDerefTraits<JSC::WatchpointSet> >,WTF::IntHash<int>,WTF::UnsignedWithZeroKeyHashTraits<int>,WTF::HashTraits<WTF::RefPtr<JSC::WatchpointSet,WTF::RawPtrTraits<JSC::WatchpointSet>,WTF::DefaultRefDerefTraits<JSC::WatchpointSet> > >,WTF::HashTableTraits,0,WTF::FastMalloc>::~HashMap` - [`StructureRareData.h:64`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99//webkit/Source/JavaScriptCore/runtime/StructureRareData.h#L64>): `JSC::StructureRareData::~StructureRareData` - [`StructureRareData.cpp:63`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99//webkit/Source/JavaScriptCore/runtime/StructureRareData.cpp#L63>): `JSC::StructureRareData::destroy` - [`HeapCellType.cpp:46`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99//webkit/Source/JavaScriptCore/heap/HeapCellType.cpp#L46>): `JSC::DefaultDestroyFunc::operator()(...) const` - [`MarkedBlockInlines.h:269`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99//webkitbuild/JavaScriptCore/PrivateHeaders/JavaScriptCore/MarkedBlockInlines.h#L269>): `JSC::MarkedBlock::Handle::specializedSweep<1,0,0,1,0,1,0,JSC::DefaultDestroyFunc>::<lambda_1>::operator()(...) const` - [`MarkedBlockInlines.h:311`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99//webkitbuild/JavaScriptCore/PrivateHeaders/JavaScriptCore/MarkedBlockInlines.h#L311>): `JSC::MarkedBlock::Handle::specializedSweep` - [`MarkedBlockInlines.h:429`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99//webkitbuild/JavaScriptCore/PrivateHeaders/JavaScriptCore/MarkedBlockInlines.h#L429>): `JSC::MarkedBlock::Handle::finishSweepKnowingHeapCellType<JSC::DefaultDestroyFunc>::<lambda_1>::operator()(...) const` - [`MarkedBlockInlines.h:471`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99//webkitbuild/JavaScriptCore/PrivateHeaders/JavaScriptCore/MarkedBlockInlines.h#L471>): `JSC::MarkedBlock::Handle::finishSweepKnowingHeapCellType` - [`HeapCellType.cpp:59`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99//webkit/Source/JavaScriptCore/heap/HeapCellType.cpp#L59>): `JSC::HeapCellType::finishSweep(...) const` - [`Subspace.cpp:62`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99//webkit/Source/JavaScriptCore/heap/Subspace.cpp#L62>): `JSC::Subspace::finishSweep` - [`MarkedBlock.cpp:638`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99//webkit/Source/JavaScriptCore/heap/MarkedBlock.cpp#L638>): `JSC::MarkedBlock::Handle::sweep` - [`IncrementalSweeper.cpp:109`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99//webkit/Source/JavaScriptCore/heap/IncrementalSweeper.cpp#L109>): `JSC::IncrementalSweeper::sweepNextBlock` - [`IncrementalSweeper.cpp:79`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99//webkit/Source/JavaScriptCore/heap/IncrementalSweeper.cpp#L79>): `JSC::IncrementalSweeper::doSweep` - [`IncrementalSweeper.cpp:68`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99//webkit/Source/JavaScriptCore/heap/IncrementalSweeper.cpp#L68>): `JSC::IncrementalSweeper::doWork` - [`JSRunLoopTimer.cpp:239`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99//webkit/Source/JavaScriptCore/runtime/JSRunLoopTimer.cpp#L239>): `JSC::JSRunLoopTimer::timerDidFire` - [`JSRunLoopTimer.cpp:111`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99//webkit/Source/JavaScriptCore/runtime/JSRunLoopTimer.cpp#L111>): `JSC::JSRunLoopTimer::Manager::timerDidFire` - [`JSRunLoopTimer.cpp:56`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99//webkit/Source/JavaScriptCore/runtime/JSRunLoopTimer.cpp#L56>): `JSC::JSRunLoopTimer::Manager::timerDidFireCallback` - [`RunLoopBun.cpp:139`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99//webkit/Source/WTF/wtf/bun/RunLoopBun.cpp#L139>): `WTFTimer__fire` - [`WTFTimer.rs:35`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/runtime/timer/WTFTimer.rs#L35>): `bun_runtime::timer::wtf_timer::RunLoopTimer::fire` - [`WTFTimer.rs:87`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/runtime/timer/WTFTimer.rs#L87>): `bun_runtime::timer::wtf_timer::WTFTimer::run_without_removing` - [`WTFTimer.rs:225`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/runtime/timer/WTFTimer.rs#L225>): `bun_runtime::timer::wtf_timer::WTFTimer::fire` - [`dispatch.rs:973`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/runtime/dispatch.rs#L973>): `bun_runtime::dispatch::__bun_fire_timer` - [`EventLoopTimer.rs:181`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/event_loop/EventLoopTimer.rs#L181>): `bun_event_loop::EventLoopTimer::EventLoopTimer::fire` - [`mod.rs:918`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/runtime/timer/mod.rs#L918>): `bun_runtime::timer::All::drain_due_wtf_timers` - [`mod.rs:970`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/runtime/timer/mod.rs#L970>): `bun_runtime::timer::All::get_timeout` - [`jsc_hooks.rs:1082`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/runtime/jsc_hooks.rs#L1082>): `bun_runtime::jsc_hooks::auto_tick` - [`VirtualMachine.rs:2819`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/jsc/VirtualMachine.rs#L2819>): `bun_jsc::virtual_machine::VirtualMachine::auto_tick` - [`VirtualMachine.rs:5048`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/jsc/VirtualMachine.rs#L5048>): `bun_jsc::virtual_machine::VirtualMachine::load_entry_point_for_test_runner` - [`test_command.rs:2914`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/runtime/cli/test_command.rs#L2914>): `bun_runtime::cli::test_command::TestCommand::run` - [`runner.rs:575`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/runtime/cli/test/parallel/runner.rs#L575>): `bun_runtime::cli::test::parallel::runner::WorkerLoop::begin` - [`runner.rs:663`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/runtime/cli/test/parallel/runner.rs#L663>): `bun_runtime::cli::test::parallel::runner::run_as_worker::closure$0` - [`VirtualMachine.rs:1504`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/jsc/VirtualMachine.rs#L1504>): `bun_jsc::virtual_machine::impl$7::run_with_api_lock::call` - [`bindings.cpp:5021`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/jsc/bindings/bindings.cpp#L5021>): `JSC__VM__holdAPILock` - [`VirtualMachine.rs:1513`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/jsc/VirtualMachine.rs#L1513>): `bun_jsc::virtual_machine::VirtualMachine::run_with_api_lock` - [`runner.rs:663`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/runtime/cli/test/parallel/runner.rs#L663>): `bun_runtime::cli::test::parallel::runner::run_as_worker` - [`test_command.rs:2007`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/runtime/cli/test_command.rs#L2007>): `bun_runtime::cli::test_command::TestCommand::exec` - [`mod.rs:1314`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/runtime/cli/mod.rs#L1314>): `bun_runtime::cli::command::start` - [`mod.rs:568`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/runtime/cli/mod.rs#L568>): `bun_runtime::cli::cli::start` - [`mod.rs:199`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/runtime/bin_entry/mod.rs#L199>): `bun_runtime::bin_entry::main` Features: spawn, transpiler\_cache, tsconfig, bunfig, jsc, loaders