oven-sh / bun

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

dev server crashes after first refresh of the page - SIGSEGV (Address boundary error) #9032

Open kuatroka opened 8 months ago

kuatroka commented 8 months ago

What version of Bun is running?

1.28

What platform is your computer?

Darwin 23.3.0 arm64 arm

What steps can reproduce the bug?

run attached repo. This bug was detected and closed in #1916

I'm still getting it on 1.26 and after the upgrade to 1.28

error: script "dev" was terminated by signal SIGSEGV (Address boundary error)
fish: Job 1, 'bun --bun run dev' terminated by signal SIGSEGV (Address boundary error)

It happens after refreshing the dev page when running bun --bun run dev with bun run dev - no crashes. I guess it means on node.js all is good.

the code is (here)[https://github.com/kuatroka/charting-playground] - it's a Sveltekit app testing data loading libraries (arquero, polars, duckdb) Thanks bun_crash

What is the expected behavior?

no crashes

What do you see instead?

bun server crashed after the first page refresh. The initial server start is ok

Additional information

No response

Electroid commented 8 months ago

Possibly related to #9031