From 4ffb8fe4e3121303b2fe07701e0c40bb4ab59701 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Wed, 1 May 2024 19:52:34 +0100 Subject: [PATCH] crashes: add debug stacktrace instructions --- pages/Crashes and Bugs/_index.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pages/Crashes and Bugs/_index.md b/pages/Crashes and Bugs/_index.md index 442d4f3..08d3ed6 100644 --- a/pages/Crashes and Bugs/_index.md +++ b/pages/Crashes and Bugs/_index.md @@ -49,6 +49,17 @@ Diagnose the issue by what is in the log: Report an issue on GitHub or on the Discord server. +## Obtaining a debug stacktrace + +Systemd-only. + +Build hyprland in debug (`make debug`) and run. Get it to crash. Then, in a tty or terminal, do +`coredumpctl debug Hyprland`. + +If gdb asks you for symbols, say `y`, if it asks about paging, say `c`. + +Once you get to `(gdb)`, run `bt -full` and post the output. + ## Bugs First of all, **_READ THE [FAQ PAGE](../FAQ)_**