Open soof-golan opened 3 days ago
@soof-golan, the latest version of Bun is v1.1.33, but this crash was reported on Bun v1.1.29.
Are you able to reproduce this crash on the latest version of Bun?
bun upgrade
Reproduced also on v1.1.33
============================================================
Bun v1.1.33 (247456b6) macOS Silicon
macOS v15.0
Args: "bun" "./server/index.ts"
Features: Bun.stdin(2) abort_signal dotenv http_server(2) jsc spawn transpiler_cache(27) tsconfig(22) tsconfig_paths
Builtins: "bun:jsc" "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:crypto" "node:dns" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:perf_hooks" "node:process" "node:querystring" "node:readline" "node:stream" "node:string_decoder" "node:tls" "node:tty" "node:url" "node:util" "node:util/types" "node:zlib" "node:worker_threads" "ws" "node-fetch" "node:v8" "node:http2"
Elapsed: 118454ms | User: 6334ms | Sys: 854ms
RSS: 0.35GB | Peak: 0.37GB | Commit: 0.47GB | Faults: 106
panic(main thread): Segmentation fault at address 0xD0
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
To send a redacted crash report to Bun's team,
please file a GitHub issue using the link below:
https://bun.report/1.1.33/Ma1247456bA9u/6/d_mmhn2B2vsm2B2pym2B2+o01B+3j01Bm4g81Bun6i2Bu5g11B+zoz1BA2AgN
error: script "server" was terminated by signal SIGTRAP (Trace or breakpoint trap)
error: script "dev" was terminated by signal SIGTRAP (Trace or breakpoint trap)
Hello @soof-golan. Please provide a minimal reproduction using a GitHub repository, Replit, CodeSandbox, or provide a bulleted list of commands to run that reproduce this issue. Issues marked with needs repro
will be closed if they have no activity within 3 days.
Full source code at https://github.com/soof-golan/tix-q
Big dependencies include prisma, vite as the hot reloading dev server. This crash happens while querying a CockroachDB instance locally.
This does reproduce crash sort of reliably, but I'm definitely happy I'm not using bun as my prod server, only for local dev
How can we reproduce the crash?
Sorry, no repro at the time
Relevant log output
Stack Trace (bun.report)
Bun v1.1.29 (
6d43b36
) on macos aarch64 [AutoCommand]Segmentation fault at address 0xB498BF0643234020
JSC::JSObject::visitChildren
JSC::JSObject::visitChildren
JSC::JSScope::visitChildren
JSC::JSSymbolTableObject::visitChildren
JSC::JSLexicalEnvironment::visitChildren
JSC::SlotVisitor::drain(...)::$_0::operator()
JSC::SlotVisitor::drain
JSC::SlotVisitor::drainInParallel
JSC::Heap::runFixpointPhase
Features: jsc, Bun.stdin, dotenv, http_server, spawn, transpiler_cache, tsconfig_paths, tsconfig
Sentry Issue: BUN-7H5