<div>On Wed%2C 3 Nov 2021 07%3A08%3A23 %2B0100 Max Kellermann wrote%3A</div><div>> Thanks%2C that was almost helpful - but you did not install mpd-dbgsym%2C</div><br><div>Whoops <span data-emoji-typing="true">:'D</span> let's try one more time then.</div><br><div>❯ sudo gdb --args mpd --stderr --no-daemon --verbose</div><div>GNU gdb (Debian 10.1-2) 10.1.90.20210103-git</div><div>Copyright (C) 2021 Free Software Foundation, Inc.</div><div>License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html></div><div>This is free software: you are free to change and redistribute it.</div><div>There is NO WARRANTY, to the extent permitted by law.</div><div>Type "show copying" and "show warranty" for details.</div><div>This GDB was configured as "x86_64-linux-gnu".</div><div>Type "show configuration" for configuration details.</div><div>For bug reporting instructions, please see:</div><div><https://www.gnu.org/software/gdb/bugs/>.</div><div>Find the GDB manual and other documentation resources online at:</div><div>    <http://www.gnu.org/software/gdb/documentation/>.</div><br><div>For help, type "help".</div><div>Type "apropos word" to search for commands related to "word"...</div><div>Reading symbols from mpd...</div><div>Reading symbols from /usr/lib/debug/.build-id/26/be37e73d656eddadb9ab98d3becf1abd7d1696.debug...</div><div>(gdb) catch throw</div><div>Catchpoint 1 (throw)</div><div>(gdb) run</div><div>Starting program: /usr/bin/mpd --stderr --no-daemon --verbose</div><div>[Thread debugging using libthread_db enabled]</div><div>Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".</div><div>config_file: loading file /etc/mpd.conf</div><div>path: SetFSCharset: fs charset is</div><div>libsamplerate: libsamplerate converter 'Fastest Sinc Interpolator'</div><div>vorbis: Xiph.Org libVorbis 1.3.7</div><div>opus: libopus 1.3.1</div><div>sndfile: libsndfile-1.0.31</div><div>adplug: adplug 2.3.3</div><div>simple_db: reading DB</div><br><div>Catchpoint 1 (exception thrown), 0x00007ffff36a5322 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6</div><div>(gdb) bt</div><div>#0  0x00007ffff36a5322 in __cxa_throw () at /lib/x86_64-linux-gnu/libstdc++.so.6</div><div>#1  0x000055555559e71f in db_load_internal(TextFile&, Directory&) (file=<optimized out>, music_root=<optimized out>) at ../src/db/plugins/simple/DatabaseSave.cxx:112</div><div>#2  0x000055555565fa6c in SimpleDatabase::Load() (this=0x55555578a040) at ../src/db/plugins/simple/SimpleDatabasePlugin.cxx:158</div><div>#3  0x0000555555660721 in SimpleDatabase::Open() (this=0x55555578a040) at ../src/db/plugins/simple/SimpleDatabasePlugin.cxx:178</div><div>#4  0x00005555555a4aed in glue_db_init_and_load (config=..., instance=...) at ../src/Main.cxx:221</div><div>#5  InitDatabaseAndStorage (config=..., instance=...) at ../src/Main.cxx:244</div><div>#6  MainConfigured(options const&, ConfigData const&) (options=<optimized out>, raw_config=...) at ../src/Main.cxx:444</div><div>#7  0x00005555555a4d4d in MainOrThrow(int, char**) (argc=<optimized out>, argv=<optimized out>) at ../src/Main.cxx:650</div><div>#8  0x00005555555a302a in mpd_main(int, char**) (argv=<optimized out>, argc=<optimized out>) at ../src/Main.cxx:656</div><div>#9  main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ../src/Main.cxx:668</div><div>(gdb) cont</div><div>Continuing.</div><div>exception: Tag list mismatch, discarding database file</div><div>curl: version 7.74.0</div><div>curl: with GnuTLS/3.7.2</div><br><div>Catchpoint 1 (exception thrown), 0x00007ffff36a5322 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6</div><div>(gdb) bt</div><div>#0  0x00007ffff36a5322 in __cxa_throw () at /lib/x86_64-linux-gnu/libstdc++.so.6</div><div>#1  0x000055555558ba6e in PidFile::PidFile(AllocatedPath const&) (path=<optimized out>, this=<optimized out>) at ../src/unix/PidFile.hxx:46</div><div>#2  daemonize_commit() () at ../src/unix/Daemon.cxx:212</div><div>#3  0x00005555555a44ed in MainConfigured(options const&, ConfigData const&) (options=<optimized out>, raw_config=...) at ../src/Main.cxx:468</div><div>#4  0x00005555555a4d4d in MainOrThrow(int, char**) (argc=<optimized out>, argv=<optimized out>) at ../src/Main.cxx:650</div><div>#5  0x00005555555a302a in mpd_main(int, char**) (argv=<optimized out>, argc=<optimized out>) at ../src/Main.cxx:656</div><div>#6  main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ../src/Main.cxx:668</div><div>(gdb) cont</div><div>Continuing.</div><div>mpd: ../src/event/Loop.cxx:60: EventLoop::~EventLoop(): Assertion `sockets.empty()' failed.</div><br><div>Program received signal SIGABRT, Aborted.</div><div>__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49</div><div>49        ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.</div><div>(gdb) bt</div><div>#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49</div><div>#1  0x00007ffff32db536 in __GI_abort () at abort.c:79</div><div>#2  0x00007ffff32db41f in __assert_fail_base</div><div>    (fmt=0x7ffff34426b0 "%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</div><div>#3  0x00007ffff32ea7f2 in __GI___assert_fail</div><div>    (assertion=0x55555569afa2 "sockets.empty()", file=0x55555569af5c "../src/event/Loop.cxx", line=60, function=0x55555569af44 "EventLoop::~EventLoop()")</div><div>    at assert.c:101</div><div>#4  0x00005555555e5458 in EventLoop::~EventLoop() (this=this@entry=0x7fffffffcbc8, __in_chrg=<optimized out>) at ../src/event/Loop.cxx:60</div><div>#5  0x00005555555b7c56 in EventThread::~EventThread() (this=0x7fffffffcbc8, __in_chrg=<optimized out>) at ../src/event/Thread.hxx:43</div><div>#6  Instance::~Instance() (this=this@entry=0x7fffffffc310, __in_chrg=<optimized out>) at ../src/Instance.cxx:75</div><div>#7  0x00005555555867a1 in MainConfigured(options const&, ConfigData const&) (options=<optimized out>, raw_config=<optimized out>) at ../src/Main.cxx:578</div><div>#8  0x00005555555a4d4d in MainOrThrow(int, char**) (argc=<optimized out>, argv=<optimized out>) at ../src/Main.cxx:650</div><div>#9  0x00005555555a302a in mpd_main(int, char**) (argv=<optimized out>, argc=<optimized out>) at ../src/Main.cxx:656</div><div>#10 main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ../src/Main.cxx:668</div><div>(gdb) cont</div><div>Continuing.</div><br><div>Program terminated with signal SIGABRT, Aborted.</div><div>The program no longer exists.</div><div>(gdb) </div><br><img class="mailspring-open" alt="Sent from Mailspring" width="0" height="0" style="border:0; width:0; height:0;" src="https://link.getmailspring.com/open/8FF21552-B406-4808-94A0-721B9EEF75C5@getmailspring.com?me=5fc60566&recipient=OTk4MzEwQGJ1Z3MuZGViaWFuLm9yZw%3D%3D">