oven-sh / bun

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

bun upgrade Error #10545

Closed Bader-Idris closed 6 months ago

Bader-Idris commented 7 months ago

How can we reproduce the crash?

No response

Relevant log output

No response

Stack Trace (bun.report)

Bun v1.1.5 (#10527) on windows x86_64_baseline [UpgradeCommand]

Illegal instruction at address 0x7FF67B6B8831

Andres6936 commented 7 months ago

Same problem, this ouput of console:

PS C:\Users\Saturno> bun -v
1.1.3
PS C:\Users\Saturno> bun upgrade
Bun v1.1.5 is out! You're on v1.1.3

uh-oh: attempt to unwrap error
bun will crash now 😭😭😭

----- bun meta -----
Bun v1.1.3 (2615dc74) Windows x64
UpgradeCommand:
Elapsed: 2366ms | User: 0ms | Sys: 46ms
RSS: 76.68MB | Peak: 76.68MB | Commit: 131.68MB | Faults: 18918
----- bun meta -----

0   00007FF6B2CE3E18
1   ???
2   ???
3   ???
4   ???
5   ???
6   ???
7   ???
8   ???
9   ???

Search GitHub issues https://bun.sh/issues or join in #windows channel in https://bun.sh/discord

thread 8344 panic: attempt to unwrap error
???:?:?: 0x7ff6b1907ae1 in ??? (bun.exe)
???:?:?: 0x7ff6b1905589 in ??? (bun.exe)
???:?:?: 0x7ff6b1908136 in ??? (bun.exe)
???:?:?: 0x7ff6b1914e38 in ??? (bun.exe)
???:?:?: 0x7ff6b1641603 in ??? (bun.exe)
???:?:?: 0x7ff6b41e3eb3 in ??? (bun.exe)
???:?:?: 0x7fff616a53df in ??? (KERNEL32.DLL)
???:?:?: 0x7fff6282485a in ??? (ntdll.dll)
Bader-Idris commented 7 months ago

If it was limited to this command, we can simply do a workaround by running the PowerShell bun installation cmdlet.

However, there are some other critical errors with primary commands such as bun install both globally and locally. I wish that the developers of bunjs would do some real-world testing on older workstations and PCs; it would be helpful.

Abhinav1217 commented 6 months ago

Facing same issue

PS D:\Projects\tydei> bun upgrade
Bun v1.1.6 is out! You're on v1.1.3

uh-oh: attempt to unwrap error
bun will crash now 😭😭😭

----- bun meta -----
Bun v1.1.3 (2615dc74) Windows x64
UpgradeCommand:
Elapsed: 4853ms | User: 140ms | Sys: 62ms
RSS: 77.44MB | Peak: 77.44MB | Commit: 131.68MB | Faults: 19100
----- bun meta -----

0   00007FF6FC713E18
1   ???
2   ???
3   ???
4   ???
5   ???
6   ???
7   ???
8   ???
9   ???

Search GitHub issues https://bun.sh/issues or join in #windows channel in https://bun.sh/discord

thread 9312 panic: attempt to unwrap error
???:?:?: 0x7ff6fb337ae1 in ??? (bun.exe)
???:?:?: 0x7ff6fb335589 in ??? (bun.exe)
???:?:?: 0x7ff6fb338136 in ??? (bun.exe)
???:?:?: 0x7ff6fb344e38 in ??? (bun.exe)
???:?:?: 0x7ff6fb071603 in ??? (bun.exe)
???:?:?: 0x7ff6fdc13eb3 in ??? (bun.exe)
???:?:?: 0x7fffe8a47343 in ??? (KERNEL32.DLL)
???:?:?: 0x7fffe8be26b0 in ??? (ntdll.dll)
PS D:\Projects\tydei>