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

Segfault when downloading multi-gigabyte files in Worker #16946

Open
recanman opened this issue Jan 31, 2025 · 2 comments
Open

Segfault when downloading multi-gigabyte files in Worker #16946

recanman opened this issue Jan 31, 2025 · 2 comments
Labels
crash An issue that could cause a crash linux An issue that occurs on Linux Worker uses the web or node worker api

Comments

@recanman
Copy link

How can we reproduce the crash?

Two workers were running that were downloading 3GiB+ files from a URL (using fetch). At some point, a segfault occurred.

Relevant log output

Stack Trace (bun.report)

Bun v1.2.0 (b0c5a76) on linux x86_64 [RunCommand]

Segmentation fault at address 0x00000058

Features: tsconfig_paths, workers_spawned, workers_terminated, process_dlopen, Bun.stderr, Bun.stdout, WebSocket, abort_signal, fetch, http_server, jsc, shell, spawn, transpiler_cache, tsconfig, tsconfig

@recanman recanman added the crash An issue that could cause a crash label Jan 31, 2025
Copy link
Contributor

@recanman, thank you for reporting this crash. The latest version of Bun is v1.2.1, but this crash was reported on Bun v1.2.0.

Are you able to reproduce this crash on the latest version of Bun?

bun upgrade

For Bun's internal tracking, this issue is BUN-C8V.

@github-actions github-actions bot added the linux An issue that occurs on Linux label Jan 31, 2025
@recanman recanman changed the title Segfault when downloading multi-gigabyte files Segfault when downloading multi-gigabyte files in Worker Jan 31, 2025
@recanman
Copy link
Author

Just tested on v.12.1. Same crash.

@RiskyMH RiskyMH added the Worker uses the web or node worker api label Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash An issue that could cause a crash linux An issue that occurs on Linux Worker uses the web or node worker api
Projects
None yet
Development

No branches or pull requests

2 participants