bun icon indicating copy to clipboard operation
bun copied to clipboard

access of inactive union field on windows

Open benjamint08 opened this issue 10 months ago • 1 comments

What version of Bun is running?

1.1.2+c8d072c2a

What platform is your computer?

Microsoft Windows NT 10.0.22631.0 x64

What steps can reproduce the bug?

Running build.ts in my repo probun - this works fine on Linux. The error occurs when it calls:

await $`bun x tsc`;

What is the expected behavior?

It will build my TS into JS in the lib/ folder.

What do you see instead?

uh-oh: access of inactive union field bun will crash now 😭😭😭

----- bun meta ----- Bun v1.1.2 (c8d072c2) Windows x64 RunCommand: tsconfig external shell Bun.stdout Bun.stderr Builtins: "bun:main" "node:fs" "node:string_decoder" "node:util" "node:util/types" Elapsed: 41ms | User: 0ms | Sys: 31ms RSS: 123.38MB | Peak: 123.38MB | Commit: 0.18GB | Faults: 30340 ----- bun meta -----

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

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

thread 18640 panic: access of inactive union field ???:?:?: 0x7ff790142dc4 in ??? (bun.exe) ???:?:?: 0x7ff7903474d8 in ??? (bun.exe) ???:?:?: 0x7ff78fe51a7e in ??? (bun.exe) ???:?:?: 0x7ff78fee02f4 in ??? (bun.exe) ???:?:?: 0x7ff78fee0e70 in ??? (bun.exe) ???:?:?: 0x7ff78fee3f0d in ??? (bun.exe) ???:?:?: 0x7ff7907571c7 in ??? (bun.exe) ???:?:?: 0x7ffe995a257c in ??? (KERNEL32.DLL) ???:?:?: 0x7ffe9b0eaa57 in ??? (ntdll.dll)

Additional information

Nope

benjamint08 avatar Apr 06 '24 19:04 benjamint08

I get the same error. (also on windows) When it out of the blue just crashing.

lassejlv avatar Apr 06 '24 19:04 lassejlv

I got same issue, in v1.1.3 (2615dc74) Windows x64

harphobia avatar Apr 10 '24 12:04 harphobia