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

Antoine Le Gonidec debian.bugs at dotslashplay.it
Tue Nov 2 12:19:16 GMT 2021


On Tue, 2 Nov 2021 11:39:12 +0100 Max Kellermann <max at blarg.de> wrote:
> The crash message indicates that this happens during shutdown, not
> during startup.  I assume you did not paste the full log; the rest
> went to the Journal; to check your crash, I need the full (verbose)
> log.  Please see
> https://mpd.readthedocs.io/en/stable/user.html#mpd-crashes for how to
> best report MPD crash bug.

Your assumption is wrong, I did not cut anything from mpd output ;)

Here is what I get when trying to start mpd from gdb, following the instructions you linked:
---
config_file: loading file /etc/mpd.conf
path: SetFSCharset: fs charset is
libsamplerate: libsamplerate converter 'Fastest Sinc Interpolator'
vorbis: Xiph.Org libVorbis 1.3.7
opus: libopus 1.3.1
sndfile: libsndfile-1.0.31
adplug: adplug 2.3.3
simple_db: reading DB
curl: version 7.74.0
curl: with GnuTLS/3.7.2
mpd: ../src/event/Loop.cxx:60: EventLoop::~EventLoop(): Assertion `sockets.empty()' failed.

Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
Download failed: Function not implemented.  Continuing without source file ./signal/../sysdeps/unix/sysv/linux/raise.c.
49      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
---

And the backtracce:
---
#0  __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#1  0x00007ffff32af536 in __GI_abort () at abort.c:79
#2  0x00007ffff32af41f in __assert_fail_base (fmt=0x7ffff34166b0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x55555569afa2 "sockets.empty()", file=0x55555569af5c "../src/event/Loop.cxx", line=60, function=<optimized out>) at assert.c:92
#3  0x00007ffff32be7f2 in __GI___assert_fail (assertion=0x55555569afa2 "sockets.empty()", file=0x55555569af5c "../src/event/Loop.cxx", line=60, function=0x55555569af44 "EventLoop::~EventLoop()") at assert.c:101
#4  0x00005555555e5458 in EventLoop::~EventLoop (this=this at entry=0x7fffffffcc48, __in_chrg=<optimized out>) at ../src/event/Loop.cxx:60
#5  0x00005555555b7c56 in EventThread::~EventThread (this=0x7fffffffcc48, __in_chrg=<optimized out>) at ../src/event/Thread.hxx:43
#6  Instance::~Instance (this=this at entry=0x7fffffffc390, __in_chrg=<optimized out>) at ../src/Instance.cxx:75
#7  0x00005555555867a1 in MainConfigured (options=..., raw_config=...) at ../src/Main.cxx:578
#8  0x00005555555a4d4d in MainOrThrow (argc=<optimized out>, argv=<optimized out>) at ../src/Main.cxx:650
#9  0x00005555555a302a in mpd_main (argv=<optimized out>, argc=<optimized out>) at ../src/Main.cxx:656
#10 main (argc=<optimized out>, argv=<optimized out>) at ../src/Main.cxx:668
---



More information about the Pkg-mpd-maintainers mailing list