oven-sh / bun

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

Bun v1.1.24 crashes on `bun dev` with boilerplate `create-next-app` project (Next.js v14.2.5) #13449

Open shrey150 opened 2 months ago

shrey150 commented 2 months ago

How can we reproduce the crash?

Relevant log output

shrey@Shreys-MacBook-Pro saddy-house % bun dev
$ next dev
  ▲ Next.js 14.2.5
  - Local:        http://localhost:3000

 ✓ Starting...
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry

 ✓ Ready in 3.9s
 ○ Compiling / ...
The operation was aborted.

Retrying 1/3...
============================================================
Bun v1.1.24 (85a32991) macOS Silicon
macOS v14.6.1
Args: "/opt/homebrew/Cellar/bun/1.1.24/bin/bun" "/Users/shrey/Developer/saddy-house/node_modules/next/dist/server/lib/start-server.js"
Features: jsc Bun.stdin fetch(10) http_server spawn transpiler_cache(9) tsconfig_paths tsconfig 
Builtins: "bun:jsc" "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:dns/promises" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:perf_hooks" "node:querystring" "node:stream" "node:stream/web" "node:string_decoder" "node:tls" "node:tty" "node:url" "node:util" "node:util/types" "node:vm" "node:zlib" "node:worker_threads" "ws" "node-fetch" "node:v8" "node:diagnostics_channel" 
Elapsed: 9318ms | User: 1804ms | Sys: 348ms
RSS: 0.50GB | Peak: 0.50GB | Commit: 3.10GB | Faults: 59

panic(main thread): Segmentation fault at address 0x1A

Stack Trace (bun.report)

Bun v1.1.24 (85a3299) on macos aarch64 [AutoCommand]

Segmentation fault at address 0x0000001A

dylan-conway commented 2 months ago

Could you try with bun v1.1.25 (bun upgrade). We've merged a couple bug fixes that might fix this crash