Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opening a lot of files segfaults on windows #15347

Closed
not-nullptr opened this issue Nov 22, 2024 · 1 comment
Closed

opening a lot of files segfaults on windows #15347

not-nullptr opened this issue Nov 22, 2024 · 1 comment
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

Comments

@not-nullptr
Copy link

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

Features: workers_spawned, workers_terminated, jsc, tsconfig

Sentry Issue: BUN-41E

@not-nullptr not-nullptr added the crash An issue that could cause a crash label Nov 22, 2024
@github-actions github-actions bot added the windows An issue that is known to occur on Windows label Nov 22, 2024
@RiskyMH RiskyMH added confirmed bug We can reproduce this issue Worker uses the web or node worker api labels Nov 24, 2024
@Jarred-Sumner
Copy link
Collaborator

Thank you for the reproduction

We are tracking worker stability in #15964

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants