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.
How can we reproduce the crash?
In Powershell, create a new folder:
Change Directory:
Run
bun init
from there: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
Stack Trace (bun.report)
Bun v1.1.8 (
89d2580
) on windows x8664 []Segmentation fault at address 0xD4D2B1E010
0x648c0
in ctiuser.dll0x631f1
in ctiuser.dll0x7e2e3
in KERNELBASE.dll0x1d38c
in KERNEL32.DLLchild_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