bun icon indicating copy to clipboard operation
bun copied to clipboard

[Bug] Reached unreachable code in console.log

Open JoseGalRe 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?

  1. Create a file with

     console.log('hello')
    
  2. then, execute

     bun file.js
    

What is the expected behavior?

hello

What do you see instead?

uh-oh: reached unreachable code bun will crash now 😭😭😭

----- bun meta ----- Bun v1.1.2 (c8d072c2) Windows x64 (baseline) AutoCommand: Builtins: "bun:main" Elapsed: 26ms | User: 15ms | Sys: 0ms RSS: 93.36MB | Peak: 93.36MB | Commit: 0.14GB | Faults: 22986 ----- bun meta -----

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

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

thread 20112 panic: reached unreachable code ???:?:?: 0x7ff78e9b02c6 in ??? (bun.exe) ???:?:?: 0x7ff78ec81690 in ??? (bun.exe) ???:?:?: 0x7ff78e9a33f8 in ??? (bun.exe) ???:?:?: 0x7ff78f1569cf in ??? (bun.exe) ???:?:?: 0x7ff78ee88456 in ??? (bun.exe) ???:?:?: 0x7ff78ee879d2 in ??? (bun.exe) ???:?:?: 0x7ff7910ecbb6 in ??? (bun.exe) ???:?:?: 0x7ff78fb33422 in ??? (bun.exe) ???:?:?: 0x7ff78fb31c2d in ??? (bun.exe) ???:?:?: 0x1aebc3a119d in ??? (???) ???:?:?: 0xfffe000000000001 in ??? (???) ???:?:?: 0x1aebc3a119d in ??? (???) ???:?:?: 0xa60ad6670f in ??? (???) ???:?:?: 0xa60ad6660f in ??? (???) ???:?:?: 0xa60ad6665f in ??? (???) ???:?:?: 0x7ff7914c35cd in ??? (bun.exe)

Additional information

image

JoseGalRe avatar Apr 08 '24 08:04 JoseGalRe

how sad

Jarred-Sumner avatar Apr 08 '24 09:04 Jarred-Sumner