Crash Report Uploaded

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

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.14 ([`0d9b296`](<https://github.com/oven-sh/bun/tree/0d9b296af33f2b851fcbf4df3e9ec89751734ba4>)) on macos aarch64 [AutoCommand] **panic**: NAPI FATAL ERROR: Error::New napi_create_error - [`napi.zig:1189`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/napi/napi.zig#L1189>): `napi_fatal_error` - *6 unknown/js code* - [`napi.h:742`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/bindings/napi.h#L742>): `Zig::NapiRef::callFinalizer` - [`napi.h:460`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/bindings/napi.h#L460>): `NapiEnv::BoundFinalizer::call(...) const` - [`napi.h:211`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/bindings/napi.h#L211>): `NapiEnv::cleanup` - [`rare_data.zig:517`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/rare_data.zig#L517>): `jsc.rare_data.CleanupHook.execute` - [`VirtualMachine.zig:953`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/VirtualMachine.zig#L953>): `jsc.VirtualMachine.onExit` - [`web_worker.zig:726`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/web_worker.zig#L726>): `jsc.web_worker.shutdown` - [`web_worker.zig:0`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/web_worker.zig#L0>): `jsc.web_worker.spin` - [`jsc.zig:234`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/jsc.zig#L234>): `jsc.jsc.OpaqueWrap.callback` - [`bindings.cpp:4899`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/bindings/bindings.cpp#L4899>): `JSC__VM__holdAPILock` - [`VM.zig:35`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/VM.zig#L35>): `jsc.VM.VM.holdAPILock` - [`web_worker.zig:435`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/web_worker.zig#L435>): `jsc.web_worker.threadMain` - [`Thread.zig:509`](<https://github.com/oven-sh/zig/blob/bun-0d9b296af33f2b851fcbf4df3e9ec89751734ba4/lib/std/Thread.zig#L509>): `Thread.callFn` - [`Thread.zig:781`](<https://github.com/oven-sh/zig/blob/bun-0d9b296af33f2b851fcbf4df3e9ec89751734ba4/lib/std/Thread.zig#L781>): `Thread.PosixThreadImpl.spawn.Instance.entryFn` Features: workers\_spawned, workers\_terminated, process\_dlopen, jsc