View Stack Trace
Bun v1.4.3 ([`8c28b31`](<https://github.com/oven-sh/bun/tree/8c28b31673fe6725ffd29e154bd1cb45069ae814>)) on linux x86_64 [StandaloneExecutable]
**panic**: capacity overflow
- [`boxed.rs:2335`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/rust/library/alloc/src/boxed.rs#L2335>): `call<(...), (...), alloc::alloc::Global>`
- [`panicking.rs:823`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/rust/library/std/src/panicking.rs#L823>): `std::panicking::panic_with_hook`
- [`panicking.rs:681`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/rust/library/std/src/panicking.rs#L681>): `std::panicking::panic_handler::{closure#0} `
- [`backtrace.rs:182`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/rust/library/std/src/sys/backtrace.rs#L182>): `__rust_end_short_backtrace<std::panicking::panic_handler::{closure_env#0}, !>`
- [`panicking.rs:679`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/rust/library/std/src/panicking.rs#L679>): `__rustc::rust_begin_unwind`
- [`panicking.rs:80`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/rust/library/core/src/panicking.rs#L80>): `core::panicking::panic_fmt`
- [`mod.rs:28`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/rust/library/alloc/src/raw_vec/mod.rs#L28>): `alloc::raw_vec::capacity_overflow`
- [`mod.rs:893`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/rust/library/alloc/src/raw_vec/mod.rs#L893>): `alloc::raw_vec::handle_error`
- [`mod.rs:593`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/rust/library/alloc/src/raw_vec/mod.rs#L593>): `with_capacity_zeroed_in<alloc::alloc::Global>`
- [`mod.rs:221`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/rust/library/alloc/src/raw_vec/mod.rs#L221>): `with_capacity_zeroed_in<u8, alloc::alloc::Global>`
- [`spec_from_elem.rs:51`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/rust/library/alloc/src/vec/spec_from_elem.rs#L51>): `from_elem<alloc::alloc::Global>`
- [`mod.rs:3778`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/rust/library/alloc/src/vec/mod.rs#L3778>): `from_elem<u8>`
- [`resolve_path.rs:1696`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/paths/resolve_path.rs#L1696>): `bun_paths::resolve_path::join_abs_string_buf_checked::<bun_paths::resolve_path::platform::Loose>`
- [`lib.rs:361`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/resolver/lib.rs#L361>): `abs_buf_checked`
- [`node_fs.rs:7398`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/runtime/node/node_fs.rs#L7398>): `<bun_runtime::node::fs::NodeFS>::realpath_inner`
- [`node_fs.rs:7304`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/runtime/node/node_fs.rs#L7304>): `realpath_non_native`
- [`node_fs.rs:8925`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/runtime/node/node_fs.rs#L8925>): `_RNvXsB_NtNtCs9ntuEVFtQp0_11bun_runtime4node2fsINtB5_2OpKVNtNtB5_18NodeFSFunctionEnum17RealpathNonNativeUEINtB5_14NodeFSDispatchNtNtB7_5types14StringOrBufferNtNtB5_4args8RealpathE3run`
- [`node_fs.rs:8855`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/runtime/node/node_fs.rs#L8855>): `dispatch<bun_runtime::node::types::StringOrBuffer, bun_runtime::node::fs::args::Realpath, {CONST#d93e6b1c4134fc1b}>`
- [`node_fs_binding.rs:46`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/runtime/node/node_fs_binding.rs#L46>): `{closure#0}<bun_runtime::node::types::StringOrBuffer, bun_runtime::node::fs::args::Realpath, {CONST#d93e6b1c4134fc1b}>`
- [`js_cell.rs:86`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/ptr/js_cell.rs#L86>): `with_mut<bun_runtime::node::fs::NodeFS, core::result::Result<bun_runtime::node::types::StringOrBuffer, bun_sys::error::Error>, bun_runtime::node::node_fs_binding::run_sync::{closure_env#0}<bun_runtime::node::types::StringOrBuffer, bun_runtime::node::fs::args::Realpath, {CONST#d93e6b1c4134fc1b}>>`
- [`node_fs_binding.rs:46`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/runtime/node/node_fs_binding.rs#L46>): `run_sync<bun_runtime::node::types::StringOrBuffer, bun_runtime::node::fs::args::Realpath, {CONST#d93e6b1c4134fc1b}>`
- [`generated_classes.rs:10310`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/./build/release/codegen/generated_classes.rs#L10310>): `{closure#0}`
- [`host_fn.rs:549`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/jsc/host_fn.rs#L549>): `{closure#0}<bun_runtime::node::node_fs_binding::Binding, core::result::Result<bun_jsc::js_value::JSValue, bun_core::JsError>, bun_runtime::generated_classes::NodeJSFSPrototype__realpathSync::{closure_env#0}>`
- [`host_fn.rs:309`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/jsc/host_fn.rs#L309>): `{closure#0}<core::result::Result<bun_jsc::js_value::JSValue, bun_core::JsError>, bun_jsc::host_fn::host_fn_this_shared::{closure_env#0}<bun_runtime::node::node_fs_binding::Binding, core::result::Result<bun_jsc::js_value::JSValue, bun_core::JsError>, bun_runtime::generated_classes::NodeJSFSPrototype__realpathSync::{closure_env#0}>>`
- [`host_fn.rs:705`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/jsc/host_fn.rs#L705>): `to_js_host_call<bun_jsc::host_fn::host_fn_result::{closure_env#0}<core::result::Result<bun_jsc::js_value::JSValue, bun_core::JsError>, bun_jsc::host_fn::host_fn_this_shared::{closure_env#0}<bun_runtime::node::node_fs_binding::Binding, core::result::Result<bun_jsc::js_value::JSValue, bun_core::JsError>, bun_runtime::generated_classes::NodeJSFSPrototype__realpathSync::{closure_env#0}>>>`
- [`host_fn.rs:309`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/jsc/host_fn.rs#L309>): `host_fn_result<core::result::Result<bun_jsc::js_value::JSValue, bun_core::JsError>, bun_jsc::host_fn::host_fn_this_shared::{closure_env#0}<bun_runtime::node::node_fs_binding::Binding, core::result::Result<bun_jsc::js_value::JSValue, bun_core::JsError>, bun_runtime::generated_classes::NodeJSFSPrototype__realpathSync::{closure_env#0}>>`
- [`host_fn.rs:549`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/jsc/host_fn.rs#L549>): `host_fn_this_shared<bun_runtime::node::node_fs_binding::Binding, core::result::Result<bun_jsc::js_value::JSValue, bun_core::JsError>, bun_runtime::generated_classes::NodeJSFSPrototype__realpathSync::{closure_env#0}>`
- [`generated_classes.rs:10310`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/./build/release/codegen/generated_classes.rs#L10310>): `NodeJSFSPrototype__realpathSync`
- [`ZigGeneratedClasses.cpp:42882`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/./build/release/./build/release/codegen/ZigGeneratedClasses.cpp#L42882>): `WebCore::NodeJSFSPrototype__realpathSyncCallback`
- *2 unknown/js code*
- [`LowLevelInterpreter.cpp:0`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/LowLevelInterpreter.cpp#L0>): `llint_op_call`
- [`LowLevelInterpreter.cpp:0`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/LowLevelInterpreter.cpp#L0>): `llint_op_call`
- [`LowLevelInterpreter.cpp:0`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/LowLevelInterpreter.cpp#L0>): `llint_call_javascript`
- [`Interpreter.cpp:1776`](<https://github.com/oven-sh/WebKit/blob/bun-8c28b31673fe6725ffd29e154bd1cb45069ae814/Source/JavaScriptCore/interpreter/Interpreter.cpp#L1776>): `JSC::Interpreter::executeModuleProgram`
- [`JSModuleRecord.cpp:154`](<https://github.com/oven-sh/WebKit/blob/bun-8c28b31673fe6725ffd29e154bd1cb45069ae814/Source/JavaScriptCore/runtime/JSModuleRecord.cpp#L154>): `JSC::JSModuleRecord::evaluate`
- [`JSModuleLoader.cpp:632`](<https://github.com/oven-sh/WebKit/blob/bun-8c28b31673fe6725ffd29e154bd1cb45069ae814/Source/JavaScriptCore/runtime/JSModuleLoader.cpp#L632>): `evaluateNonVirtual`
- [`ZigGlobalObject.cpp:4323`](<https://github.com/oven-sh/bun/blob/8c28b31673fe6725ffd29e154bd1cb45069ae814/src/jsc/bindings/ZigGlobalObject.cpp#L4323>): `Zig::GlobalObject::moduleLoaderEvaluate`
Features: standalone\_executable, claude\_code, jsc