-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
bun.jsSomething to do with a Bun-specific APISomething to do with a Bun-specific APIconfirmed bugWe can reproduce this issueWe can reproduce this issuecrashAn issue that could cause a crashAn issue that could cause a crashruntime
Description
How can we reproduce the crash?
Bun.inspect.table(null) works
Bun.inspect.table(undefined) works
Bun.inspect.table([]) works
Bun.inspect.table({}) works
Bun.inspect.table('') crashes
Relevant log output
============================================================
Bun v1.2.2 (c1708ea6) macOS Silicon
macOS v15.3.2
Args: "bun" "psql.js" "describe" "test" "table"
Features: jsc
Builtins: "bun:main" "node:fs" "node:util/types"
Elapsed: 15ms | User: 11ms | Sys: 5ms
RSS: 29.36MB | Peak: 29.36MB | Commit: 1.07GB | Faults: 84
panic(main thread): Segmentation fault at address 0x6
oh no: Bun has crashed. This indicates a bug in Bun, not your code.Stack Trace (bun.report)
Bun v1.2.2 (c1708ea) on macos aarch64 [AutoCommand]
Segmentation fault at address 0x00000006
- 1 unknown/js code
Bun__JSPropertyIterator__createsrc.bun.js.bindings.bindings.toJSHostFunction__struct_142603.function- 1 unknown/js code
jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__666_callHelper__dispatch_LowLevelInterpreter64_asm_2538jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__666_callHelper__dispatch_LowLevelInterpreter64_asm_2538jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__684_callHelper__dispatch_LowLevelInterpreter64_asm_2538jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__684_callHelper__dispatch_LowLevelInterpreter64_asm_2538llint_call_javascriptJSC::Interpreter::executeCall
Features: Bun.stdin, fetch, jsc
Sentry Issue: BUN-EA5
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bun.jsSomething to do with a Bun-specific APISomething to do with a Bun-specific APIconfirmed bugWe can reproduce this issueWe can reproduce this issuecrashAn issue that could cause a crashAn issue that could cause a crashruntime