oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
74.35k stars 2.78k forks source link

segfault in docker while building a remix web application #15286

Closed miguelvictor closed 1 day ago

miguelvictor commented 1 day ago

How can we reproduce the crash?

No response

Relevant log output

#9 [build 3/3] RUN bun run build:web
#9 0.284 $ bun run --filter="web" build
#9 0.926 web build: ============================================================
#9 0.926 web build: Bun v1.1.36 (ededc168) Linux x64 (baseline)
#9 0.926 web build: Linux Kernel v5.10.0 | musl
#9 0.926 web build: CPU: sse42 popcnt avx avx2
#9 0.926 web build: Args: "node" "/app/node_modules/.bin/remix" "vite:build"
#9 0.926 web build: Features: jsc tsconfig(3) tsconfig_paths 
#9 0.932 web build: Builtins: "bun:main" "node:assert" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:events" "node:fs" "node:fs/promises" "node:module" "node:net" "node:os" "node:path" "node:stream" "node:string_decoder" "node:tty" "node:url" "node:util" "node:util/types" "node:worker_threads" 
#9 0.932 web build: Elapsed: 635ms | User: 626ms | Sys: 99ms
#9 0.932 web build: RSS: 1.03GB | Peak: 119.07MB | Commit: 1.03GB | Faults: 0
#9 0.932 web build: 
#9 0.932 web build: panic(main thread): Segmentation fault at address 0x6024C
#9 0.932 web build: oh no: Bun has crashed. This indicates a bug in Bun, not your code.
#9 0.932 web build: 
#9 0.932 web build: To send a redacted crash report to Bun's team,
#9 0.932 web build: please file a GitHub issue using the link below:
#9 0.932 web build: 
#9 0.932 web build:  https://bun.report/1.1.36/Bn1ededc16Ahgg8//B0303jE0+vTolz87C8+wh2C+v8wgDqh9xgDyxwxgDqr2h3Csp+ggD088r+CA2A4khY
#9 0.932 web build: 
#9 2.351 web build: Signaled with code SIGILL
#9 2.352 error: script "build:web" exited with code 132
#9 ERROR: process "/bin/sh -c bun run build:web" did not complete successfully: exit code: 132
------
 > [build 3/3] RUN bun run build:web:
0.932 web build: panic(main thread): Segmentation fault at address 0x6024C
0.932 web build: oh no: Bun has crashed. This indicates a bug in Bun, not your code.
0.932 web build: 
0.932 web build: To send a redacted crash report to Bun's team,
0.932 web build: please file a GitHub issue using the link below:
0.932 web build: 
0.932 web build:  https://bun.report/1.1.36/Bn1ededc16Ahgg8//B0303jE0+vTolz87C8+wh2C+v8wgDqh9xgDyxwxgDqr2h3Csp+ggD088r+CA2A4khY
0.932 web build: 
2.351 web build: Signaled with code SIGILL
2.352 error: script "build:web" exited with code 132

Stack Trace (bun.report)

Bun v1.1.36 (ededc16) on linux x86_64_baseline [RunAsNodeCommand]

Segmentation fault at address 0x0006024C

Features: jsc, tsconfig

github-actions[bot] commented 1 day ago

Thank you for reporting this crash.

For Bun's internal tracking, this issue is BUN-8NA.