Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault with Bun 1.1.45 | Linux x64 #16522

Open
carlomorelli opened this issue Jan 19, 2025 · 1 comment
Open

Segfault with Bun 1.1.45 | Linux x64 #16522

carlomorelli opened this issue Jan 19, 2025 · 1 comment
Labels
crash An issue that could cause a crash linux An issue that occurs on Linux runtime

Comments

@carlomorelli
Copy link

How can we reproduce the crash?

Attempting to bootstrap installation of an RsPress project (see https://rspress.dev/guide/start/getting-started):

$ bun create rspress@latest
....

$ bun install
....

$ bun run dev

Here following output is shown at terminal

$ rspress dev
🔥 Rspress v1.40.0

  ➜ Network:  http://localhost:3000/
  ➜ Network:  http://192.168.1.210:3000/
  ➜ press h + enter to show shortcuts

start   Building...
============================================================
Bun v1.1.45 (196621f2) Linux x64
Linux Kernel v6.12.9 | glibc v2.40
CPU: sse42 popcnt avx avx2
Args: "node" "/home/carlo/workspace/cauldron-lake/node_modules/.bin/rspress" "dev"
Features: Bun.stdin(2) http_server jsc tsconfig(3) process_dlopen(2) 
Builtins: "bun:jsc" "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:constants" "node:crypto" "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:string_decoder" "node:tls" "node:tty" "node:url" "node:util" "node:util/types" "node:vm" "node:zlib" "node:v8" "node:inspector" 
Elapsed: 2271ms | User: 4563ms | Sys: 497ms
RSS: 1.00GB | Peak: 0.40GB | Commit: 1.00GB | Faults: 0

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

To send a redacted crash report to Bun's team,
please file a GitHub issue using the link below:

 https://bun.report/1.1.45/ln1196621fgC9//6//Do4+noE+8oP_msin9Duugz8Ew933qF4hiy/D__msin9DA2AK

error: script "dev" was terminated by signal SIGILL (Illegal instruction)
zsh: illegal hardware instruction (core dumped)  bun run dev

Relevant log output

Stack Trace (bun.report)

Bun v1.1.45 (196621f) on linux x86_64 [RunAsNodeCommand]

Segmentation fault at address 0x00000005

  • ??? at 0x441fd84
  • ??? at 0x3d1cf
  • 1 unknown/js code
  • ??? at 0x3e9c4c3
  • ??? at 0x4e4c0e7
  • ??? at 0x555efd8
  • ??? at 0x3fc841c
  • 2 unknown/js code
  • ??? at 0x3e9c4c3

Features: process_dlopen, Bun.stdin, http_server, jsc, tsconfig, tsconfig

@carlomorelli carlomorelli added the crash An issue that could cause a crash label Jan 19, 2025
@github-actions github-actions bot added linux An issue that occurs on Linux runtime labels Jan 19, 2025
Copy link
Contributor

Thank you for reporting this crash.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash An issue that could cause a crash linux An issue that occurs on Linux runtime
Projects
None yet
Development

No branches or pull requests

1 participant