bun
bun copied to clipboard
`raiseIgnoringPanicHandler` triggers crash reporter
How can we reproduce the crash?
My program connects to WebSocket connections and saving events to a PostgreSQL db with Drizzle ORM. The code is not opensourced at the moment.
Relevant log output
Application exited with code 132
error: script "start" was terminated by signal SIGKILL (Forced quit)
============================================================
Bun v1.1.13 (bd6a6051) Linux x64 (baseline)
Args: "bun" "run" "start"
Features: spawn
Elapsed: 15428549ms | User: 7ms | Sys: 19ms
RSS: 1.07GB | Peak: 12.32MB | Commit: 1.07GB | Faults: 188
panic(main thread): Segmentation fault at address 0x0
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.13/Br1bd6a605AggggI+1mOwxji5C6vj35C43q35Ci7+m0Cg9vm0CA2AA
Stack Trace (bun.report)
Bun v1.1.13 (bd6a605
) on linux x86_64_baseline [RunCommand]
Segmentation fault at address 0x00000000
-
??
-
Global.zig:128
:src.Global.raiseIgnoringPanicHandler__anon_86500
-
run_command.zig:407
:src.cli.run_command.RunCommand.runPackageScriptForeground
-
run_command.zig:1461
:src.cli.run_command.RunCommand.exec__anon_272747
-
cli.zig:1772
:src.cli.Cli.start
-
main.zig:50
:main
Edited: Still got this error with v1.1.17:
Bun v1.1.17 (bb66bba
) on linux x86_64_baseline [RunCommand]
Segmentation fault at address 0x00000000
-
??
-
Global.zig:128
:src.Global.raiseIgnoringPanicHandler__anon_68457
-
run_command.zig:407
:src.cli.run_command.RunCommand.runPackageScriptForeground
-
run_command.zig:1461
:src.cli.run_command.RunCommand.exec__anon_71499
-
cli.zig:1801
:src.cli.Cli.start
-
main.zig:50
:main