bun init is crashing on Windows 10
ak-jdesrosiers opened this issue · comments
Julien Desrosiers commented
How can we reproduce the crash?
In Powershell, create a new folder:
PS C:\Users\jdesrosiers\Documents> mkdir me
Change Directory:
PS C:\Users\jdesrosiers\Documents> cd .\me\
Run bun init
from there:
PS C:\Users\jdesrosiers\Documents\me> bun init
It produces the same issue in a git bash session on Windows.
(BTW: Thanks a lot for Bun!)
JavaScript/TypeScript code that reproduces the crash?
No response
Relevant log output
bun init helps you get started with a minimal project and tries to guess sensible defaults. Press ^C anytime to quit
package name (me):
entry point (index.ts):
Done! A package.json file was saved in the current directory.
+ index.ts
+ .gitignore
+ tsconfig.json (for editor auto-complete)
+ README.md
To get started, run:
bun run index.ts
============================================================
Bun v1.1.8 (89d25807) Windows x64
Args: "C:\Users\jdesrosiers\.bun\bin\bun.exe", "init"
Elapsed: 1998ms | User: 0ms | Sys: 62ms
RSS: 22.32MB | Peak: 22.87MB | Commit: 63.64MB | Faults: 6997
panic(main thread): Segmentation fault at address 0x320FD8F010
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
Stack Trace (bun.report)
Bun v1.1.8 (89d2580
) on windows x86_64 [_]
Segmentation fault at address 0xD4D2B1E010
- ??? at
0x648c0
in ctiuser.dll - ??? at
0x631f1
in ctiuser.dll - ??? at
0x7e2e3
in KERNELBASE.dll - ??? at
0x1d38c
in KERNEL32.DLL child_process.zig:387
:waitUnwrappedWindows
child_process.zig:368
:waitWindows
child_process.zig:206
:spawnAndWait
cli.zig:1425
:start
cli.zig:62
:start
main.zig:51
:main