oven-sh / bun

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

server crash when using "bun --bun run dev" with nextjs15 #15299

Open DarkidOP opened 1 day ago

DarkidOP commented 1 day ago

How can we reproduce the crash?

repo link: Project repo it crashed when the dev preview was reloaded multiple times in a short period Image

Relevant log output

Bun v1.1.29 (6d43b366) Windows x64
Windows v.win10_fe
CPU: sse42 avx avx2
Args: "C:\Users\User\AppData\Local\Temp\bun-node-6d43b3662\node.exe" "E:\Programming\work\Bunext\node_modules\next\dist\server\lib\start-server.js"     
Features: jsc Bun.stdin Bun.stdout abort_signal(34) fetch(2) http_server spawn transpiler_cache(65) tsconfig_paths(2) tsconfig(2) WebSocket(3) 
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" "utf-8-validate" "node:v8" "node:diagnostics_channel" 
Elapsed: 23640652ms | User: 39937ms | Sys: 5562ms
RSS: 0.72GB | Peak: 1.17GB | Commit: 5.99GB | Faults: 3307346

Stack Trace (bun.report)

Bun v1.1.29 (6d43b36) on windows x86_64 [RunCommand]

Segmentation fault at address 0x00000000

Features: jsc, dotenv, http_server, transpiler_cache, tsconfig

Sentry Issue: BUN-5Z

github-actions[bot] commented 1 day ago

@DarkidOP, the latest version of Bun is v1.1.36, 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
DarkidOP commented 1 day ago

Alr I'll check after upgrading and updated the issue

On Thu, Nov 21, 2024, 6:36 AM github-actions[bot] @.***> wrote:

@DarkidOP https://github.com/DarkidOP, the latest version of Bun is v1.1.36, 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

— Reply to this email directly, view it on GitHub https://github.com/oven-sh/bun/issues/15299#issuecomment-2489825660, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOMIDKYJAUFXY5PT3V4S7E32BUTHPAVCNFSM6AAAAABSFZHFZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBZHAZDKNRWGA . You are receiving this because you were mentioned.Message ID: @.***>