oven-sh / bun

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

Bun crashed when start Nitro server on ubuntu 24.04 LTS (nuxt) #12398

Open jukbot opened 2 months ago

jukbot commented 2 months ago

How can we reproduce the crash?

Bun has crashed when start Nuxt server on ubuntu 24.04 LTS (x64)

Step to reproduce

  1. Initial nuxt project
  2. export NITRO_PRESET=bun or set in .env file
  3. Run bun install and bun run build
  4. bun run .output/server/index.mjs

Bun version: v1.1.17 NodeJS: v20.15.0 Ubuntu: 24.04

I've tried on v1.1.17 and v1.1.18 still got the same output, but on my MacOS it works as usual.

Relevant log output

Bun v1.1.17 (bb66bba1) Linux x64 (baseline)
Linux Kernel v6.8.0 | glibc v2.39
Args: "bun" "run" ".output/server/index.mjs" "--port" "80"
Features: jsc dotenv transpiler_cache tsconfig_paths tsconfig(2)
Builtins: "bun:main" "node:async_hooks" "node:fs" "node:path" "node:process" "node:string_decoder" "node:url"
Elapsed: 43ms | User: 33ms | Sys: 14ms
RSS: 1.07GB | Peak: 49.51MB | Commit: 1.07GB | Faults: 0

panic(main thread): Illegal instruction at address 0x7F3D996681E1
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

Stack Trace (bun.report)

Bun v1.1.17 (bb66bba) on linux x86_64_baseline [RunCommand]

Illegal instruction at address 0x7F3D996681E1

u007 commented 2 days ago

im encountering high cpu after my elysiajs and openapi node instance started , and the port just hang