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 dies after a couple http timeouts #15765

Closed
NeonGamerBot-QK opened this issue Dec 14, 2024 · 2 comments
Closed

Bun dies after a couple http timeouts #15765

NeonGamerBot-QK opened this issue Dec 14, 2024 · 2 comments
Labels
crash An issue that could cause a crash linux An issue that occurs on Linux runtime

Comments

@NeonGamerBot-QK
Copy link

How can we reproduce the crash?

idrk if its the best to reproduce but here are the steps anyways.

  1. clone https://github.com/NeonGamerBot-QK/hackclub-ai-faq-bot
  2. populate .env correctly (you will need a slack app, openai token, and the URL to call.)
  3. run yarn start

it died after ~20 mins.

Relevant log output

#message0
TimeoutError: The operation timed out

TimeoutError: The operation timed out

TimeoutError: The operation timed out

#message0
#message0
#message0
#message0
#message0
============================================================
Bun v1.1.18 (5a0b9352) Linux x64
Linux Kernel v5.15.0 | glibc v2.35
Args: "bun" "run" "src/index.ts"
Features: jsc dotenv fetch(48) http_server transpiler_cache(2) tsconfig(8) 
Builtins: "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:crypto" "node:events" "node:fs" "node:http" "node:https" "node:net" "node:os" "node:path" "node:querystring" "node:stream" "node:string_decoder" "node:tty" "node:url" "node:util" "node:util/types" "node:zlib" "ws" 
Elapsed: 3062806ms | User: 1788ms | Sys: 410ms
RSS: 0.90GB | Peak: 110.61MB | Commit: 0.90GB | Faults: 6

panic(main thread): Segmentation fault at address 0x12

Stack Trace (bun.report)

Bun v1.1.18 (5a0b935) on linux x86_64 [RunCommand]

Segmentation fault at address 0x00000000

Sentry Issue: BUN-9SP

@NeonGamerBot-QK NeonGamerBot-QK added the crash An issue that could cause a crash label Dec 14, 2024
@github-actions github-actions bot added linux An issue that occurs on Linux runtime labels Dec 14, 2024
Copy link
Contributor

@NeonGamerBot-QK, the latest version of Bun is v1.1.38, but this crash was reported on Bun v1.1.18.

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

bun upgrade

@NeonGamerBot-QK
Copy link
Author

it was the bun version, sorry

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 runtime
Projects
None yet
Development

No branches or pull requests

1 participant