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

Crash while running bun run dev for rsbuild svelte app #14078

Closed
Sovenok-Hacker opened this issue Sep 21, 2024 · 3 comments
Closed

Crash while running bun run dev for rsbuild svelte app #14078

Sovenok-Hacker opened this issue Sep 21, 2024 · 3 comments
Labels
crash An issue that could cause a crash

Comments

@Sovenok-Hacker
Copy link

How can we reproduce the crash?

  • Create a project with bun create rsbuild@latest, select JavaScript and Svelte

Relevant log output

09:38:31 owl@PC sichevnya-frontend → bun run dev
$ rsbuild dev --open

  Rsbuild v1.0.5

  > Local:    http://localhost:3000/
  > Network:  http://192.168.1.17:3000/

start   Compiling...
error   Failed to open start URL.
error   TypeError: Executable not found in $PATH: "/home/owl/sichevnya/sichevnya-frontend/node_modules/@rsbuild/core/compiled/open/xdg-open"
    at spawn (native)
    at spawn (node:child_process:764:8)
    at spawn (node:child_process:2:15)
    at <anonymous> (/home/owl/sichevnya/sichevnya-frontend/node_modules/@rsbuild/core/compiled/open/index.js:264:41)
    at processTicksAndRejections (:12:39)
============================================================
Bun v1.1.29 (6d43b366) Linux x64
Linux Kernel v6.10.10 | glibc v2.40
CPU: sse42 popcnt avx avx2
Args: "node" "/home/owl/sichevnya/sichevnya-frontend/node_modules/.bin/rsbuild" "dev" "--open"
Features: jsc Bun.stdin(2) http_server transpiler_cache(18) 
Builtins: "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:events" "node:fs" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:querystring" "node:stream" "node:string_decoder" "node:tls" "node:tty" "node:url" "node:util" "node:util/types" "node:vm" "node:zlib" "node:inspector" 
Elapsed: 449ms | User: 519ms | Sys: 121ms
RSS: 1.05GB | Peak: 0.40GB | Commit: 1.05GB | Faults: 0

panic(main thread): Segmentation fault at address 0x5
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.29/ln16d43b36AqgghQui299D+8oP__+rwg0Dy85vyE28ingF4u131D__A2AK

Stack Trace (bun.report)

Bun v1.1.29 (6d43b36) on linux x86_64 [RunAsNodeCommand]

Segmentation fault at address 0x00000005

Features: jsc, Bun.stdin, http_server, transpiler_cache

@Sovenok-Hacker Sovenok-Hacker added the crash An issue that could cause a crash label Sep 21, 2024
@Sovenok-Hacker
Copy link
Author

UPD: Looks like it calls spawn() for non-existent file, but I think it shouldn't crash Bun

@Jarred-Sumner
Copy link
Collaborator

Duplicate of #11628

@Jarred-Sumner Jarred-Sumner marked this as a duplicate of #11628 Sep 21, 2024
@Jarred-Sumner
Copy link
Collaborator

We are tracking this in #11628, please follow along there

@Jarred-Sumner Jarred-Sumner closed this as not planned Won't fix, can't repro, duplicate, stale Sep 21, 2024
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
Projects
None yet
Development

No branches or pull requests

2 participants