On 2021/11/02 13:19, Antoine Le Gonidec <[email protected]> wrote: > Here is what I get when trying to start mpd from gdb, following the > instructions you linked:
Thanks, this and your backtrace shows that MPD startup has failed for some reason, and a C++ exception got thrown with details about the error, but before the exception gets caught and logged, MPD shuts itself down, which is where this crash occurs because there's some bug in the shutdown procedure (a bug which only occurs if shutting down due to startup error). TLDR: it's complicated, and we can't see the real error just yet. Since you appear to have some gdb skills, hooray, please do the following: run MPD in gdb, type "catch throw", then "run", and when gdb stops execution due to an exception, get that backtrace using "bt". Try "cont" and "bt" again until it crashes; if there are more backtraces, copy them as well. I hope that gives me a hint what exactly is failing, and how to get a grip on the crash problem.

