oven-sh / bun

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

Bun CSS bundler no work make big crash #14849

Closed gotpop closed 1 month ago

gotpop commented 1 month ago

How can we reproduce the crash?

Bun no work make big crash

Relevant log output

styles: bun build --experimental-css ./index.css
============================================================
Bun v1.1.33 (247456b6) macOS Silicon
macOS v14.6.1
Args: "bun" "build" "--experimental-css" "./index.css"
Features: tsconfig tsconfig_paths 
Elapsed: 37ms | User: 3ms | Sys: 19ms
RSS: 17.09MB | Peak: 17.09MB | Commit: 1.07GB | Faults: 330

panic: Segmentation fault at address 0xAAAAAAAAAAAAAAA2
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.33/Mb1247456bAhgggggC__uzw2F+ttiBmm/xJu7+pB+1ywJ__A2t1q1q1C91q1q1C

oh no: multiple threads are crashing
panic: TODO: we need to go deeper
 https://bun.report/1.1.33/Mb1247456bAhgggggCm//7Y291hXmz2/Zuo8+Ym8nmYml5xJu7+pB+1ywJ__A0eNoL8Xfxt1IoT1XIS01NUSjJV0jPV0hJTS1ILQIAbvcItw

[1]    87860 trace trap  bun build --experimental-css ./index.css

Stack Trace (bun.report)

Bun v1.1.33 (247456b) on macos aarch64 [BuildCommand]

Segmentation fault at address 0xAAAAAAAAAAAAAAA2

Features: tsconfig, tsconfig_paths, tsconfig_paths

github-actions[bot] commented 1 month ago

Thank you for reporting this crash.

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

nektro commented 1 month ago

are you able to provide us with a copy of index.css ?

noClaps commented 1 month ago

Seems very similar to my comment here: https://github.com/oven-sh/bun/issues/14537#issuecomment-2439087636

zackradisic commented 1 month ago

Various CSS parser crashes have been fixed by #14832

Feel free to reopen the issue if you still experience this crash!