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

Bun v1.1.20 Crash #16590

Open
bili-jing opened this issue Jan 22, 2025 · 2 comments
Open

Bun v1.1.20 Crash #16590

bili-jing opened this issue Jan 22, 2025 · 2 comments
Labels
crash An issue that could cause a crash linux An issue that occurs on Linux

Comments

@bili-jing
Copy link

How can we reproduce the crash?

Bun v1.1.20 (ae19489) Linux x64
Linux Kernel v5.15.0 | glibc v2.39
CPU: sse42 popcnt avx avx2
Args: "bun" "run" "start"
Features: spawn
Elapsed: 1212ms | User: 41ms | Sys: 124ms
RSS: 1.07GB | Peak: 15.11MB | Commit: 1.07GB | Faults: 0

Relevant log output

$ bun run src/index.ts
============================================================
Bun v1.1.20 (ae194892) Linux x64
Linux Kernel v5.15.0 | glibc v2.39
CPU: sse42 popcnt avx avx2
Args: "bun" "run" "src/index.ts"
Features: jsc tsconfig_paths tsconfig(4)
Builtins: "bun:main" "detect-libc" "node:assert" "node:buffer" "node:child_process" "node:crypto" "node:dns" "node:events" "node:fs" "node:module" "node:net" "node:os" "node:path" "node:stream" "node:string_decoder" "node:tls" "node:tty" "node:url" "node:util" "node:util/types" "node:worker_threads"
Elapsed: 706ms | User: 649ms | Sys: 252ms
RSS: 0.99GB | Peak: 102.44MB | Commit: 0.99GB | Faults: 0
panic(main thread): Segmentation fault at address 0x1A
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.20/lr1ae19489AiggggD2v7nnE+7iQ_+7o/8Dyg+45Eyt3xiF4x40mF4hjoiE_yg8m9DA2A0B
error: script "start" was terminated by signal SIGILL (Illegal instruction)
============================================================
Bun v1.1.20 (ae194892) Linux x64
Linux Kernel v5.15.0 | glibc v2.39
CPU: sse42 popcnt avx avx2
Args: "bun" "run" "start"
Features: spawn
Elapsed: 1212ms | User: 41ms | Sys: 124ms
RSS: 1.07GB | Peak: 15.11MB | Commit: 1.07GB | Faults: 0
panic(main thread): Segmentation fault at address 0x0
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:

Stack Trace (bun.report)

Bun v1.1.20 (ae19489) on linux x86_64 [RunCommand]

Segmentation fault at address 0x00000000

  • ??
  • 9 unknown/js code

Sentry Issue: BUN-22K

@bili-jing bili-jing added the crash An issue that could cause a crash label Jan 22, 2025
@github-actions github-actions bot added the linux An issue that occurs on Linux label Jan 22, 2025
Copy link
Contributor

@bili-jing, the latest version of Bun is v1.2.0, but this crash was reported on Bun v1.1.20.

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

bun upgrade

@bili-jing
Copy link
Author

I am using dokploy, which is built with nixpacks, but it uses bun v1.1.20 by default. So it seems that I can't update to the latest version of bun

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
Projects
None yet
Development

No branches or pull requests

1 participant