You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checkout the repo: https://github.com/Valle12/bun-issue2
There is an indexSuccess.ts, which works correctly with "bun indexSuccess.ts" and then there is also indexFail.ts, which will fail bun with "bun indexFail.ts". The only difference is the order of the entrypoints.
How can we reproduce the crash?
Checkout the repo: https://github.com/Valle12/bun-issue2
There is an indexSuccess.ts, which works correctly with "bun indexSuccess.ts" and then there is also indexFail.ts, which will fail bun with "bun indexFail.ts". The only difference is the order of the entrypoints.
Relevant log output
Stack Trace (bun.report)
bun indexFail.ts
Bun v1.2.2 (c1708ea) Windows x64
Windows v.win10_fe
CPU: sse42 avx avx2
Args: "C:\Users\Valentin\AppData\Local\Microsoft\WinGet\Packages\Oven-sh.Bun_Microsoft.Winget.Source_8wekyb3d8bbwe.\bun-windows-x64\bun.exe" "indexFail.ts"
Features: jsc tsconfig
Builtins: "bun:main"
Elapsed: 41ms | User: 0ms | Sys: 0ms
RSS: 0.16GB | Peak: 0.16GB | Commit: 0.24GB | Faults: 38644
panic(thread 12312): index out of bounds: index 1, len 1
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
The text was updated successfully, but these errors were encountered: