Bug 216185

Summary: amarok crashed when an mp3 player was unplugged
Product: [Applications] amarok Reporter: John Kesson <me.like.linux>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.2.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description John Kesson 2009-11-26 01:21:32 UTC
Application that crashed: amarok
Version of the application: 2.2.0
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic i686
Distribution: Ubuntu 9.10

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

Thread 10 (Thread 0xb58cdb70 (LWP 3522)):
#0  0x00f1d422 in __kernel_vsyscall ()
#1  0x0217b142 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x019957e4 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0x02e9e9ff in ?? () from /usr/lib/libxine.so.1
#4  0x0217680e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x019887ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xb50ccb70 (LWP 3523)):
#0  0x0249ee06 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x04837bf3 in QTimerInfoList::getTime (this=0x9dcdd2c, t=...) at kernel/qeventdispatcher_unix.cpp:339
#2  0x04837de1 in QTimerInfoList::updateCurrentTime (this=0x9dcdd2c) at kernel/qeventdispatcher_unix.cpp:297
#3  0x0483888c in QTimerInfoList::timerWait (this=0x9dcdd2c, tm=...) at kernel/qeventdispatcher_unix.cpp:420
#4  0x04836210 in timerSourcePrepare (source=0x9dcdcf8, timeout=0xb50cc0dc) at kernel/qeventdispatcher_glib.cpp:141
#5  0x044d1f80 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#6  0x044d2341 in ?? () from /lib/libglib-2.0.so.0
#7  0x044d2853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0x04836067 in QEventDispatcherGlib::processEvents (this=0x9dcdd60, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#9  0x04809c79 in QEventLoop::processEvents (this=0xb50cc2a4, flags=) at kernel/qeventloop.cpp:149
#10 0x0480a0ca in QEventLoop::exec (this=0xb50cc2a4, flags=...) at kernel/qeventloop.cpp:201
#11 0x04717b73 in QThread::exec (this=0x9dcd628) at thread/qthread.cpp:487
#12 0x02d5720a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#13 0x0471ae32 in QThreadPrivate::start (arg=0x9dcd628) at thread/qthread_unix.cpp:188
#14 0x0217680e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0x019887ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xb08cab70 (LWP 3529)):
#0  0x00f1d422 in __kernel_vsyscall ()
#1  0x0217ae15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0199578d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x02eaf5ee in ?? () from /usr/lib/libxine.so.1
#4  0x0217680e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x019887ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xb00c9b70 (LWP 3530)):
#0  0x00f1d422 in __kernel_vsyscall ()
#1  0x0217ae15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0199578d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x02eaf5ee in ?? () from /usr/lib/libxine.so.1
#4  0x0217680e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x019887ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xaf8c8b70 (LWP 3531)):
#0  0x00f1d422 in __kernel_vsyscall ()
#1  0x0217ae15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0199578d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x02eaf5ee in ?? () from /usr/lib/libxine.so.1
#4  0x0217680e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x019887ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xb3e09b70 (LWP 3533)):
#0  0x00f1d422 in __kernel_vsyscall ()
#1  0x0217ae15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0199578d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x0471be67 in QWaitConditionPrivate::wait (this=0xa2e3e60, mutex=0xa5a0b58, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa2e3e60, mutex=0xa5a0b58, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00f0cb30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa2e3e48, th=0xa527488) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00f0f19c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa5a0588, th=0xa527488) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00f0b1fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa2e3e48, th=0xa527488) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00f0f292 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa5a0588, th=0xa527488) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00f0cdb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa2e3e48, th=0xa527488, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00f0f2b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa5a0588, th=0xa527488) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00f0cdb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa2e3e48, th=0xa527488, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x00f0f2b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa5a0588, th=0xa527488) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0x00f0cdb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa2e3e48, th=0xa527488, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0x00f0f2b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa5a0588, th=0xa527488) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#15 0x00f0cdb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa2e3e48, th=0xa527488, previous=0xa2b3310) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#16 0x00f0d3be in ThreadWeaver::ThreadRunHelper::run (this=0xb3e092f4, parent=0xa2e3e48, th=0xa527488) at ../../../threadweaver/Weaver/Thread.cpp:87
#17 0x00f0d9db in ThreadWeaver::Thread::run (this=0xa527488) at ../../../threadweaver/Weaver/Thread.cpp:142
#18 0x0471ae32 in QThreadPrivate::start (arg=0xa527488) at thread/qthread_unix.cpp:188
#19 0x0217680e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#20 0x019887ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xb2d2db70 (LWP 3534)):
#0  0x00f1d422 in __kernel_vsyscall ()
#1  0x0217ae15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0199578d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x0471be67 in QWaitConditionPrivate::wait (this=0xa2e3e60, mutex=0xa5a0b58, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa2e3e60, mutex=0xa5a0b58, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00f0cb30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa2e3e48, th=0xa49d3d8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00f0f19c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa5a0588, th=0xa49d3d8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00f0b1fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa2e3e48, th=0xa49d3d8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00f0f292 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa5a0588, th=0xa49d3d8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00f0cdb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa2e3e48, th=0xa49d3d8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00f0f2b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa5a0588, th=0xa49d3d8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00f0cdb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa2e3e48, th=0xa49d3d8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x00f0f2b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa5a0588, th=0xa49d3d8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0x00f0cdb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa2e3e48, th=0xa49d3d8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0x00f0f2b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa5a0588, th=0xa49d3d8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#15 0x00f0cdb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa2e3e48, th=0xa49d3d8, previous=0xa750ab8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#16 0x00f0d3be in ThreadWeaver::ThreadRunHelper::run (this=0xb2d2d2f4, parent=0xa2e3e48, th=0xa49d3d8) at ../../../threadweaver/Weaver/Thread.cpp:87
#17 0x00f0d9db in ThreadWeaver::Thread::run (this=0xa49d3d8) at ../../../threadweaver/Weaver/Thread.cpp:142
#18 0x0471ae32 in QThreadPrivate::start (arg=0xa49d3d8) at thread/qthread_unix.cpp:188
#19 0x0217680e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#20 0x019887ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb252cb70 (LWP 3537)):
#0  0x00f1d422 in __kernel_vsyscall ()
#1  0x0217ae15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0199578d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x0471be67 in QWaitConditionPrivate::wait (this=0xa2e3e60, mutex=0xa5a0b58, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa2e3e60, mutex=0xa5a0b58, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00f0cb30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa2e3e48, th=0xa752078) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00f0f19c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa5a0588, th=0xa752078) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00f0b1fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa2e3e48, th=0xa752078) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00f0f292 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa5a0588, th=0xa752078) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00f0cdb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa2e3e48, th=0xa752078, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00f0f2b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa5a0588, th=0xa752078) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00f0cdb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa2e3e48, th=0xa752078, previous=0xa595cc8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x00f0d3be in ThreadWeaver::ThreadRunHelper::run (this=0xb252c2f4, parent=0xa2e3e48, th=0xa752078) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0x00f0d9db in ThreadWeaver::Thread::run (this=0xa752078) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0x0471ae32 in QThreadPrivate::start (arg=0xa752078) at thread/qthread_unix.cpp:188
#15 0x0217680e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0x019887ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb1d2bb70 (LWP 3538)):
#0  0x00f1d422 in __kernel_vsyscall ()
#1  0x0217ae15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0199578d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x0471be67 in QWaitConditionPrivate::wait (this=0xa2e3e60, mutex=0xa5a0b58, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa2e3e60, mutex=0xa5a0b58, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00f0cb30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa2e3e48, th=0xa73e188) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00f0f19c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa5a0588, th=0xa73e188) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00f0b1fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa2e3e48, th=0xa73e188) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00f0f292 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa5a0588, th=0xa73e188) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00f0cdb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa2e3e48, th=0xa73e188, previous=0xb6d3fd0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00f0d3be in ThreadWeaver::ThreadRunHelper::run (this=0xb1d2b2f4, parent=0xa2e3e48, th=0xa73e188) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x00f0d9db in ThreadWeaver::Thread::run (this=0xa73e188) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x0471ae32 in QThreadPrivate::start (arg=0xa73e188) at thread/qthread_unix.cpp:188
#13 0x0217680e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0x019887ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb777b710 (LWP 3521)):
[KCrash Handler]
#6  QListData::size (this=0xa6ac088) at /usr/include/qt4/QtCore/qlist.h:87
#7  QList<CollectionTreeItem*>::indexOf (this=0xa6ac088) at /usr/include/qt4/QtCore/qlist.h:633
#8  CollectionTreeItem::row (this=0xa6ac088) at /build/buildd/amarok-2.2.0/src/browsers/CollectionTreeItem.cpp:292
#9  0x005a99af in CollectionTreeItemModelBase::queryDone (this=0xa5aec30) at /build/buildd/amarok-2.2.0/src/browsers/CollectionTreeItemModelBase.cpp:654
#10 0x005acbae in CollectionTreeItemModelBase::qt_metacall (this=0xa5aec30, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xac2fd00)
    at /build/buildd/amarok-2.2.0/obj-i486-linux-gnu/src/CollectionTreeItemModelBase.moc:86
