opening a lot of files segfaults on windows #15347
Labels
confirmed bug
We can reproduce this issue
crash
An issue that could cause a crash
windows
An issue that is known to occur on Windows
Worker
uses the web or node worker api
How can we reproduce the crash?
https://github.com/not-nullptr/bun-fs-crash
the script opens n workers, where n is the amount of cpu cores you have, and then attempts to read
sample.txt
1,000,000 times distributed across those workers. this works under wsl, but crashes on windows.Relevant log output
Stack Trace (bun.report)
Bun v1.1.36 (
ededc16
) on windows x86_64 [AutoCommand]Segmentation fault at address 0x26209434370
0x2faad
in ntdll.dllthreadpool.c:125
:worker
thread.c:110
:uv__thread_start
thread.cpp:97
:thread_start<unsigned int (...)(...),1>
Features: workers_spawned, workers_terminated, jsc, tsconfig
Sentry Issue: BUN-41E
The text was updated successfully, but these errors were encountered: