oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
74.36k stars 2.78k forks source link

Segmentation fault during `bun --filter '*' dev` #15343

Closed eknowles closed 7 hours ago

eknowles commented 7 hours ago

How can we reproduce the crash?

bun i works as does the same thing...

Bun.spawn(["bun", "run", "dev"], {
  cwd: "./apps/client",
});

Bun.spawn(["bun", "run", "dev"], {
  cwd: "./apps/server",
});

Relevant log output

vscode ➜ /workspace (main) $ bun --filter '*' dev
============================================================
Bun v1.1.36 (ededc168) Linux arm64
Linux Kernel v6.10.4 | glibc v2.31
Args: "bun" "--filter" "*" "dev"
Elapsed: 11ms | User: 0ms | Sys: 4ms
RSS: 1.07GB | Peak: 11.51MB | Commit: 1.07GB | Faults: 0

panic(main thread): Segmentation fault at address 0x6024C
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.36/La1ededc16AA+5Dm65x2Cm/og8C2z7p5C2kmn0C2n2l0Cu9mImz0l0CA2A4khY

[1]    13691 trace trap  bun --filter '*' dev

Stack Trace (bun.report)

Bun v1.1.36 (ededc16) on linux aarch64 [AutoCommand]

Segmentation fault at address 0x0006024C

Sentry Issue: BUN-8S9

Jarred-Sumner commented 7 hours ago

Fixed in Bun v1.1.37. try running bun upgrade --canary or wait till tomorrow for the release

This was a regression in v1.1.35