From 04640288721763adc408ee4309af6c8c4954d051 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 6 Nov 2018 22:38:24 +0100 Subject: [PATCH] doc/user.rst: add information about debug build --- doc/user.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/user.rst b/doc/user.rst index e9bd3e960..50e4e376b 100644 --- a/doc/user.rst +++ b/doc/user.rst @@ -969,6 +969,10 @@ A crash bug report needs to contain a "backtrace". First of all, your :program:`MPD` executable must not be "stripped" (i.e. debug information deleted). The executables shipped with Linux distributions are usually stripped, but some have so-called "debug" packages (package mpd-dbg or mpd-dbgsym on Debian, mpd-debug on other distributions). Make sure this package is installed. +If you built :program:`MPD` from sources, please recompile with Meson +option ":code:`--buildtype=debug -Db_ndebug=false`", because this will +add more helpful information to the backtrace. + You can extract the backtrace from a core dump, or by running :program:`MPD` in a debugger, e.g.: .. code-block:: none