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

Bun crashed #15423

Open
Ikaleio opened this issue Nov 26, 2024 · 3 comments
Open

Bun crashed #15423

Ikaleio opened this issue Nov 26, 2024 · 3 comments
Labels
crash An issue that could cause a crash linux An issue that occurs on Linux needs repro Needs an example to reproduce

Comments

@Ikaleio
Copy link

Ikaleio commented Nov 26, 2024

How can we reproduce the crash?

No response

Relevant log output

Stack Trace (bun.report)

Bun v1.1.36 (ededc16) on linux x86_64 [RunCommand]

Segmentation fault at address 0x00000000

  • ld-temp.o:0: WTF::jscSignalHandler
  • ??
  • 1 unknown/js code

Features: process_dlopen, WebSocket, fetch, jsc, transpiler_cache, tsconfig

@Ikaleio Ikaleio added the crash An issue that could cause a crash label Nov 26, 2024
@github-actions github-actions bot added the linux An issue that occurs on Linux label Nov 26, 2024
Copy link
Contributor

@Ikaleio, thank you for reporting this crash. The latest version of Bun is v1.1.37, but this crash was reported on Bun v1.1.36.

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

bun upgrade

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

@190n 190n added the needs repro Needs an example to reproduce label Nov 26, 2024
Copy link
Contributor

Hello @Ikaleio. Please provide a minimal reproduction using a GitHub repository, Replit, CodeSandbox, or provide a bulleted list of commands to run that reproduce this issue. Issues marked with needs repro will be closed if they have no activity within 3 days.

@Ikaleio
Copy link
Author

Ikaleio commented Nov 27, 2024

Sorry, but the problematic code has not been open-sourced yet. However, this issue seems to occur when the Bun WebSocket client sends packets at a rate too high, causing significant blockage on the server and preventing it from fully processing them.

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 needs repro Needs an example to reproduce
Projects
None yet
Development

No branches or pull requests

2 participants