Bug 222842

Summary: Amarok crashes when rescanning collection
Product: [Applications] amarok Reporter: Aron Fyodor M. Asor <aronasorman>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Aron Fyodor M. Asor 2010-01-15 14:01:12 UTC
Application that crashed: amarok
Version of the application: 2.2.2
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.31-ARCH i686

What I was doing when the application crashed:
Amarok crashes when I try rescanning the collection.

I recently pulled some music files from an external hard drive formatted in vfat to my music folder. then whenever I rescan the collection, amarok crashes.

 -- Backtrace:
Application: Amarok (amarok), signal: Aborted
[Current thread is 1 (Thread 0xb34de710 (LWP 23936))]

Thread 14 (Thread 0xb0580b70 (LWP 23938)):
#0  0xb7742424 in __kernel_vsyscall ()
#1  0xb598f182 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5acc654 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb158aba5 in metronom_sync_loop () from /usr/lib/libxine.so.1
#4  0x00000005 in ?? ()
#5  0xb0580340 in ?? ()
#6  0x01866f7c in ?? ()
#7  0x00000000 in ?? ()

Thread 13 (Thread 0xafd2fb70 (LWP 23939)):
#0  0xb6741f53 in ?? () from /usr/lib/libQtCore.so.4
#1  0xb3c23470 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0xb3c23811 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#3  0xb3c23d23 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb6741d5f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0xb6715ba9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb6715ffa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb6625de3 in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0xb15d6619 in Phonon::Xine::XineThread::run() () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#9  0xb6629052 in ?? () from /usr/lib/libQtCore.so.4
#10 0xb598a8ac in start_thread () from /lib/libpthread.so.0
#11 0xb5abf01e in clone () from /lib/libc.so.6

Thread 12 (Thread 0xaf52eb70 (LWP 23942)):
#0  0xb7742424 in __kernel_vsyscall ()
#1  0xb5ab4eb6 in poll () from /lib/libc.so.6
#2  0xafd7bd91 in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#3  0x00000000 in ?? ()

Thread 11 (Thread 0xaed2db70 (LWP 23943)):
#0  0xb7742424 in __kernel_vsyscall ()
#1  0xb598ee55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5acc5fd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb159c8ec in ao_loop () from /usr/lib/libxine.so.1
#4  0xaed2d330 in ?? ()

Thread 10 (Thread 0xae52cb70 (LWP 23944)):
#0  0xb7742424 in __kernel_vsyscall ()
#1  0xb598ee55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5acc5fd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb159c8ec in ao_loop () from /usr/lib/libxine.so.1
#4  0x00000000 in ?? ()

Thread 9 (Thread 0xad9ffb70 (LWP 23945)):
#0  0xb7742424 in __kernel_vsyscall ()
#1  0xb598ee55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5acc5fd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb159c8ec in ao_loop () from /usr/lib/libxine.so.1
#4  0x00000000 in ?? ()

Thread 8 (Thread 0xad1feb70 (LWP 23946)):
#0  0xb7742424 in __kernel_vsyscall ()
#1  0xb598ee55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5acc5fd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb159c8ec in ao_loop () from /usr/lib/libxine.so.1
#4  0x00000000 in ?? ()

Thread 7 (Thread 0xabe92b70 (LWP 23949)):
#0  0xb7742424 in __kernel_vsyscall ()
#1  0xb598ee55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5acc5fd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb662a067 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb5551b00 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#5  0xb555416c in ThreadWeaver::WorkingHardState::waitForAvailableJob(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#6  0xb55501bb in ThreadWeaver::WeaverImpl::waitForAvailableJob(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#7  0xb5554262 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#8  0xb5551d83 in ThreadWeaver::WeaverImpl::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#9  0xb5554281 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#10 0xb5551d83 in ThreadWeaver::WeaverImpl::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#11 0xb5554281 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#12 0xb5551d83 in ThreadWeaver::WeaverImpl::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#13 0xb555238e in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#14 0xb55529ab in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#15 0xb6629052 in ?? () from /usr/lib/libQtCore.so.4
#16 0xb598a8ac in start_thread () from /lib/libpthread.so.0
#17 0xb5abf01e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xaaae1b70 (LWP 23951)):
#0  0xb7742424 in __kernel_vsyscall ()
#1  0xb598ee55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5acc5fd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb662a067 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb5551b00 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#5  0xb555416c in ThreadWeaver::WorkingHardState::waitForAvailableJob(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#6  0xb55501bb in ThreadWeaver::WeaverImpl::waitForAvailableJob(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#7  0xb5554262 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#8  0xb5551d83 in ThreadWeaver::WeaverImpl::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#9  0xb555238e in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#10 0xb55529ab in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#11 0xb6629052 in ?? () from /usr/lib/libQtCore.so.4
#12 0xb598a8ac in start_thread () from /lib/libpthread.so.0
#13 0xb5abf01e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xa9adfb70 (LWP 23954)):
#0  0xb7742424 in __kernel_vsyscall ()
#1  0xb598ee55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5acc5fd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb662a067 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb5551b00 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#5  0xb555416c in ThreadWeaver::WorkingHardState::waitForAvailableJob(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#6  0xb55501bb in ThreadWeaver::WeaverImpl::waitForAvailableJob(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#7  0xb5554262 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#8  0xb5551d83 in ThreadWeaver::WeaverImpl::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#9  0xb555238e in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#10 0xb55529ab in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#11 0xb6629052 in ?? () from /usr/lib/libQtCore.so.4
#12 0xb598a8ac in start_thread () from /lib/libpthread.so.0
#13 0xb5abf01e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xa92deb70 (LWP 23955)):
[KCrash Handler]
#6  0xb7742424 in __kernel_vsyscall ()
#7  0xb5a1b571 in raise () from /lib/libc.so.6
#8  0xb5a1cd72 in abort () from /lib/libc.so.6
#9  0xb5a56d95 in __libc_message () from /lib/libc.so.6
#10 0xb5a5cc31 in malloc_printerr () from /lib/libc.so.6
#11 0xb5a5d08a in malloc_consolidate () from /lib/libc.so.6
#12 0xb5a5e405 in _int_free () from /lib/libc.so.6
#13 0xb5a6153d in free () from /lib/libc.so.6
#14 0xb662391d in qFree(void*) () from /usr/lib/libQtCore.so.4
#15 0xb666e320 in QString::free(QString::Data*) () from /usr/lib/libQtCore.so.4
#16 0xac0831fb in QString::~QString() () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#17 0xac0c10ba in QHash<QString, QStringList*>::freeData(QHashData*) () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#18 0xac0ac784 in ScanResultProcessor::~ScanResultProcessor() () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#19 0xac0a2460 in XmlParseJob::run() () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#20 0xb555334d in ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#21 0xb55536b1 in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#22 0xb555235a in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#23 0xb55529ab in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#24 0xb6629052 in ?? () from /usr/lib/libQtCore.so.4
#25 0xb598a8ac in start_thread () from /lib/libpthread.so.0
#26 0xb5abf01e in clone () from /lib/libc.so.6

