oven-sh / bun

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

Invalid enum value #14844

Open Mixerou opened 3 hours ago

Mixerou commented 3 hours ago

How can we reproduce the crash?

Develop a simple Nuxt 3 application, and as in problem #14775, I have not done any specific actions leading to this panic.

Relevant log output

Bun v1.1.33 (247456b6) Windows x64
Windows v.win10_fe
CPU: sse42 avx avx2
Args: "node" "C:\Users\[REDACTED]\GitHub\[REDACTED]\[REDACTED]\node_modules\nuxi\bin\nuxi.mjs" "dev" "--host"
Features: Bun.stderr(3) Bun.stdin(10) Bun.stdout(4) bunfig fetch(774) http_server(5) jsc spawn(3) transpiler_cache(108) tsconfig(102) tsconfig_paths(51) workers_spawned(8) workers_terminated(3)  
Builtins: "bun:jsc" "bun:main" "detect-libc" "node:assert" "node:async_hooks" "node:buffer" "node:child_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" "node: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: 23356908ms | User: 309640ms | Sys: 240250ms
RSS: 2.76GB | Peak: 9.27GB | Commit: 18.82GB | Faults: 4341990   

panic(thread 20216): invalid enum value
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

error: script "dev" exited with code 3

Stack Trace (bun.report)

Bun v1.1.33 (247456b) on windows x86_64 [RunAsNodeCommand]

panic: invalid enum value

Features: workers_spawned, workers_terminated, Bun.stderr, Bun.stdin, Bun.stdout, bunfig, fetch, http_server, jsc, spawn, transpiler_cache, tsconfig, tsconfig_paths, tsconfig_paths

github-actions[bot] commented 2 hours ago

Thank you for reporting this crash.

For Bun's internal tracking, this issue is BUN-4SN.