oven-sh / bun

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

Segmentation Fault during 'bun install' command in version 1.1.17 on Linux Kernel v6.8.0 #13508

Closed AbdulRehman-z closed 1 month ago

AbdulRehman-z commented 1 month ago

How can we reproduce the crash?

The crash happened while performing this workflow

bun create vite@latest bun_1 -- --template react
cd bun_1

bun install -D tailwindcss postcss autoprefixer
bunx tailwindcss init -p
code .

Relevant log output

bun install v1.1.17 (bb66bba1)
  🔍 argparse [153/190] ============================================================
Bun v1.1.17 (bb66bba1) Linux x64
Linux Kernel v6.8.0 | glibc v2.39
Args: "bun" "install"
Features: extracted_packages(4)
Elapsed: 975124ms | User: 193ms | Sys: 163ms
RSS: 0.63GB | Peak: 102.09MB | Commit: 0.63GB | Faults: 0

panic: Segmentation fault at address 0xB0
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 [InstallCommand]

Segmentation fault at address 0x000000B0

github-actions[bot] commented 1 month ago

@AbdulRehman-z, the latest version of Bun is v1.1.25, but this crash was reported on Bun v1.1.17.

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

bun upgrade
AbdulRehman-z commented 1 month ago

No errors after the upgrade to the latest version.