bun
bun copied to clipboard
panic: Segmentation fault at address 0x31634000000
How can we reproduce the crash?
Ubuntu 20.04, kernel v5.4.0
Previously tried to build on ubuntu 18.04 inside docker -- had same issue.
Relevant log output
#9 [build-stage 5/5] RUN bun build src/index.ts --outdir ./build --target=bun
#9 57.95 ============================================================
#9 57.95 Bun v1.1.18 (5a0b9352) Linux x64 (baseline)
#9 57.95 Linux Kernel v5.4.0 | glibc v2.31
#9 57.95 Args: "bun" "build" "src/index.ts" "--outdir" "./build" "--target=bun"
#9 57.95 Features: tsconfig(5)
#9 57.95 Elapsed: 57547ms | User: 34923ms | Sys: 23257ms
#9 57.95 RSS: 13.83GB | Peak: 8.07GB | Commit: 13.83GB | Faults: 0
#9 57.95
#9 57.95 panic: Segmentation fault at address 0x31634000000
#9 57.95 oh no: Bun has crashed. This indicates a bug in Bun, not your code.
Stack Trace (bun.report)
Bun v1.1.18 (5a0b935
) on linux x86_64_baseline [BuildCommand]
Segmentation fault at address 0x31634000000
-
??
-
string_immutable.zig:1401
:src.js_ast.EnumValue.nameAsEString
-
js_parser.zig:20176
:src.js_parser.NewParser_
-
js_parser.zig:21936
:src.js_parser.NewParser_
-
js_parser.zig:16164
:src.js_parser.NewParser_
-
js_parser.zig:3527
:src.js_parser.Parser._parse__anon_108886
-
js_parser.zig:3253
:src.cache.JavaScript.parse
-
bundle_v2.zig:2570
:src.bundler.bundle_v2.ParseTask.callback
-
thread_pool.zig:684
:Thread.PosixThreadImpl.spawn__anon_97121.Instance.entryFn
-
??