Amarok / Amarokcollectionscanner crash while reading a set of Musepackfiles. Those are perfectly read by many other players. MPCscan does not report an issue either (under windows as not linux version for this). I build amarok in debug and got the below pasted result which lead to an issue in taglib integration may be. Reproducible: Always Steps to Reproduce: 1. Scan the file with amarok or amarok scanner Actual Results: Segfault Expected Results: File scanned and added to collection Thread 1 (Thread 0x7ffff7fcb7c0 (LWP 412)): #0 __GI___libc_free (mem=0x700000001) at malloc.c:2892 #1 0x00007ffff5d3dcbd in TagLib::String::toCString(bool) const () from /usr/lib/x86_64-linux-gnu/libtag.so.1 #2 0x00007ffff76ed275 in Meta::Tag::TStringToQString (str=...) at /home/test/kde/src/amarok/shared/tag_helpers/StringHelper.cpp:45 #3 0x00007ffff76e4c0b in Meta::Tag::APETagHelper::tags (this=0x6bcf60) at /home/test/kde/src/amarok/shared/tag_helpers/APETagHelper.cpp:54 #4 0x00007ffff76d4de3 in Meta::Tag::readTags (path=...) at /home/test/kde/src/amarok/shared/MetaTagLib.cpp:250 #5 0x00007ffff76e3734 in CollectionScanner::Track::Track (this=0x6428e0, path=..., directory=<optimized out>) at /home/test/kde/src/amarok/shared/collectionscanner/Track.cpp:77 #6 0x00007ffff76df6fb in CollectionScanner::Directory::Directory (this=0x7fffffffd850, path=..., state=0x7fffffffddb0, skip=<optimized out>) at /home/test/kde/src/amarok/shared/collectionscanner/Directory.cpp:114 #7 0x00000000004048b6 in CollectionScanner::Scanner::doJob (this=0x7fffffffdd70) at /home/test/kde/src/amarok/utilities/collectionscanner/CollectionScanner.cpp:213 #8 0x00007ffff7a955be in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #9 0x00007ffff7a7b63e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #10 0x00007ffff7a7f171 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #11 0x00007ffff7aa9e83 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #12 0x00007ffff66fff05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #13 0x00007ffff6700248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #14 0x00007ffff6700304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #15 0x00007ffff7aaa016 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #16 0x00007ffff7a7a38f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #17 0x00007ffff7a7a618 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #18 0x00007ffff7a7fcf6 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #19 0x00000000004038c0 in main (argc=3, argv=<optimized out>) at /home/test/kde/src/amarok/utilities/collectionscanner/CollectionScanner.cpp:72
I can provide the file but do not want to add it directly here to avoid any copyright issue. Let me know when you need it.
This is a known TagLib crash. Myriam, please do your duplicate-search kung-fu. :-) [BTW: here on bugs.k.o is a "TagLib" product, bug taglib website says bugs should be submitted to https://github.com/taglib/taglib/issues - I'm confused]
*** This bug has been marked as a duplicate of bug 251913 ***
(In reply to comment #3) > > > *** This bug has been marked as a duplicate of bug 251913 *** Hello, after some deeper debugging, the bug really seems to be within Amarok. See: https://bugs.kde.org/show_bug.cgi?id=251913#c33 and below. I did compile taglib and tried the included examples that read the tag directly through taglib, and this does not crash. Please reopen and assign this bug. At the moment Amarok is not capable of reading Musepack files with covers embedded. Thanks