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

panic when running rspack + vue-loader #15147

Closed
taras-turchenko-moc opened this issue Nov 14, 2024 · 3 comments
Closed

panic when running rspack + vue-loader #15147

taras-turchenko-moc opened this issue Nov 14, 2024 · 3 comments
Labels
crash An issue that could cause a crash linux An issue that occurs on Linux runtime

Comments

@taras-turchenko-moc
Copy link

How can we reproduce the crash?

  1. clone repo https://github.com/taras-turchenko-moc/rspack-bun
  2. Run build
docker build -t rspack-bun . && docker run --name rspack-bun rspack-bun; docker rm rspack-bun

Relevant log output

$ cross-env NODE_ENV=production rspack build
============================================================
Bun v1.1.34 (5e5e7c60) Linux arm64
Linux Kernel v6.11.6 | glibc v2.31
Args: "node" "/myapp/node_modules/.bin/rspack" "build"
Features: Bun.stdin(2) jsc tsconfig(2)
Builtins: "bun:main" "node:assert" "node:buffer" "node:console" "node:constants" "node:crypto" "node:events" "node:fs" "node:module" "node:os" "node:path" "node:perf_hooks" "node:process" "node:querystring" "node:stream" "node:string_decoder" "node:tty" "node:url" "node:util" "node:util/types" "node:vm" "node:worker_threads" "node:repl" "node:inspector"
Elapsed: 539ms | User: 487ms | Sys: 86ms
RSS: 3.07GB | Peak: 0.31GB | Commit: 3.07GB | 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.34/Ln15e5e7c6AkggkggC+nwz+DuiE__+hy91Du7sz1D24u3wE2s/s9E+ots3D_A2AK

error: script "build" exited with code 1

Stack Trace (bun.report)

Bun v1.1.34 (5e5e7c6) on linux aarch64 [RunAsNodeCommand]

Segmentation fault at address 0x00000005

Features: Bun.stdin, dotenv, jsc, tsconfig, tsconfig_paths, tsconfig_paths

Sentry Issue: BUN-8D1

@taras-turchenko-moc taras-turchenko-moc added the crash An issue that could cause a crash label Nov 14, 2024
@github-actions github-actions bot added linux An issue that occurs on Linux runtime labels Nov 14, 2024
@taras-turchenko-moc
Copy link
Author

When running comment without docker everything works fine but docker is must for me and ci

@taras-turchenko-moc
Copy link
Author

Also just found out that running bun -b run build locally also panics

bun -b run build
$ cross-env NODE_ENV=production rspack build
============================================================
Bun v1.1.34 (5e5e7c60) macOS Silicon
macOS v15.0.1
Args: "node" "/Users/master/Projects/rspack-bun/node_modules/.bin/rspack" "build"
Features: Bun.stdin(2) jsc transpiler_cache(15) tsconfig(2)
Builtins: "bun:main" "node:assert" "node:buffer" "node:console" "node:constants" "node:crypto" "node:events" "node:fs" "node:module" "node:os" "node:path" "node:perf_hooks" "node:process" "node:querystring" "node:stream" "node:string_decoder" "node:tty" "node:url" "node:util" "node:util/types" "node:vm" "node:worker_threads" "node:repl" "node:inspector"
Elapsed: 358ms | User: 310ms | Sys: 55ms
RSS: 0.16GB | Peak: 0.16GB | Commit: 1.07GB | Faults: 91

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.34/Mn15e5e7c6AkggkggD___+hvkyCu7p6xCmxgx3B+65w/BmvnujCm770d_A2AK

error: script "build" exited with code 1

@taras-turchenko-moc taras-turchenko-moc changed the title panic when running rspack + vue-loader in docker panic when running rspack + vue-loader Nov 14, 2024
@nektro
Copy link
Member

nektro commented Nov 14, 2024

duplicate of #11628

@nektro nektro closed this as not planned Won't fix, can't repro, duplicate, stale Nov 14, 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 linux An issue that occurs on Linux runtime
Projects
None yet
Development

No branches or pull requests

2 participants