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 linux x86_64_baseline [AutoCommand] Segmentation fault at address 0x39E2EC00000 - [`encoding.zig:215`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/runtime/webcore/encoding.zig#L215>): `runtime.webcore.encoding.toBunStringComptime` - [`string.zig:204`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/string/string.zig#L204>): `string.string.String.cloneUTF8` - [`ModuleLoader.zig:1150`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/ModuleLoader.zig#L1150>): `jsc.ModuleLoader.getHardcodedModule` - [`ModuleLoader.zig:1175`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/ModuleLoader.zig#L1175>): `jsc.ModuleLoader.fetchBuiltinModule` - [`ModuleLoader.zig:861`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/ModuleLoader.zig#L861>): `jsc.ModuleLoader.Bun__fetchBuiltinModule` - [`ModuleLoader.cpp:977`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/bindings/ModuleLoader.cpp#L977>): `JSC::JSValue Bun::fetchESMSourceCode<true>` - [`ModuleLoader.cpp:1206`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/bindings/ModuleLoader.cpp#L1206>): `Bun::fetchESMSourceCodeAsync` - [`ZigGlobalObject.cpp:3543`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/bindings/ZigGlobalObject.cpp#L3543>): `Zig::GlobalObject::moduleLoaderFetch` - [`JSModuleLoader.cpp:531`](<https://github.com/oven-sh/WebKit/blob/bun-0d9b296af33f2b851fcbf4df3e9ec89751734ba4/Source/JavaScriptCore/runtime/JSModuleLoader.cpp#L531>): `JSC::JSModuleLoader::fetch` - [`JSModuleLoader.cpp:374`](<https://github.com/oven-sh/WebKit/blob/bun-0d9b296af33f2b851fcbf4df3e9ec89751734ba4/Source/JavaScriptCore/runtime/JSModuleLoader.cpp#L374>): `JSC::JSModuleLoader::loadModule` - [`Completion.cpp:198`](<https://github.com/oven-sh/WebKit/blob/bun-0d9b296af33f2b851fcbf4df3e9ec89751734ba4/Source/JavaScriptCore/runtime/Completion.cpp#L198>): `JSC::loadAndEvaluateModule` - [`bindings.cpp:3601`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/bindings/bindings.cpp#L3601>): `JSC__JSModuleLoader__loadAndEvaluateModule` - [`JSModuleLoader.zig:39`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/JSModuleLoader.zig#L39>): `jsc.JSModuleLoader.JSModuleLoader.loadAndEvaluateModule` - [`VirtualMachine.zig:2339`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/VirtualMachine.zig#L2339>): `jsc.VirtualMachine.reloadEntryPoint` - [`VirtualMachine.zig:2457`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/VirtualMachine.zig#L2457>): `jsc.VirtualMachine.loadEntryPoint` - [`bun.js.zig:401`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/bun.js.zig#L401>): `bun.js.Run.start` - [`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/./build/release/../../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` - [`bun.js.zig:302`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/bun.js.zig#L302>): `bun.js.Run.boot` - [`run_command.zig:1562`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/cli/run_command.zig#L1562>): `cli.run_command.RunCommand._bootAndHandleError` - [`run_command.zig:1642`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/cli/run_command.zig#L1642>): `cli.run_command.RunCommand.maybeOpenWithBunJS` - [`run_command.zig:1691`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/cli/run_command.zig#L1691>): `cli.run_command.RunCommand.exec` - [`cli.zig:829`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/cli/cli.zig#L829>): `cli.cli.Command.start` - [`cli.zig:20`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/cli/cli.zig#L20>): `cli.cli.Cli.start` - [`main.zig:66`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/main.zig#L66>): `main.main` - [`start.zig:618`](<https://github.com/oven-sh/zig/blob/bun-0d9b296af33f2b851fcbf4df3e9ec89751734ba4/lib/std/start.zig#L618>): `start.callMain` - [`start.zig:587`](<https://github.com/oven-sh/zig/blob/bun-0d9b296af33f2b851fcbf4df3e9ec89751734ba4/lib/std/start.zig#L587>): `start.callMainWithArgs` - [`start.zig:602`](<https://github.com/oven-sh/zig/blob/bun-0d9b296af33f2b851fcbf4df3e9ec89751734ba4/lib/std/start.zig#L602>): `main` Features: tsconfig, jsc, no\_avx2, no\_avx