oven-sh / bun

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

Crash #12847

Open n3x503 opened 1 month ago

n3x503 commented 1 month ago

How can we reproduce the crash?

Screenshot 2024-07-26 at 17 15 45

Relevant log output

bun run dev
$ NODE_ENV=dev bun run --watch src/app.ts
============================================================
Bun v1.1.20 (ae194892) Linux arm64
Linux Kernel v5.15.0 | glibc v2.35
Args: "bun" "run" "--watch" "src/app.ts"
Features: jsc dotenv transpiler_cache tsconfig_paths tsconfig(4)
Builtins: "bun:main" "node:assert" "node:buffer" "node:crypto" "node:events" "node:fs" "node:module" "node:os" "node:path" "node:string_decoder" "node:url" "node:util" "node:util/types" "node:worker_threads"
Elapsed: 167ms | User: 120ms | Sys: 28ms
RSS: 1.01GB | Peak: 62.57MB | Commit: 1.01GB | Faults: 0

panic(main thread): Segmentation fault at address 0x1A
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.20/Lr1ae19489AioggwD21txkE29D__mrr86Du0z+0E2+t78E+z5zgF+yjwgEu37imDA2A0B

--- Bun is auto-restarting due to crash [time: 1721988884376] ---
============================================================
Bun v1.1.20 (ae194892) Linux arm64
Linux Kernel v5.15.0 | glibc v2.35
Args: "bun" "run" "--watch" "src/app.ts"
Features: jsc dotenv transpiler_cache tsconfig_paths tsconfig(4)
Builtins: "bun:main" "node:assert" "node:buffer" "node:crypto" "node:events" "node:fs" "node:module" "node:os" "node:path" "node:string_decoder" "node:url" "node:util" "node:util/types" "node:worker_threads"
Elapsed: 130ms | User: 236ms | Sys: 48ms
RSS: 1.04GB | Peak: 63.73MB | Commit: 1.04GB | Faults: 0

panic(main thread): Segmentation fault at address 0x1A
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.20/Lr1ae19489AioggwD21txkE29D__mrr86Du0z+0E2+t78E+z5zgF+yjwgEu37imDA2A0B

--- Bun is auto-restarting due to crash [time: 1721988884529] ---

Stack Trace (bun.report)

Bun v1.1.20 (ae19489) on linux aarch64 [RunCommand]

Segmentation fault at address 0x0000001A

Jarred-Sumner commented 1 month ago

@n3x503 can you try bun upgrade --canary in an hour? I think #12911 fixed this