Bug 223186

Summary: amarok crashed when mp3 files has been deleted
Product: [Unmaintained] kio Reporter: Karel Kozlík <kozlik>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Karel Kozlík 2010-01-17 19:23:30 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.2
Operating System: Linux 2.6.31-17-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
I played some mp3 files in amarok. Some time (half an hour) after amarok finished playing the files I deleted whole directory containing them. Then amarok crashed.

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f7749ee87a0 (LWP 3066))]

Thread 10 (Thread 0x7f773302a910 (LWP 3067)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f7739361c91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f7741f7fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f77470d980d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f7731ae1910 (LWP 3068)):
#0  0x00007f7741f836dd in __pthread_mutex_unlock_usercnt (mutex=0x185cc98) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x185cc98) at pthread_mutex_unlock.c:289
#2  0x00007f774067036f in g_main_context_poll (context=0x185cc90, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2903
#3  g_main_context_iterate (context=0x185cc90, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2586
#4  0x00007f77406706c0 in IA__g_main_context_iteration (context=0x185cc90, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#5  0x00007f77479fd1fe in QEventDispatcherGlib::processEvents (this=0x185c480, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#6  0x00007f77479d3532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#7  0x00007f77479d3904 in QEventLoop::exec (this=0x7f7731ae0fb0, flags=) at kernel/qeventloop.cpp:201
#8  0x00007f77478eb6cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#9  0x00007f77395e156e in Phonon::Xine::XineThread::run (this=0x175bd70) at ../../xine/xinethread.cpp:143
#10 0x00007f77478ee445 in QThreadPrivate::start (arg=0x175bd70) at thread/qthread_unix.cpp:188
#11 0x00007f7741f7fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#12 0x00007f77470d980d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 8 (Thread 0x7f7730179910 (LWP 3070)):
#0  0x00007f77321d037e in pa_mutex_unlock () from /usr/lib/libpulsecommon-0.9.19.so
#1  0x00007f7732410201 in ?? () from /usr/lib/libpulse.so.0
#2  0x00007f77324005e6 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x00007f7732401eb9 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x00007f7732401f70 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x00007f773241012b in ?? () from /usr/lib/libpulse.so.0
#6  0x00007f77321d1050 in ?? () from /usr/lib/libpulsecommon-0.9.19.so
#7  0x00007f7741f7fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007f77470d980d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 7 (Thread 0x7f7720d1b910 (LWP 3071)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f7739372983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f7741f7fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f77470d980d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f772051a910 (LWP 3072)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f77478ef4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1feb450, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1feb450, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f7744ccb326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1764350, th=0x1fd4150) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f7744ccd45b in ThreadWeaver::WorkingHardState::applyForWork (this=0x20329e0, th=0x1fd4150) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f7744ccd474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x20329e0, th=0x1fd4150) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f7744ccd474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x20329e0, th=0x1fd4150) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f7744ccba5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f772051a000, parent=0x1764350, th=0x1fd4150) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007f7744ccbeb8 in ThreadWeaver::Thread::run (this=0x1fd4150) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007f77478ee445 in QThreadPrivate::start (arg=0x1fd4150) at thread/qthread_unix.cpp:188
#10 0x00007f7741f7fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f77470d980d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 5 (Thread 0x7f771fd19910 (LWP 3073)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f77478ef4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1feb450, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1feb450, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f7744ccb326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1764350, th=0x1fad580) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f7744ccd45b in ThreadWeaver::WorkingHardState::applyForWork (this=0x20329e0, th=0x1fad580) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f7744ccd474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x20329e0, th=0x1fad580) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f7744ccba5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f771fd19000, parent=0x1764350, th=0x1fad580) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f7744ccbeb8 in ThreadWeaver::Thread::run (this=0x1fad580) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f77478ee445 in QThreadPrivate::start (arg=0x1fad580) at thread/qthread_unix.cpp:188
#9  0x00007f7741f7fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f77470d980d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f771f518910 (LWP 3074)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f77478ef4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1feb450, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1feb450, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f7744ccb326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1764350, th=0x1dae330) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f7744ccd45b in ThreadWeaver::WorkingHardState::applyForWork (this=0x20329e0, th=0x1dae330) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f7744ccd474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x20329e0, th=0x1dae330) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f7744ccd474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x20329e0, th=0x1dae330) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f7744ccd474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x20329e0, th=0x1dae330) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f7744ccd474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x20329e0, th=0x1dae330) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007f7744ccd474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x20329e0, th=0x1dae330) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00007f7744ccd474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x20329e0, th=0x1dae330) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00007f7744ccd474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x20329e0, th=0x1dae330) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#12 0x00007f7744ccd474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x20329e0, th=0x1dae330) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0x00007f7744ccd474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x20329e0, th=0x1dae330) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#14 0x00007f7744ccd474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x20329e0, th=0x1dae330) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#15 0x00007f7744ccba5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f771f518000, parent=0x1764350, th=0x1dae330) at ../../../threadweaver/Weaver/Thread.cpp:87
#16 0x00007f7744ccbeb8 in ThreadWeaver::Thread::run (this=0x1dae330) at ../../../threadweaver/Weaver/Thread.cpp:142
#17 0x00007f77478ee445 in QThreadPrivate::start (arg=0x1dae330) at thread/qthread_unix.cpp:188
#18 0x00007f7741f7fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#19 0x00007f77470d980d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f771ed17910 (LWP 3075)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f77478ef4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1feb450, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1feb450, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f7744ccb326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1764350, th=0x1dfc9b0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f7744ccd45b in ThreadWeaver::WorkingHardState::applyForWork (this=0x20329e0, th=0x1dfc9b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f7744ccba5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f771ed17000, parent=0x1764350, th=0x1dfc9b0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f7744ccbeb8 in ThreadWeaver::Thread::run (this=0x1dfc9b0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f77478ee445 in QThreadPrivate::start (arg=0x1dfc9b0) at thread/qthread_unix.cpp:188
#8  0x00007f7741f7fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f77470d980d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f77055ed910 (LWP 3935)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f77478ef4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x6fb1378, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x6fb1378, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f774616878c in QHostInfoAgent::run (this=0x6fb1360) at kernel/qhostinfo.cpp:260
#4  0x00007f77478ee445 in QThreadPrivate::start (arg=0x6fb1360) at thread/qthread_unix.cpp:188
#5  0x00007f7741f7fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f77470d980d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7749ee87a0 (LWP 3066)):
[KCrash Handler]
#5  0x00007f774155ad03 in KFileItem::isDir (this=0x1fbc170) at ../../kio/kio/kfileitem.cpp:969
#6  0x00007f774154a198 in KDirModelPrivate::removeFromNodeHash (this=0x1cb5620, node=0x1fbc170, url=...) at ../../kio/kio/kdirmodel.cpp:200
#7  0x00007f774154b0ab in KDirModelPrivate::_k_slotDeleteItems (this=0x1cb5620, items=<value optimized out>) at ../../kio/kio/kdirmodel.cpp:487
#8  0x00007f774154cb82 in KDirModel::qt_metacall (this=0x1cb5550, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff25818050) at ./kdirmodel.moc:83
#9  0x00007f77479e9ddc in QMetaObject::activate (sender=0x1fbc1a0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3113
#10 0x00007f7741530895 in KDirLister::itemsDeleted (this=0x1fbc170, _t1=<value optimized out>) at ./kdirlister.moc:289
#11 0x00007f77415315d1 in KDirLister::Private::emitItemsDeleted (this=0x1cb53e0, _items=<value optimized out>) at ../../kio/kio/kdirlister.cpp:2351
#12 0x00007f774154057e in KDirListerCache::itemsDeleted (this=0x1fa0000, listers=<value optimized out>, deletedItems=...) at ../../kio/kio/kdirlister.cpp:1697
#13 0x00007f7741541fca in KDirListerCache::slotFilesRemoved (this=0x1fa0000, fileList=<value optimized out>) at ../../kio/kio/kdirlister.cpp:808
#14 0x00007f7741542454 in KDirListerCache::slotFilesRemoved (this=0x1fa0000, fileList=<value optimized out>) at ../../kio/kio/kdirlister.cpp:763
#15 0x00007f7741542db0 in KDirListerCache::qt_metacall (this=0x1fa0000, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff258184d0) at ./kdirlister_p.moc:92
#16 0x00007f77479e9ddc in QMetaObject::activate (sender=0x1f9ff40, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3113
#17 0x00007f774154e115 in OrgKdeKDirNotifyInterface::FilesRemoved (this=0x1fbc170, _t1=<value optimized out>) at ./kdirnotify.moc:125
#18 0x00007f774154e290 in OrgKdeKDirNotifyInterface::qt_metacall (this=0x1f9ff40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff25818790) at ./kdirnotify.moc:83
#19 0x00007f7745678ad4 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:891
#20 0x00007f774567fdef in QDBusCallDeliveryEvent::placeMetaCall(QObject*) () from /usr/lib/libQtDBus.so.4
#21 0x00007f77479e40f9 in QObject::event (this=0x1f9ff40, e=0x72067a0) at kernel/qobject.cpp:1111
#22 0x00007f77482f8efc in QApplicationPrivate::notify_helper (this=0x16b6480, receiver=0x1f9ff40, e=0x72067a0) at kernel/qapplication.cpp:4056
#23 0x00007f77483001ce in QApplication::notify (this=0x7fff258191e0, receiver=0x1f9ff40, e=0x72067a0) at kernel/qapplication.cpp:4021
#24 0x00007f774927c8ea in App::notify (this=0x1fbc170, receiver=0x1fbc170, event=0x7fff25817e70) at /build/buildd/amarok-2.2.2/src/App.cpp:856
#25 0x00007f77479d4c2c in QCoreApplication::notifyInternal (this=0x7fff258191e0, receiver=0x1f9ff40, event=0x72067a0) at kernel/qcoreapplication.cpp:610
#26 0x00007f77479d580a in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1587810) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1587810) at kernel/qcoreapplication.cpp:1247
#28 0x00007f77479fd533 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#29 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#30 0x00007f774066cbce in g_main_dispatch (context=0x16c0c80) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#31 IA__g_main_context_dispatch (context=0x16c0c80) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#32 0x00007f7740670598 in g_main_context_iterate (context=0x16c0c80, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#33 0x00007f77406706c0 in IA__g_main_context_iteration (context=0x16c0c80, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#34 0x00007f77479fd1a6 in QEventDispatcherGlib::processEvents (this=0x1587470, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#35 0x00007f774838d4be in QGuiEventDispatcherGlib::processEvents (this=0x1fbc170, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#36 0x00007f77479d3532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#37 0x00007f77479d3904 in QEventLoop::exec (this=0x7fff25819170, flags=) at kernel/qeventloop.cpp:201
#38 0x00007f77479d5ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#39 0x000000000040a254 in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/amarok-2.2.2/src/main.cpp:235
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2010-01-17 23:01:34 UTC
Thid id a KIO problem, not in Amarok. Reassigning.
Comment 2 Dario Andres 2010-01-18 01:17:42 UTC
Likely to be bug 196695. Regards

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