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

postinstall script from "@prisma/engines" terminated by SIGILL (Illegal instruction) #10457

Open MagicFun1241 opened 5 months ago

MagicFun1241 commented 5 months ago

How can we reproduce the crash?

Run bun install on project with Next and Prisma in Linux environment

Host kernel: 5.15.0-105-generic Docker: 26.1.0

Relevant log output

0.757 bun install v1.1.5 (ab79940e)
306.1 ============================================================
306.1 Bun v1.1.5 (ab79940e) Linux x64 (baseline)
306.1 Args: "node", "scripts/postinstall.js"
306.1 Builtins: "bun:main" "node:assert" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:net" "node:os" "node:path" "node:stream" "node:string_decoder" "node:tls" "node:tty" "node:url" "node:util" "node:util/types" "node:zlib" "node:worker_threads" 
306.1 Elapsed: 162416ms | User: 47363ms | Sys: 29743ms
306.1 RSS: 13.74GB | Peak: 7.59GB | Commit: 13.74GB | Faults: 57
306.1 
306.1 panic: Segmentation fault at address 0x36C74000000
306.1 oh no: Bun has crashed. This indicates a bug in Bun, not your code.
306.1 
306.1 To send a redacted crash report to Bun's team,
306.1 please file a GitHub issue using the link below:
306.1 
306.1  https://bun.report//1.1.5/Bn1ab79940AA8kyugEA242Bggggg0D
306.1 
306.1 
306.1 error: postinstall script from "@prisma/engines" terminated by SIGILL (Illegal instruction)
315.3 Illegal instruction (core dumped)

Stack Trace (bun.report)

Bun v1.1.5 (#10417) on linux x86_64_baseline [RunAsNodeCommand]

Segmentation fault at address 0x36C74000000

Features:

roobr commented 3 months ago

I am also having the same issue