#11 0x005a5b6a in CollectionTreeItemModel::qt_metacall (this=0xa5aec30, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0xac2fd00)
    at /build/buildd/amarok-2.2.0/obj-i486-linux-gnu/src/CollectionTreeItemModel.moc:67
#12 0x04819f0b in QMetaCallEvent::placeMetaCall (this=0xa5aaab8, object=0xa5aec30) at kernel/qobject.cpp:477
#13 0x0481b5fe in QObject::event (this=0xa5aec30, e=0xa5aaab8) at kernel/qobject.cpp:1111
#14 0x0103ef54 in QApplicationPrivate::notify_helper (this=0x9c9c7d0, receiver=0xa5aec30, e=0xa5aaab8) at kernel/qapplication.cpp:4056
#15 0x0104667c in QApplication::notify (this=0xbfde0d3c, receiver=0xa5aec30, e=0xa5aaab8) at kernel/qapplication.cpp:3603
#16 0x002e2bfa in KApplication::notify (this=0xbfde0d3c, receiver=0xa5aec30, event=0xa5aaab8) at ../../kdeui/kernel/kapplication.cpp:302
#17 0x0480b6cb in QCoreApplication::notifyInternal (this=0xbfde0d3c, receiver=0xa5aec30, event=0xa5aaab8) at kernel/qcoreapplication.cpp:610
#18 0x0480c2b2 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9bdea18) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9bdea18) at kernel/qcoreapplication.cpp:1247
#20 0x0480c47d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#21 0x048363ff in QCoreApplication::sendPostedEvents (s=0x9c95190) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#22 postEventSourceDispatch (s=0x9c95190) at kernel/qeventdispatcher_glib.cpp:210
#23 0x044cee78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#24 0x044d2720 in ?? () from /lib/libglib-2.0.so.0
#25 0x044d2853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#26 0x0483602c in QEventDispatcherGlib::processEvents (this=0x9bdebf0, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#27 0x010dfbe5 in QGuiEventDispatcherGlib::processEvents (this=0x9bdebf0, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#28 0x04809c79 in QEventLoop::processEvents (this=0xbfde0ca4, flags=) at kernel/qeventloop.cpp:149
#29 0x0480a0ca in QEventLoop::exec (this=0xbfde0ca4, flags=...) at kernel/qeventloop.cpp:201
#30 0x0480c53f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#31 0x0103edd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#32 0x08051e49 in main (argc=1, argv=0xbfde1544) at /build/buildd/amarok-2.2.0/src/main.cpp:225

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2009-11-26 10:45:40 UTC
This is already solved in Amarok 2.2.1, available in the kubuntu bachports PPA (see also here: http://www.kubuntu.org/news/amarok-2.2.1), please update.

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