oven-sh / bun

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

Segmentation fault at address 0xFFFFFFFFFFFFFFFF #12029

Open Arhimondus opened 3 months ago

Arhimondus commented 3 months ago

How can we reproduce the crash?

Using bun upgrade command (including in Administrative PowerShell console), Windows 10 x64.

Relevant log output

D:\Projects>bun upgrade
============================================================
Bun v1.1.11 (4fb6056f) Windows x64
Args: "bun" "upgrade"
Elapsed: 311ms | User: 31ms | Sys: 46ms
RSS: 55.28MB | Peak: 55.28MB | Commit: 115.20MB | Faults: 13706

panic(thread 35340): Segmentation fault at address 0xFFFFFFFFFFFFFFFF
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.11/wp14fb6056AACiB\VCRUNTIME140.dll26J08i2Kgv+3Zuuh4ZolvjYkwi/Vkoyj9C6mj/2C80o1e4zhyeA2DD

Stack Trace (bun.report)

Bun v1.1.11 (4fb6056) on windows x86_64 [UpgradeCommand]

Segmentation fault at address 0xFFFFFFFFFFFFFFFF

github-actions[bot] commented 3 months ago

@Arhimondus, the latest version of Bun is v1.1.15, but this crash was reported on Bun v1.1.11.

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

bun upgrade
sqal commented 1 month ago

Same issue when trying to upgrade bun from 1.1.11 (Windows 10 10.0.19045)

C:\Users\pc>bun upgrade
============================================================
Bun v1.1.11 (4fb6056f) Windows x64
Args: "bun" "upgrade"
Elapsed: 282ms | User: 46ms | Sys: 15ms
RSS: 55.84MB | Peak: 55.84MB | Commit: 116.02MB | Faults: 13849

panic(thread 10116): Segmentation fault at address 0xFFFFFFFFFFFFFFFF
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

Stack Trace

// Edit: I managed to upgrade using command bun upgrade --canary and then bun upgrade --stable