oven-sh / bun

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

Nuxt floating point error #11680

Open raggesilver opened 4 months ago

raggesilver commented 4 months ago

How can we reproduce the crash?

Bun crashed while running the Nuxt dev server (bun --bun nuxt dev).

Repo.

Note: I'm running Bun canary due to #11303.

Relevant log output

Bun Canary v1.1.13-canary.1 (af95bfc7) macOS x64
Args: "node" "/Users/paulo/Projects/tasks_app/node_modules/.bin/nuxt" "dev"
Features: jsc Bun.stdin(36) Bun.stdout(17) dotenv(18) fetch(185) http_server(17) https_server spawn(3)
 transpiler_cache(148) tsconfig_paths(14) tsconfig(39) 
Builtins: "bun:jsc" "bun:main" "detect-libc" "node:assert" "node:async_hooks" "node:buffer" "node:chil
d_process" "node:constants" "node:crypto" "node:dns" "node:events" "node:fs" "node:fs/promises" "node:
http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:perf_hooks" "node:process" "no
de:querystring" "node:readline" "node:stream" "node:stream/promises" "node:string_decoder" "node:tls" 
"node:tty" "node:url" "node:util" "node:util/types" "node:vm" "node:zlib" "node:worker_threads" "ws" "
node:v8" 
Elapsed: 1036511ms | User: 44602ms | Sys: 10037ms
RSS: 0.99GB | Peak: 1.06GB | Commit: 0.02ZB | Faults: 85

panic: Floating point error at address 0x1044D7AF5
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

error: Failed to run "nuxt" due to signal SIGILL
error: script "dev" was terminated by signal SIGILL (Illegal instruction)
[1]    31418 illegal hardware instruction  NODE_TLS_REJECT_UNAUTHORIZED=0 bun dev

Stack Trace (bun.report)

Bun v1.1.13-canary (af95bfc) on macos x86_64 [RunAsNodeCommand]

Floating point exception at address 0x1044D7AF5

Features: jsc, Bun.stdin, Bun.stdout, dotenv, fetch, http_server, https_server, spawn, transpiler_cache, tsconfig_paths, tsconfig

raggesilver commented 4 months ago

May be related to #11035