oven-sh / bun

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

Crash on Next.js 14 Dev #13534

Open TheCukitoDev opened 2 months ago

TheCukitoDev commented 2 months ago

How can we reproduce the crash?

I only did bun dev and it crashed.

Relevant log output

Bun v1.1.25 (fe62a614) Linux x64
WSL Kernel v5.15.153 | glibc v2.38
CPU: sse42 popcnt avx avx2
Args: "/home/gabriel/.bun/bin/bun" "/home/gabriel/Workspace/Projects/cukito/node_modules/next/dist/server/lib/start-server.js"
Features: jsc dotenv http_server transpiler_cache(23) tsconfig_paths tsconfig WebSocket
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: 3397ms | User: 3023ms | Sys: 658ms
RSS: 0.98GB | Peak: 0.52GB | Commit: 0.98GB | Faults: 223

Stack Trace (bun.report)

Bun v1.1.25 (fe62a61) on linux x86_64 [AutoCommand]

Segmentation fault at address 0x00000040

github-actions[bot] commented 2 months ago

@TheCukitoDev, the latest version of Bun is v1.1.26, but this crash was reported on Bun v1.1.25.

Are you able to reproduce this crash on the latest version of Bun?

bun upgrade
TheCukitoDev commented 2 months ago

No it is not the error. I upgraded and now I have this:


WSL Kernel v5.15.153 | glibc v2.38
CPU: sse42 popcnt avx avx2
Args: "/home/gabriel/.bun/bin/bun" "/home/gabriel/Workspace/Projects/cukito/node_modules/next/dist/server/lib/start-server.js"
Features: jsc dotenv http_server transpiler_cache(7) tsconfig_paths tsconfig WebSocket
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: 3474ms | User: 3113ms | Sys: 1331ms
RSS: 3.10GB | Peak: 0.64GB | Commit: 3.10GB | Faults: 418