Bug 368157

Summary: Amarok crash while updating tags with MusicBrainz
Product: amarok Reporter: Deuil Etoiles <emichaelbray>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 2.8.0   
Target Milestone: 2.9   
Platform: openSUSE RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Deuil Etoiles 2016-09-02 14:37:49 UTC
Application: amarok (2.8.0)
KDE Platform Version: 4.14.22
Qt Version: 4.8.7
Operating System: Linux 4.7.2-1-default x86_64
Distribution: "openSUSE Tumbleweed (20160812) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

Editing tags in Amarok and updating them with data from Music Brainz crashes the application EVERY time.

The crash can be reproduced every time.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f37b5d3e940 (LWP 1968))]

Thread 11 (Thread 0x7f366affd700 (LWP 12321)):
#0  0x00007f37b12d709f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f37a96350b1 in JSC::BlockAllocator::blockFreeingThreadMain() () at /usr/lib64/libQtWebKit.so.4
#2  0x00007f37a990082b in WTF::wtfThreadEntryPoint(void*) () at /usr/lib64/libQtWebKit.so.4
#3  0x00007f37b12d1474 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f37b277a3ed in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7f3704a41700 (LWP 2045)):
#0  0x00007f37b12d709f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f37b18cce0a in  () at /usr/lib64/libQtScript.so.4
#2  0x00007f37b18cce39 in  () at /usr/lib64/libQtScript.so.4
#3  0x00007f37b12d1474 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f37b277a3ed in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7f37058cb700 (LWP 2044)):
#0  0x00007f37b2771a1d in poll () at /lib64/libc.so.6
#1  0x00007f37abb6e036 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f37abb6e14c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f37b2f7e82e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#4  0x00007f37b2f4cb8f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#5  0x00007f37b2f4cef5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#6  0x00007f37b2e3b8d9 in QThread::exec() () at /usr/lib64/libQtCore.so.4
#7  0x00007f37b2e3e1aa in  () at /usr/lib64/libQtCore.so.4
#8  0x00007f37b12d1474 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f37b277a3ed in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7f3754962700 (LWP 2042)):
#0  0x00007f37b12d709f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f37a98d8686 in WTF::TCMalloc_PageHeap::scavengerThread() () at /usr/lib64/libQtWebKit.so.4
#2  0x00007f37a98d86b9 in  () at /usr/lib64/libQtWebKit.so.4
#3  0x00007f37b12d1474 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f37b277a3ed in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f3757fff700 (LWP 2037)):
#0  0x00007f37b12d709f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f37b2e3e716 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007f37af40e482 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () at /usr/lib64/libthreadweaver.so.4
#3  0x00007f37af4108f3 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () at /usr/lib64/libthreadweaver.so.4
#4  0x00007f37af40f52d in ThreadWeaver::Thread::run() () at /usr/lib64/libthreadweaver.so.4
#5  0x00007f37b2e3e1aa in  () at /usr/lib64/libQtCore.so.4
#6  0x00007f37b12d1474 in start_thread () at /lib64/libpthread.so.0
#7  0x00007f37b277a3ed in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f376cda8700 (LWP 2036)):
#0  0x00007f37b12d709f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f37b2e3e716 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007f37af40e482 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () at /usr/lib64/libthreadweaver.so.4
#3  0x00007f37af4108f3 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () at /usr/lib64/libthreadweaver.so.4
#4  0x00007f37af41090c in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () at /usr/lib64/libthreadweaver.so.4
#5  0x00007f37af41090c in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () at /usr/lib64/libthreadweaver.so.4
#6  0x00007f37af41090c in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () at /usr/lib64/libthreadweaver.so.4
#7  0x00007f37af41090c in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () at /usr/lib64/libthreadweaver.so.4
#8  0x00007f37af41090c in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () at /usr/lib64/libthreadweaver.so.4
#9  0x00007f37af40f52d in ThreadWeaver::Thread::run() () at /usr/lib64/libthreadweaver.so.4
#10 0x00007f37b2e3e1aa in  () at /usr/lib64/libQtCore.so.4
#11 0x00007f37b12d1474 in start_thread () at /lib64/libpthread.so.0
#12 0x00007f37b277a3ed in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f376d5a9700 (LWP 2035)):
#0  0x00007f37b12d709f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f37b2e3e716 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007f37af40e482 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () at /usr/lib64/libthreadweaver.so.4
#3  0x00007f37af4108f3 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () at /usr/lib64/libthreadweaver.so.4
#4  0x00007f37af41090c in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () at /usr/lib64/libthreadweaver.so.4
#5  0x00007f37af41090c in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () at /usr/lib64/libthreadweaver.so.4
#6  0x00007f37af41090c in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () at /usr/lib64/libthreadweaver.so.4
#7  0x00007f37af40f52d in ThreadWeaver::Thread::run() () at /usr/lib64/libthreadweaver.so.4
#8  0x00007f37b2e3e1aa in  () at /usr/lib64/libQtCore.so.4
#9  0x00007f37b12d1474 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f37b277a3ed in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f376eb25700 (LWP 2029)):
#0  0x00007f37b2771a1d in poll () at /lib64/libc.so.6
#1  0x00007f37abb6e036 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f37abb6e14c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f37b2f7e82e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#4  0x00007f37b2f4cb8f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#5  0x00007f37b2f4cef5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#6  0x00007f37b2e3b8d9 in QThread::exec() () at /usr/lib64/libQtCore.so.4
#7  0x00007f37b2f2c973 in  () at /usr/lib64/libQtCore.so.4
#8  0x00007f37b2e3e1aa in  () at /usr/lib64/libQtCore.so.4
#9  0x00007f37b12d1474 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f37b277a3ed in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f376f326700 (LWP 2028)):
#0  0x00007f37b12d7448 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f37b2e3e6f4 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007f37b564175f in AbstractDirectoryWatcher::run() () at /usr/lib64/libamaroklib.so.1
#3  0x00007f37af40feaa in ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) () at /usr/lib64/libthreadweaver.so.4
#4  0x00007f37af410040 in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () at /usr/lib64/libthreadweaver.so.4
#5  0x00007f37af40f5cb in ThreadWeaver::Thread::run() () at /usr/lib64/libthreadweaver.so.4
#6  0x00007f37b2e3e1aa in  () at /usr/lib64/libQtCore.so.4
#7  0x00007f37b12d1474 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f37b277a3ed in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f376fb27700 (LWP 2027)):
#0  0x00007f37b12d7448 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f3782c784fe in  () at /usr/lib64/libmysqld.so.18
#2  0x00007f3782c6daf9 in  () at /usr/lib64/libmysqld.so.18
#3  0x00007f37b12d1474 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f37b277a3ed in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f37b5d3e940 (LWP 1968)):
[KCrash Handler]
#6  0x00007f37b2e399a1 in QReadWriteLock::lockForRead() () at /usr/lib64/libQtCore.so.4
#7  0x00007f37b57d9588 in MusicBrainzTagsItem::childCount() const () at /usr/lib64/libamaroklib.so.1
#8  0x00007f37b57e0f5b in MusicBrainzTagsModel::flags(QModelIndex const&) const () at /usr/lib64/libamaroklib.so.1
#9  0x00007f37b3a49a1b in QSortFilterProxyModel::flags(QModelIndex const&) const () at /usr/lib64/libQtGui.so.4
#10 0x00007f37b3a04074 in QTreeView::drawRow(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () at /usr/lib64/libQtGui.so.4
#11 0x00007f37b3a075e3 in QTreeView::drawTree(QPainter*, QRegion const&) const () at /usr/lib64/libQtGui.so.4
#12 0x00007f37b3a0b166 in QTreeView::paintEvent(QPaintEvent*) () at /usr/lib64/libQtGui.so.4
#13 0x00007f37b34e4970 in QWidget::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#14 0x00007f37b38a857e in QFrame::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#15 0x00007f37b39cd683 in QAbstractItemView::viewportEvent(QEvent*) () at /usr/lib64/libQtGui.so.4
#16 0x00007f37b3a0ef6c in QTreeView::viewportEvent(QEvent*) () at /usr/lib64/libQtGui.so.4
#17 0x00007f37b2f4e441 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#18 0x00007f37b348e0fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#19 0x00007f37b349501c in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#20 0x00007f37b477622a in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#21 0x00007f37b2f4e2bd in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#22 0x00007f37b34defd5 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib64/libQtGui.so.4
#23 0x00007f37b36ae170 in  () at /usr/lib64/libQtGui.so.4
#24 0x00007f37b34d1cd0 in QWidgetPrivate::syncBackingStore() () at /usr/lib64/libQtGui.so.4
#25 0x00007f37b34e4a58 in QWidget::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#26 0x00007f37b348e11c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#27 0x00007f37b349501c in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#28 0x00007f37b477622a in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#29 0x00007f37b2f4e2bd in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#30 0x00007f37b2f51926 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQtCore.so.4
#31 0x00007f37b2f7e69e in  () at /usr/lib64/libQtCore.so.4
#32 0x00007f37abb6de37 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#33 0x00007f37abb6e0a0 in  () at /usr/lib64/libglib-2.0.so.0
#34 0x00007f37abb6e14c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#35 0x00007f37b2f7e80e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#36 0x00007f37b3536e36 in  () at /usr/lib64/libQtGui.so.4
#37 0x00007f37b2f4cb8f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#38 0x00007f37b2f4cef5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#39 0x00007f37b2f52ae9 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4
#40 0x0000000000408968 in main ()

The reporter indicates this bug may be a duplicate of or related to bug 328359.

Possible duplicates by query: bug 364761, bug 364415, bug 357436, bug 354327, bug 354113.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2016-09-03 13:47:14 UTC

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