Closed o-l-a-v closed 1 month ago
somehow cannot be reproduced on debug builds
Tried on a different computer, got a different error.
Bun v1.1.26 (0a37423b) Windows x64
Windows v.win10_fe
CPU: sse42 avx avx2
Args: "node" "C:\Users\olavb\Desktop\JS\website\node_modules@docusaurus\core\bin\docusaurus.mjs" "build" " -- no-minify"
Features: jsc Bun. stderr Bun. stdin(2) transpiler_cache(36) tsconfig(177)
Builtins: "bun: jsc" "bun: main" "node : assert" "node: async_hooks" "node: buffer" "node: child_process" "node: constants" "nod
e: 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: string_decoder"
"node: tls" "node: tty" "node: url" "node: util" "node: util/types" "node: vm" "node: zlib" "node: worker_threads" "node : punycod
e" "ws" "node: v8" "node:http2"
Elapsed: 24664ms | User: 8390ms | Sys: 703ms
RSS: 1.48GB | Peak: 1.48GB | Commit: 19.07GB | Faults: 423031
panic(main thread): Segmentation fault at address 0xE
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.26/wn10a37423AugggwCm26g6C_A2Ac
Stack trace when going to that last URL:
Bun v1.1.26 (0a37423
) on windows x86_64 [RunAsNodeCommand]
Segmentation fault at address 0x0000000E
Structure.h:603
: JSC::Structure::inlineCapacity
Happens with v1.27.0 too.
https://github.com/user-attachments/assets/16a67983-1a73-4cb8-85ef-cbb33c2218e4
Can't reproduce with Bun v1.1.28.
https://github.com/user-attachments/assets/1eb28b72-17ee-4cc0-8272-ed369946b3ff
How can we reproduce the crash?
Windows 11 23H2, Bun v1.1.26, PowerShell v7.4.5
-noprofile
, Docusaurus 3.5.2.Reproduce:
cd "$env:USERPROFILE\Desktop"
mkdir tes
cd tes
bun create docusaurus@latest
, choose classic as template, and JavaScript (vs. TypeScript), rest as default.cd website
bun install
bun --bun run docusaurus build --no-minify
Bun crashes and removes content in the terminal, so had to take a screen recording instead. Screenshot of the screen recording:
Using the image to text functionality in Windows snipping tool:
Relevant log output
No response
Stack Trace (bun.report)
Bun v1.1.26 (
0a37423
) on windows x86_64 [RunAsNodeCommand]Segmentation fault at address 0x13FFFFFFC
LazyProperty.h:97
:JSC::LazyProperty<JSC::JSGlobalObject,JSC::Structure>::getInitializedOnMainThread