✓

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 macos aarch64 [TestCommand] Segmentation fault at address 0x00000020 - [`Vector.h:807`](<https://github.com/oven-sh/WebKit/blob/bun-744846f844374847c902b5e7fd59b4342a51ef99/Source/WTF/wtf/Vector.h#L807>): `at` - [`Vector.h:833`](<https://github.com/oven-sh/WebKit/blob/bun-744846f844374847c902b5e7fd59b4342a51ef99/Source/WTF/wtf/Vector.h#L833>): `last` - [`Vector.h:838`](<https://github.com/oven-sh/WebKit/blob/bun-744846f844374847c902b5e7fd59b4342a51ef99/Source/WTF/wtf/Vector.h#L838>): `takeLast` - [`JSFinalizationRegistry.cpp:188`](<https://github.com/oven-sh/WebKit/blob/bun-744846f844374847c902b5e7fd59b4342a51ef99/Source/JavaScriptCore/runtime/JSFinalizationRegistry.cpp#L188>): `takeDeadHoldingsValue` - [`JSFinalizationRegistry.cpp:174`](<https://github.com/oven-sh/WebKit/blob/bun-744846f844374847c902b5e7fd59b4342a51ef99/Source/JavaScriptCore/runtime/JSFinalizationRegistry.cpp#L174>): `runFinalizationCleanup` - [`JSFinalizationRegistry.cpp:158`](<https://github.com/oven-sh/WebKit/blob/bun-744846f844374847c902b5e7fd59b4342a51ef99/Source/JavaScriptCore/runtime/JSFinalizationRegistry.cpp#L158>): `operator` - [`Function.h:59`](<https://github.com/oven-sh/WebKit/blob/bun-744846f844374847c902b5e7fd59b4342a51ef99/Source/WTF/wtf/Function.h#L59>): `WTF::Detail::CallableWrapper<JSC::JSFinalizationRegistry::reconcileWeakReferencesAtGCEnd(...)::$_2, void, JSC::DeferredWorkTimer::Ticket&>::call` - [`Function.h:103`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/./build/release/cache/webkit-2e2aa2290fac856d-macos-arm64-lto/include/wtf/Function.h#L103>): `operator` - [`JSCTaskScheduler.cpp:125`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/jsc/bindings/JSCTaskScheduler.cpp#L125>): `runPendingWork` - [`JSCTaskScheduler.cpp:140`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/jsc/bindings/JSCTaskScheduler.cpp#L140>): `Bun__runDeferredWork` - [`JSCScheduler.rs:43`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/jsc/JSCScheduler.rs#L43>): `{closure#0}` - [`TopExceptionScope.rs:705`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/jsc/TopExceptionScope.rs#L705>): `call_check_slow_at<(...), bun_jsc::jsc_scheduler::{impl#1}::run::{closure_env#0}>` - [`TopExceptionScope.rs:721`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/jsc/TopExceptionScope.rs#L721>): `call_check_slow<(...), bun_jsc::jsc_scheduler::{impl#1}::run::{closure_env#0}>` - [`JSCScheduler.rs:43`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/jsc/JSCScheduler.rs#L43>): `run` - [`dispatch.rs:370`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/runtime/dispatch.rs#L370>): `bun_runtime::dispatch::run_task ` - [`dispatch.rs:614`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/runtime/dispatch.rs#L614>): `tick_queue_with_count` - [`dispatch.rs:1198`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/runtime/dispatch.rs#L1198>): `__bun_tick_queue_with_count` - [`event_loop.rs:246`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/jsc/event_loop.rs#L246>): `tick_queue_with_count` - [`event_loop.rs:542`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/jsc/event_loop.rs#L542>): `tick_with_count` - [`event_loop.rs:763`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/jsc/event_loop.rs#L763>): `tick_turn` - [`event_loop.rs:746`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/jsc/event_loop.rs#L746>): `<bun_jsc::event_loop::EventLoop>::tick` - [`test_command.rs:2986`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/runtime/cli/test_command.rs#L2986>): `<bun_runtime::cli::test_command::TestCommand>::run` - [`test_command.rs:2741`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/runtime/cli/test_command.rs#L2741>): `begin` - [`test_command.rs:2801`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/runtime/cli/test_command.rs#L2801>): `{closure#0}` - [`VirtualMachine.rs:1504`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/jsc/VirtualMachine.rs#L1504>): `<bun_jsc::virtual_machine::VirtualMachine>::run_with_api_lock::call::<<bun_runtime::cli::test_command::TestCommand>::run_all_tests::{closure#0}, (...)>` - [`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>): `run_with_api_lock<bun_runtime::cli::test_command::{impl#5}::run_all_tests::{closure_env#0}, (...)>` - [`test_command.rs:2801`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/runtime/cli/test_command.rs#L2801>): `<bun_runtime::cli::test_command::TestCommand>::run_all_tests` - [`test_command.rs:2349`](<https://github.com/oven-sh/bun/blob/744846f844374847c902b5e7fd59b4342a51ef99/src/runtime/cli/test_command.rs#L2349>): `<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>): `main` Features: transpiler\_cache, tsconfig, tsconfig\_paths, Bun.stderr, Bun.stdin, Bun.stdout, bunfig, dotenv, jsc