Closed wundersolutions-juanjo closed 1 month ago
@wundersolutions-juanjo, the latest version of Bun is v1.1.16, but this crash was reported on Bun v1.1.13.
Are you able to reproduce this crash on the latest version of Bun?
bun upgrade
Yup, still reproducible;
Bun v1.1.17 (bb66bba
) on windows x86_64 [InstallCommand]
panic: Internal assertion failure
debug.zig:443
: panicExtra
bun.zig:3252
: assertionFailure
lockfile.zig:1438
: shouldPrintPackageInstall
lockfile.zig:1359
: printInstalledWorkspaceSection
lockfile.zig:1644
: print
install.zig:13784
: installWithManager
filter_run.zig:431
: install
cli.zig:1492
: start
cli.zig:62
: start
main.zig:51
: main
I should also mention that after that crash, running the command again works fine, and that i'm pretty sure it's also reproducible on mac M1
Fixed in bun v1.1.31 with #14461
How can we reproduce the crash?
Tested with the following package.json, no other files on folder, running on a Powershell windows terminal
npm i
Remove-Item -r .\node_modules\
bun i
Using NPM 10.2.4
Relevant log output
Bun v1.1.13 (bd6a6051) Windows x64 Args: "C:\Users\Juanjo.bun\bin\bun.exe" "i" Elapsed: 2033ms | User: 15ms | Sys: 93ms RSS: 97.37MB | Peak: 97.64MB | Commit: 0.15GB | Faults: 25605
Stack Trace (bun.report)
Bun v1.1.13 (
bd6a605
) on windows x86_64 [InstallCommand]panic: Internal assertion failure
debug.zig:373
:panicExtra
debug.zig:348
:panic
output.zig:356
:panic
bun.zig:3254
:assertionFailure
lockfile.zig:1405
:shouldPrintPackageInstall
lockfile.zig:1326
:printInstalledWorkspaceSection
lockfile.zig:1611
:print
filter_run.zig:431
:install
cli.zig:1465
:start
cli.zig:62
:start