oven-sh / bun

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

Crash when running on another hard drive #10944

Open dinhchien-zps opened 5 months ago

dinhchien-zps commented 5 months ago

How can we reproduce the crash?

I'm using Windows. I installed Bun on hard drive C. It crashes when I try to run a JS file on hard drive D.

JavaScript/TypeScript code that reproduces the crash?

console.time();
for (let i = 0; i < 1_000_000; i++) {}
console.timeEnd();

Relevant log output

============================================================
Bun v1.1.7 (b0b7db5c) Windows x64
Args: "C:\Users\Fresher\.bun\bin\bun.exe", "index.js"
Features: jsc
Builtins: "bun:main"
Elapsed: 26ms | User: 15ms | Sys: 15ms
RSS: 92.43MB | Peak: 92.43MB | Commit: 0.14GB | Faults: 22775

panic(main thread): Internal assertion failure
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.7/wa1b0b7db5ACgin5L+7yuIwkz1F+oiC0k9Q+01qGkxgOm+/lPmi6sK+l1sKA0eNrzzCtJLcpLzFFILC5OLSrJzM9TSEvMzCktSgUAiSkKPg

Stack Trace (bun.report)

Bun v1.1.7 (b0b7db5) on windows x86_64 [AutoCommand]

panic: Internal assertion failure

Features: jsc

Jarred-Sumner commented 5 months ago

whats the absolute file path of the JS file?

dinhchien-zps commented 5 months ago

It's located directly on D:\ . I just put it in a folder, and it runs normally. Not a big problem.