Solved: QMPDClient Segmentation Fault

14 views
Skip to first unread message

Bob Smith

unread,
May 22, 2010, 1:56:34 PM5/22/10
to qmpdclient
After reinstalling my system and copying my QMPDClient config/cache
files (from ~/.config/QMPDClient/) to the new system, I consistently
get a segmentation fault 1 second after the application opens.
Deleting the cache files doesn't help.

The error occurs both on 32- and 64-bit versions of the application;
in qmpclient versions 1.1.2, 1.1.3 and the latest from git. The test
system runs Debian Testing with linux kernel 2.6.32 (64-bit) and
QT4.6.

The error looks like this:
ASSERT: "d->artistAlbumMap.contains(artist)" in file src/
mpdcache.cpp, line 149
Aborted (core dumped)

The relevant parts of the call stack:
qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
MPDCache::albumsByArtists (this=0xf89690, artists=...) at src/
mpdcache.cpp:149

I can reproduce the error with no cache files and only the following
lines in the config:
[mpd]
autoconnect=true
reconnect=true

[tagguesser]
enabled=true
pattern=/%b/%a/%n - %t.
test=/ogg/Artist/Album/42 - The Title.ogg

*************************************
The solution is to remove the config file and start over from scratch.
Alternatively, I also had success by just removing the [tagguesser]
section from my old config (or at very least removing the
"enabled=true" line from that section).
*************************************
Reply all
Reply to author
Forward
0 new messages