Thread 3 (Thread 0x9e9ffb70 (LWP 24026)):
#0  0xb7742424 in __kernel_vsyscall ()
#1  0xb598ee55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5acc5fd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb662a067 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb628ab2a in ?? () from /usr/lib/libQtGui.so.4
#5  0xb6629052 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb598a8ac in start_thread () from /lib/libpthread.so.0
#7  0xb5abf01e in clone () from /lib/libc.so.6

Thread 2 (Thread 0x9e1feb70 (LWP 24027)):
#0  0xb3c231a9 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#1  0xb3c2393c in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0xb3c23d23 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0xb6741d5f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0xb6715ba9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0xb6715ffa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb6625de3 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0xb66f898b in ?? () from /usr/lib/libQtCore.so.4
#8  0xb6629052 in ?? () from /usr/lib/libQtCore.so.4
#9  0xb598a8ac in start_thread () from /lib/libpthread.so.0
#10 0xb5abf01e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb34de710 (LWP 23936)):
#0  0xb7742424 in __kernel_vsyscall ()
#1  0xb5acc953 in __lll_lock_wait_private () from /lib/libc.so.6
#2  0xb5a62d4f in _L_lock_7346 () from /lib/libc.so.6
#3  0xb5a61536 in free () from /lib/libc.so.6
#4  0xb662391d in qFree(void*) () from /usr/lib/libQtCore.so.4
#5  0xb665aa8e in QMapData::node_delete(QMapData::Node**, int, QMapData::Node*) () from /usr/lib/libQtCore.so.4
#6  0xb6f5bea9 in QMap<QObject const*, ProgressBar*>::remove(QObject const* const&) () from /usr/lib/libamaroklib.so.1
#7  0xb6f5ac45 in CompoundProgressBar::childBarComplete(ProgressBar*) () from /usr/lib/libamaroklib.so.1
#8  0xb6f5afbd in CompoundProgressBar::endProgressOperation(QObject const*) () from /usr/lib/libamaroklib.so.1
#9  0xb6de8b5e in Dynamic::BiasedPlaylist::solverFinished(ThreadWeaver::Job*) () from /usr/lib/libamaroklib.so.1
#10 0xb6b676df in Dynamic::BiasedPlaylist::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libamaroklib.so.1
#11 0xb672cfdc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#12 0xb672dc12 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#13 0xb5552fa3 in ThreadWeaver::Job::done(ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#14 0xb5553177 in ThreadWeaver::Job::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libthreadweaver.so.4
#15 0xb6b6384a in Dynamic::BiasSolver::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libamaroklib.so.1
#16 0xb6725ccb in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
#17 0xb67273ce in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#18 0xb5d69924 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#19 0xb5d7100c in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#20 0xb6fd3a76 in App::notify(QObject*, QEvent*) () from /usr/lib/libamaroklib.so.1
#21 0xb67175bb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#22 0xb67181e2 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#23 0xb67183ad in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#24 0xb67421cf in ?? () from /usr/lib/libQtCore.so.4
#25 0xb3c20378 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0xb3c23bf0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#27 0xb3c23d23 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0xb6741d25 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#29 0xb5e07705 in ?? () from /usr/lib/libQtGui.so.4
#30 0xb6715ba9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0xb6715ffa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#32 0xb671846f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#33 0xb5d697a7 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#34 0x08052137 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2010-01-15 14:25:42 UTC
This could be related to the glibc bug : bug 196207.
- Are you experiencing this crash regularly / Can you reproduce the crash at will ?
Thanks
Comment 2 Mikko C. 2010-01-15 14:28:08 UTC

*** This bug has been marked as a duplicate of bug 220532 ***
Comment 3 Aron Fyodor M. Asor 2010-01-16 04:13:20 UTC
[Fixed] Pulled a patch from archlinux this morning. No crash so far. Thanks Developers.