Open shrey150 opened 2 months ago
brew install oven-sh/bun/bin
bun create next-app .
bun dev
localhost:3000
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
Bun v1.1.24 (85a3299) on macos aarch64 [AutoCommand]
85a3299
Segmentation fault at address 0x0000001A
vmEntryToJavaScript
JSC::Interpreter::executeCall
JSC::runJSMicrotask
JSC::VM::drainMicrotasks
Bun::jsFunctionDrainMicrotaskQueue
Could you try with bun v1.1.25 (bun upgrade). We've merged a couple bug fixes that might fix this crash
bun upgrade
How can we reproduce the crash?
brew install oven-sh/bun/bin
bun create next-app .
bun dev
localhost:3000
Relevant log output
Stack Trace (bun.report)
Bun v1.1.24 (
85a3299
) on macos aarch64 [AutoCommand]Segmentation fault at address 0x0000001A
vmEntryToJavaScript
JSC::Interpreter::executeCall
JSC::runJSMicrotask
JSC::VM::drainMicrotasks
Bun::jsFunctionDrainMicrotaskQueue
vmEntryToJavaScript