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

panic(main thread): Illegal instruction at address 0x2B0B5A0 #13052

Closed
tnafele opened this issue Aug 3, 2024 · 2 comments
Closed

panic(main thread): Illegal instruction at address 0x2B0B5A0 #13052

tnafele opened this issue Aug 3, 2024 · 2 comments
Labels
crash An issue that could cause a crash linux An issue that occurs on Linux

Comments

@tnafele
Copy link

tnafele commented Aug 3, 2024

How can we reproduce the crash?

Bun v1.1.21 (70ca2b7) Linux x64 (baseline)
Linux Kernel v5.10.0 | glibc v2.31
Args: "bun" "add" "puppeteer"
Features: no_avx no_avx2
Elapsed: 39ms | User: 38ms | Sys: 68ms
RSS: 1.07GB | Peak: 15.82MB | Commit: 1.07GB | Faults: 0

This is on Debian 11.10.

$ bun init
$ bun run ./index.ts
Hello via Bun!
$ bun add puppeteer

Relevant log output

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

Stack Trace (bun.report)

Bun v1.1.21 (70ca2b7) on linux x86_64_baseline [AddCommand]

Illegal instruction at address 0x02B0B5A0

@tnafele tnafele added the crash An issue that could cause a crash label Aug 3, 2024
@github-actions github-actions bot added the linux An issue that occurs on Linux label Aug 3, 2024
@Jarred-Sumner
Copy link
Collaborator

Bun requires CPUs with AVX support.

If you’re using a cpu emulator, this issue may help #3312

@Jarred-Sumner Jarred-Sumner closed this as not planned Won't fix, can't repro, duplicate, stale Aug 3, 2024
@tnafele
Copy link
Author

tnafele commented Aug 10, 2024

Thanks for your reply. Unfortunately the baseline version without AVX crashes, too:

Bun Canary v1.1.22-canary.96 (df33f2b2) Linux x64 (baseline)
Linux Kernel v5.10.0 | glibc v2.31
Args: "/home/hplus/bun" "run" "test.js"
Features: jsc transpiler_cache(6) tsconfig no_avx no_avx2 
Builtins: "bun:main" "node:assert" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:dns" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:net" "node:os" "node:path" "node:readline" "node:stream" "node:string_decoder" "node:tls" "node:tty" "node:url" "node:util" "node:util/types" "node:zlib" "ws" 
Elapsed: 905ms | User: 702ms | Sys: 355ms
RSS: 1.07GB | Peak: 101.18MB | Commit: 1.07GB | Faults: 0

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

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

2 participants