[Pkg-mpd-maintainers] Bug#998310: mpd: fails to start with "Assertion `sockets.empty()' failed."

Max Kellermann max at blarg.de
Tue Nov 2 12:53:20 GMT 2021


On 2021/11/02 13:19, Antoine Le Gonidec <debian.bugs at dotslashplay.it> 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.



More information about the Pkg-mpd-maintainers mailing list