Bug 295685 - amarok crashes when trying to open a specific musepack-audio-file
Summary: amarok crashes when trying to open a specific musepack-audio-file
Status: RESOLVED DUPLICATE of bug 265368
Alias: None
Product: taglib
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 1.6.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Scott Wheeler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-10 14:51 UTC by daniel.schmitz
Modified: 2012-04-24 18:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description daniel.schmitz 2012-03-10 14:51:40 UTC
Application: amarok (2.5.0)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-16-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
I have an album constisting of musepack-audio-files in my amarok-collection.
I realized, that one song was missing in the collection. I opened the directory containing
these files with nautilus and right clicked on the missing file bringing up the popup-menu
and selected "open with amarok". And then I ended up in the crash-reporting tool :-(

The crash can be reproduced every time.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fc0764f57c0 (LWP 18208))]

Thread 10 (Thread 0x7fc053fa2700 (LWP 18211)):
#0  0x00007fc072e3b473 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc06db9ef68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc06db9f429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc0737b9f3e in QEventDispatcherGlib::processEvents (this=0x23e7250, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fc07378dcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc07378def7 in QEventLoop::exec (this=0x7fc053fa1cd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fc0736a527f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fc073770cbf in QInotifyFileSystemWatcherEngine::run (this=0x23e6970) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fc0736a7d05 in QThreadPrivate::start (arg=0x23e6970) at thread/qthread_unix.cpp:331
#9  0x00007fc064d5d56c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007fc06f643efc in start_thread (arg=0x7fc053fa2700) at pthread_create.c:304
#11 0x00007fc072e4759d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fc051e55700 (LWP 18212)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc0736a81ab in wait (time=18446744073709551615, this=0x2808150) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2808370, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fc070bd6864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2807fb0, th=0x2808860) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fc070bd8e0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2808490, th=0x2808860) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fc070bd8e24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2808490, th=0x2808860) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fc070bd8e24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2808490, th=0x2808860) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fc070bd7ccf in ThreadWeaver::ThreadRunHelper::run (this=0x7fc051e54d20, parent=0x2807fb0, th=0x2808860) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007fc070bd7d5b in ThreadWeaver::Thread::run (this=0x2808860) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007fc0736a7d05 in QThreadPrivate::start (arg=0x2808860) at thread/qthread_unix.cpp:331
#10 0x00007fc064d5d56c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#11 0x00007fc06f643efc in start_thread (arg=0x7fc051e55700) at pthread_create.c:304
#12 0x00007fc072e4759d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fc04afbf700 (LWP 18213)):
#0  0x00007fc06f6471fd in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x2b2f008) at pthread_mutex_unlock.c:290
#2  0x00007fc06db9dfe4 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc06db9edfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc06db9f429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc0737b9f3e in QEventDispatcherGlib::processEvents (this=0x2debf80, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007fc07378dcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fc07378def7 in QEventLoop::exec (this=0x7fc04afbecd0, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007fc0736a527f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#9  0x00007fc073770cbf in QInotifyFileSystemWatcherEngine::run (this=0x2deb4b0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fc0736a7d05 in QThreadPrivate::start (arg=0x2deb4b0) at thread/qthread_unix.cpp:331
#11 0x00007fc064d5d56c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#12 0x00007fc06f643efc in start_thread (arg=0x7fc04afbf700) at pthread_create.c:304
#13 0x00007fc072e4759d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fc04a5a1700 (LWP 18214)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc0736a81ab in wait (time=18446744073709551615, this=0x2808150) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2808370, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fc070bd6864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2807fb0, th=0x2ee9820) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fc070bd8e0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2808490, th=0x2ee9820) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fc070bd8e24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2808490, th=0x2ee9820) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fc070bd8e24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2808490, th=0x2ee9820) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fc070bd7ccf in ThreadWeaver::ThreadRunHelper::run (this=0x7fc04a5a0d20, parent=0x2807fb0, th=0x2ee9820) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007fc070bd7d5b in ThreadWeaver::Thread::run (this=0x2ee9820) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007fc0736a7d05 in QThreadPrivate::start (arg=0x2ee9820) at thread/qthread_unix.cpp:331
#10 0x00007fc064d5d56c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#11 0x00007fc06f643efc in start_thread (arg=0x7fc04a5a1700) at pthread_create.c:304
#12 0x00007fc072e4759d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fc049da0700 (LWP 18215)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc0736a81ab in wait (time=18446744073709551615, this=0x2808150) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2808370, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fc070bd6864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2807fb0, th=0x2ee4660) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fc070bd8e0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2808490, th=0x2ee4660) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fc070bd8e24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2808490, th=0x2ee4660) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fc070bd7ccf in ThreadWeaver::ThreadRunHelper::run (this=0x7fc049d9fd20, parent=0x2807fb0, th=0x2ee4660) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007fc070bd7d5b in ThreadWeaver::Thread::run (this=0x2ee4660) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007fc0736a7d05 in QThreadPrivate::start (arg=0x2ee4660) at thread/qthread_unix.cpp:331
#9  0x00007fc064d5d56c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007fc06f643efc in start_thread (arg=0x7fc049da0700) at pthread_create.c:304
#11 0x00007fc072e4759d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fc04959f700 (LWP 18216)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc0736a81ab in wait (time=18446744073709551615, this=0x2808150) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2808370, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fc070bd6864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2807fb0, th=0x2ee7d70) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fc070bd8e0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2808490, th=0x2ee7d70) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fc070bd7ccf in ThreadWeaver::ThreadRunHelper::run (this=0x7fc04959ed20, parent=0x2807fb0, th=0x2ee7d70) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fc070bd7d5b in ThreadWeaver::Thread::run (this=0x2ee7d70) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fc0736a7d05 in QThreadPrivate::start (arg=0x2ee7d70) at thread/qthread_unix.cpp:331
#8  0x00007fc064d5d56c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#9  0x00007fc06f643efc in start_thread (arg=0x7fc04959f700) at pthread_create.c:304
#10 0x00007fc072e4759d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fc04875d700 (LWP 18217)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc06a5f8c2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fc06a5f8d59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fc064d5d56c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#4  0x00007fc06f643efc in start_thread (arg=0x7fc04875d700) at pthread_create.c:304
#5  0x00007fc072e4759d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc047e5c700 (LWP 18218)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fc047e5ba70 in ?? ()
#2  0x00007fffeaf4c7e7 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7fc0465ce700 (LWP 18223)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc06fc1ffe2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fc06fc20019 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fc064d5d56c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#4  0x00007fc06f643efc in start_thread (arg=0x7fc0465ce700) at pthread_create.c:304
#5  0x00007fc072e4759d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc0764f57c0 (LWP 18208)):
[KCrash Handler]
#6  0x00007fc06eb52e76 in TagLib::String::String(TagLib::String const&) () from /usr/lib/libtag.so.1
#7  0x00007fc06eb518ff in TagLib::APE::Item::toString() const () from /usr/lib/libtag.so.1
#8  0x00007fc075372ce3 in Meta::Tag::APETagHelper::tags (this=0x4ab6bf0) at ../../shared/tag_helpers/APETagHelper.cpp:55
#9  0x00007fc0753321d4 in Meta::Tag::readTags (path=...) at ../../shared/MetaTagLib.cpp:252
#10 0x00007fc07534fb14 in MetaFile::Track::Private::readMetaData (this=0x4c797c0) at ../../src/core-impl/meta/file/File_p.h:138
#11 0x00007fc075351467 in MetaFile::Track::Track (this=0x487b4e0, url=...) at ../../src/core-impl/meta/file/File.cpp:189
#12 0x00007fc0753c16c4 in CollectionManager::trackForUrl (this=<optimized out>, url=...) at ../../src/core-impl/collections/support/CollectionManager.cpp:471
#13 0x00007fc0754fa618 in DirectoryLoader::init (this=0x49ae150, urls=<optimized out>) at ../../src/DirectoryLoader.cpp:98
#14 0x00007fc0751bae20 in Playlist::Controller::insertOptioned (this=0x2930a00, urls=..., options=33) at ../../src/playlist/PlaylistController.cpp:233
#15 0x00007fc0754f54b0 in App::handleCliArgs () at ../../src/App.cpp:312
#16 0x00007fc0754f66f8 in App::newInstance (this=0x7fffeaebc450) at ../../src/App.cpp:752
#17 0x00007fc075f08d92 in KUniqueApplicationAdaptor::newInstance (this=0x1ac88b0, asn_id=<optimized out>, args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#18 0x00007fc075f08e32 in KUniqueApplicationAdaptor::qt_metacall (this=0x1ac88b0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffeaebb830) at ./kuniqueapplication_p.moc:81
#19 0x00007fc07182a0e9 in QDBusConnectionPrivate::deliverCall (this=0x19d93e0, object=0x1ac88b0, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:942
#20 0x00007fc07182b25c in QDBusConnectionPrivate::activateCall (this=0x19d93e0, object=0x1ac88b0, flags=337, msg=...) at qdbusintegrator.cpp:852
#21 0x00007fc07182bb22 in QDBusConnectionPrivate::activateObject (this=0x19d93e0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1410
#22 0x00007fc07182bbf8 in QDBusActivateObjectEvent::placeMetaCall (this=0x3df2080) at qdbusintegrator.cpp:1524
#23 0x00007fc0737a5a5e in QObject::event (this=0x7fffeaebc450, e=<optimized out>) at kernel/qobject.cpp:1217
#24 0x00007fc074193324 in QApplication::event (this=0x7fffeaebc450, e=0x3df2080) at kernel/qapplication.cpp:2527
#25 0x00007fc0754f0191 in App::event (this=<optimized out>, event=<optimized out>) at ../../src/App.cpp:735
#26 0x00007fc07418f474 in notify_helper (e=0x3df2080, receiver=0x7fffeaebc450, this=0x19fee30) at kernel/qapplication.cpp:4486
#27 QApplicationPrivate::notify_helper (this=0x19fee30, receiver=0x7fffeaebc450, e=0x3df2080) at kernel/qapplication.cpp:4458
#28 0x00007fc0741942e1 in QApplication::notify (this=0x7fffeaebc450, receiver=0x7fffeaebc450, e=0x3df2080) at kernel/qapplication.cpp:4365
#29 0x00007fc075f03466 in KApplication::notify (this=0x7fffeaebc450, receiver=0x7fffeaebc450, event=0x3df2080) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x00007fc07378eafc in QCoreApplication::notifyInternal (this=0x7fffeaebc450, receiver=0x7fffeaebc450, event=0x3df2080) at kernel/qcoreapplication.cpp:787
#31 0x00007fc07379251f in sendEvent (event=0x3df2080, receiver=0x7fffeaebc450) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1830430) at kernel/qcoreapplication.cpp:1428
#33 0x00007fc0737b9a73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#34 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#35 0x00007fc06db9ea5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fc06db9f258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fc06db9f429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fc0737b9ed6 in QEventDispatcherGlib::processEvents (this=0x1831f40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#39 0x00007fc07423710e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007fc07378dcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007fc07378def7 in QEventLoop::exec (this=0x7fffeaebc3e0, flags=...) at kernel/qeventloop.cpp:201
#42 0x00007fc073792789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#43 0x0000000000408e2e in main (argc=1, argv=0x7fffeaebe8d8) at ../../src/main.cpp:303

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-03-10 23:26:14 UTC
Does the same crash happen when you add the track from the Amarok file browser?
Comment 2 Rex Dieter 2012-03-11 13:03:15 UTC
Looks like it's going down inside taglib somewhere,

Thread 1 (Thread 0x7fc0764f57c0 (LWP 18208)):
[KCrash Handler]
#6  0x00007fc06eb52e76 in TagLib::String::String(TagLib::String const&) () from /usr/lib/libtag.so.1
#7  0x00007fc06eb518ff in TagLib::APE::Item::toString() const () from /usr/lib/libtag.so.1
#8  0x00007fc075372ce3 in Meta::Tag::APETagHelper::tags (this=0x4ab6bf0) at ../../shared/tag_helpers/APETagHelper.cpp:55
Comment 3 daniel.schmitz 2012-03-11 13:13:11 UTC
(In reply to comment #1)
> Does the same crash happen when you add the track from the Amarok file
> browser?
Yes, it does. same thing. 
I could send over the trouble-making file,
but I will not upload it for the public because of copyright.
Comment 4 Myriam Schweingruber 2012-04-24 18:13:14 UTC
Inded, this is a taglib problem, reassigning.

*** This bug has been marked as a duplicate of bug 265368 ***