Skip to content

Segfault in Vite dev server #20203

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

Open
mattdw opened this issue Jun 5, 2025 · 2 comments
Open

Segfault in Vite dev server #20203

mattdw opened this issue Jun 5, 2025 · 2 comments
Labels
crash An issue that could cause a crash node.js Compatibility with Node.js APIs runtime windows An issue that is known to occur on Windows

Comments

@mattdw
Copy link

mattdw commented Jun 5, 2025

How can we reproduce the crash?

This happened during a hot reload in the Svelte/Vite dev server run via bun run dev, directly after a jujutsu/jj operation which I imagine looked like a git rebase or amend.

Relevant log output

============================================================
Bun v1.2.13 (64ed68c9) Windows x64
Windows v.win11_dt
CPU: sse42 avx avx2
Args: "C:\ProgramData\chocolatey\lib\bun\tools\bun-windows-x64\bun.exe" "E:\code\cheat-codes\node_modules\vite\bin\vite.js" "dev"
Features: Bun.stderr(2) Bun.stdin(2) Bun.stdout(2) http_server(13) jsc spawn(2) transpiler_cache(9) tsconfig(2) tsconfig_paths process_dlopen 
Builtins: "bun:main" "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:tls" "node:tty" "node:url" "node:util" "node:zlib" "node:worker_threads" "ws" "node:v8" 
Elapsed: 7573479ms | User: 22718ms | Sys: 14718ms
RSS: 0.47GB | Peak: 0.55GB | Commit: 4.96GB | Faults: 1099589

Stack Trace (bun.report)

Bun v1.2.13 (64ed68c) on windows x86_64 [RunAsNodeCommand]

Segmentation fault at address 0xFFFFFFFFFFFFFFFF

Features: transpiler_cache, process_dlopen, Bun.stderr, Bun.stdin, Bun.stdout, dotenv, http_server, jsc, spawn

Sentry Issue: BUN-CBK

@mattdw mattdw added the crash An issue that could cause a crash label Jun 5, 2025
Copy link
Contributor

github-actions bot commented Jun 5, 2025

@mattdw, the latest version of Bun is v1.2.15, but this crash was reported on Bun v1.2.13.

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

bun upgrade

@github-actions github-actions bot added runtime windows An issue that is known to occur on Windows labels Jun 5, 2025
@mattdw
Copy link
Author

mattdw commented Jun 5, 2025

It's the first time I've seen it, will upgrade and report back if it occurs again.

@RiskyMH RiskyMH added the node.js Compatibility with Node.js APIs label Jun 5, 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 node.js Compatibility with Node.js APIs runtime windows An issue that is known to occur on Windows
Projects
None yet
Development

No branches or pull requests

2 participants