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 run dev, crashes after running killall bun #15329

Open
Tharusha-dev opened this issue Nov 22, 2024 · 2 comments
Open

bun run dev, crashes after running killall bun #15329

Tharusha-dev opened this issue Nov 22, 2024 · 2 comments
Labels
crash An issue that could cause a crash linux An issue that occurs on Linux runtime

Comments

@Tharusha-dev
Copy link

How can we reproduce the crash?

  1. run bun start in background with :
    nohup bun start > output_1732202307.log 2>&1 &

  2. run killall bun in bash

  3. run bun run dev

note : bun run build followed by bun start works.

Relevant log output

--- Bun is auto-restarting due to crash [time: 1732242915359] ---
============================================================
Bun v1.1.34 (5e5e7c60) Linux x64
Linux Kernel v6.9.3 | glibc v2.35
CPU: sse42 popcnt avx avx2 avx512
Args: "bun" "run" "--watch" "src/index.ts"
Features: jsc tsconfig 
Elapsed: 4ms | User: 3101ms | Sys: 5934ms
RSS: 1.07GB | Peak: 25.95MB | Commit: 1.07GB | Faults: 0

panic(main thread): Failed to enable File Watcher: ProcessFdQuotaExceeded
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

To send a redacted crash report to Bun's team,
please file a GitHub issue using the link below:

 https://bun.report/1.1.34/lr15e5e7c6AgggkggCw6tg9C+tr07Cqmj28C0767/D63647Cy8h57Cwpxg2C234/1CA0eNpzS8zMSU1RKMlXSM1LTMpJVXDLzElVCE8sSc5ILbJSCCjKT04tLnZLCSzNL0l0rUhOTU1JTQEA/ggTYg

--- Bun is auto-restarting due to crash [time: 1732242915365] ---

Stack Trace (bun.report)

Bun v1.1.34 (5e5e7c6) on linux x86_64 [RunCommand]

panic: Failed to enable File Watcher: ProcessFdQuotaExceeded

Features: jsc, tsconfig

@Tharusha-dev Tharusha-dev added the crash An issue that could cause a crash label Nov 22, 2024
@github-actions github-actions bot added linux An issue that occurs on Linux runtime labels Nov 22, 2024
Copy link
Contributor

@Tharusha-dev, thank you for reporting this crash. The latest version of Bun is v1.1.36, but this crash was reported on Bun v1.1.34.

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

bun upgrade

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

@Tharusha-dev
Copy link
Author

upgraded, the issue is still the same.

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