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 and Rspack Crashed #13242

Closed
lassejlv opened this issue Aug 12, 2024 · 2 comments
Closed

Bun and Rspack Crashed #13242

lassejlv opened this issue Aug 12, 2024 · 2 comments
Labels
crash An issue that could cause a crash macOS An issue that occurs on macOS

Comments

@lassejlv
Copy link

lassejlv commented Aug 12, 2024

How can we reproduce the crash?

By running bun create rsbuild@latest. You can find rspack at rspack.dev or rsbuild.dev. Then run bun --bun dev

Relevant log output

Bun Canary v1.1.23-canary.30 (44476683) macOS Silicon
macOS v14.5
Args: "node" "/Users/lasse/Documents/dev/techcollege-react-app/node_modules/.bin/rsbuild" "dev" "--open"
Features: jsc Bun.stdin(2) http_server spawn(3) tsconfig 
Builtins: "bun:jsc" "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:perf_hooks" "node:querystring" "node:stream" "node:string_decoder" "node:tls" "node:tty" "node:url" "node:util" "node:util/types" "node:vm" "node:zlib" "node:v8" "node:inspector" 
Elapsed: 625ms | User: 585ms | Sys: 103ms
RSS: 0.37GB | Peak: 0.37GB | Commit: 1.03GB | Faults: 1607

panic(main thread): Segmentation fault at address 0x5
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

Stack Trace (bun.report)

Bun v1.1.23 (4447668) on macos aarch64 [RunAsNodeCommand]

Segmentation fault at address 0x00000005

  • 4 unknown/js code
  • vmEntryToJavaScript
  • JSC::Interpreter::executeCall
  • JSC::runJSMicrotask
  • JSC::VM::drainMicrotasks
  • Bun::jsFunctionDrainMicrotaskQueue
@lassejlv lassejlv added the crash An issue that could cause a crash label Aug 12, 2024
@github-actions github-actions bot added the macOS An issue that occurs on macOS label Aug 12, 2024
@Jarred-Sumner
Copy link
Collaborator

Duplicate of #11628

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

Please follow along in #11628

Thanks for the repro though, makes it easier

@Jarred-Sumner Jarred-Sumner closed this as not planned Won't fix, can't repro, duplicate, stale Sep 1, 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 macOS An issue that occurs on macOS
Projects
None yet
Development

No branches or pull requests

2 participants