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

Out of nowhere crash after doing nothing for a while #18116

Open
W2Wizard opened this issue Mar 12, 2025 · 0 comments
Open

Out of nowhere crash after doing nothing for a while #18116

W2Wizard opened this issue Mar 12, 2025 · 0 comments
Labels
crash An issue that could cause a crash macOS An issue that occurs on macOS

Comments

@W2Wizard
Copy link

W2Wizard commented Mar 12, 2025

How can we reproduce the crash?

I ran: bun --bun run dev in my Sveltekit + Vite app and left it running for a while. I just shut my laptop and came back to seeing this crash log the next day.

Relevant log output

Bun v1.2.5 (013fdddc) macOS Silicon
macOS v15.2
Args: "node" "/Users/wizard/Developer/NXTApp/frontend/node_modules/.bin/vite" "dev"
Features: Bun.stderr(2) Bun.stdin(2) Bun.stdout(2) abort_signal(16) dotenv fetch(13) http_server jsc spawn transpiler_cache(44) tsconfig(7) tsconfig_paths(3) process_dlopen(4)
Builtins: "bun:jsc" "bun:main" "detect-libc" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:crypto" "node:dns" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:perf_hooks" "node:process" "node:querystring" "node:readline" "node:stream" "node:string_decoder" "node:tls" "node:tty" "node:url" "node:util" "node:util/types" "node:vm" "node:zlib" "node:worker_threads" "ws" "node:v8"
Elapsed: 6578069ms | User: 166398ms | Sys: 56174ms
RSS: 0.60GB | Peak: 1.23GB | Commit: 0.15GB | Faults: 4904

panic: Segmentation fault at address 0x40
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.2.5/Mn1013fddduIuxk0gQ_uhh7e2uypM2r1pM2np1Jmg5pSulj0O__A2AgE

error: script "dev" was terminated by signal SIGTRAP (Trace or breakpoint trap)

Stack Trace (bun.report)

Bun v1.2.5 (013fddd) on macos aarch64 [RunAsNodeCommand]

Segmentation fault at address 0x00000040

  • 1 unknown/js code
  • us_internal_ssl_socket_context_connect
  • deps.uws.NewSocketHandler
  • http.NewHTTPContext
  • http.start___anon_439358
  • http.HTTPThread.processEvents
  • Thread.PosixThreadImpl.spawn__anon_738534.Instance.entryFn

Features: transpiler_cache, tsconfig, tsconfig_paths, process_dlopen, Bun.stderr, Bun.stdin, Bun.stdout, abort_signal, dotenv, fetch, http_server, jsc, spawn

Sentry Issue: BUN-E2J

@W2Wizard W2Wizard added the crash An issue that could cause a crash label Mar 12, 2025
@github-actions github-actions bot added the macOS An issue that occurs on macOS label Mar 12, 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 macOS An issue that occurs on macOS
Projects
None yet
Development

No branches or pull requests

1 participant