Bug 215018

Summary: Amarok crashed when ejecting a CD (?)
Product: [Applications] amarok Reporter: schoenmann
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash CC: dmacquarrie
Priority: NOR    
Version: 2.2.0   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi

Description schoenmann 2009-11-17 20:41:50 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

What I was doing when the application crashed:
I Inserted a CD, then ejected another CD (from the other tray) and noticed the crash when I looked back at the screen. I didn't even know Amarok was running, but I guess it was minimized and with dynamic mode enabled.

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

Thread 12 (Thread 0xb58e9b70 (LWP 2930)):
#0  0x00cdc422 in __kernel_vsyscall ()
#1  0x019bd142 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x00db67e4 in __pthread_cond_timedwait (cond=0x9877b08, mutex=0x9877af0, abstime=0xb58e9320) at forward.c:152
#3  0x02a599ff in ?? () from /usr/lib/libxine.so.1
#4  0x019b880e in start_thread (arg=0xb58e9b70) at pthread_create.c:300
#5  0x00da97ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 11 (Thread 0xb50e8b70 (LWP 2931)):
#0  0x05711e06 in *__GI_clock_gettime (clock_id=91316212, tp=0xb50e7fe8) at ../sysdeps/unix/clock_gettime.c:100
#1  0x01bb4bf3 in QTimerInfoList::getTime (this=0x97db9ec, t=...) at kernel/qeventdispatcher_unix.cpp:339
#2  0x01bb4de1 in QTimerInfoList::updateCurrentTime (this=0x97db9ec) at kernel/qeventdispatcher_unix.cpp:297
#3  0x01bb588c in QTimerInfoList::timerWait (this=0x97db9ec, tm=...) at kernel/qeventdispatcher_unix.cpp:420
#4  0x01bb3210 in timerSourcePrepare (source=0x97db9b8, timeout=0xb50e80dc) at kernel/qeventdispatcher_glib.cpp:141
#5  0x06fb0f80 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#6  0x06fb1341 in ?? () from /lib/libglib-2.0.so.0
#7  0x06fb1853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0x01bb3067 in QEventDispatcherGlib::processEvents (this=0x97dc530, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#9  0x01b86c79 in QEventLoop::processEvents (this=0xb50e82a4, flags=) at kernel/qeventloop.cpp:149
#10 0x01b870ca in QEventLoop::exec (this=0xb50e82a4, flags=...) at kernel/qeventloop.cpp:201
#11 0x01a94b73 in QThread::exec (this=0x97dbac8) at thread/qthread.cpp:487
#12 0x029f820a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#13 0x01a97e32 in QThreadPrivate::start (arg=0x97dbac8) at thread/qthread_unix.cpp:188
#14 0x019b880e in start_thread (arg=0xb50e8b70) at pthread_create.c:300
#15 0x00da97ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 10 (Thread 0xb46ffb70 (LWP 2934)):
#0  0x00cdc422 in __kernel_vsyscall ()
#1  0x00d99ecb in read () from /lib/tls/i686/cmov/libc.so.6
#2  0x0627e932 in ?? () from /usr/lib/libasound.so.2
#3  0x0627b71d in snd_ctl_read () from /usr/lib/libasound.so.2
#4  0x06277aff in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#5  0x06283911 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#6  0x05e29c89 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#7  0x019b880e in start_thread (arg=0xb46ffb70) at pthread_create.c:300
#8  0x00da97ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
The current source language is "auto; currently c".

Thread 9 (Thread 0xb3efeb70 (LWP 2935)):
#0  0x00cdc422 in __kernel_vsyscall ()
#1  0x019bce15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x00db678d in __pthread_cond_wait (cond=0x989ab80, mutex=0x989ab68) at forward.c:139
#3  0x02a6a5ee in ?? () from /usr/lib/libxine.so.1
#4  0x019b880e in start_thread (arg=0xb3efeb70) at pthread_create.c:300
#5  0x00da97ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xb34ffb70 (LWP 2936)):
#0  0x00cdc422 in __kernel_vsyscall ()
#1  0x019bce15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x00db678d in __pthread_cond_wait (cond=0xb471f2f8, mutex=0xb471f2e0) at forward.c:139
#3  0x02a6a5ee in ?? () from /usr/lib/libxine.so.1
#4  0x019b880e in start_thread (arg=0xb34ffb70) at pthread_create.c:300
#5  0x00da97ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xb2cfeb70 (LWP 2937)):
#0  0x00cdc422 in __kernel_vsyscall ()
#1  0x019bce15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x00db678d in __pthread_cond_wait (cond=0x9a44690, mutex=0x9a44678) at forward.c:139
#3  0x02a6a5ee in ?? () from /usr/lib/libxine.so.1
#4  0x019b880e in start_thread (arg=0xb2cfeb70) at pthread_create.c:300
#5  0x00da97ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xb1e07b70 (LWP 2939)):
#0  0x00cdc422 in __kernel_vsyscall ()
#1  0x00da2981 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0x02a82be0 in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x02a67011 in ?? () from /usr/lib/libxine.so.1
#4  0x019b880e in start_thread (arg=0xb1e07b70) at pthread_create.c:300
#5  0x00da97ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xb0a0cb70 (LWP 2940)):
#0  0x00cdc422 in __kernel_vsyscall ()
#1  0x019bce15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x00db678d in __pthread_cond_wait (cond=0xa5a4940, mutex=0xa5a4928) at forward.c:139
#3  0x01a98e67 in QWaitConditionPrivate::wait (this=0xa5a4838, mutex=0xa5a4ac8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa5a4838, mutex=0xa5a4ac8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00ccdb30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa5a4820, th=0xa5a4e78) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00cd019c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa5a4ba8, th=0xa5a4e78) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00ccc1fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa5a4820, th=0xa5a4e78) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00cd0292 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa5a4ba8, th=0xa5a4e78) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00ccddb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa5a4820, th=0xa5a4e78, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00cd02b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa5a4ba8, th=0xa5a4e78) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00ccddb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa5a4820, th=0xa5a4e78, previous=0xa67a4b8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x00cce3be in ThreadWeaver::ThreadRunHelper::run (this=0xb0a0c2f4, parent=0xa5a4820, th=0xa5a4e78) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0x00cce9db in ThreadWeaver::Thread::run (this=0xa5a4e78) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0x01a97e32 in QThreadPrivate::start (arg=0xa5a4e78) at thread/qthread_unix.cpp:188
#15 0x019b880e in start_thread (arg=0xb0a0cb70) at pthread_create.c:300
#16 0x00da97ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xb020bb70 (LWP 2941)):
#0  0x00cdc422 in __kernel_vsyscall ()
#1  0x019bce15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x00db678d in __pthread_cond_wait (cond=0xa5a4940, mutex=0xa5a4928) at forward.c:139
#3  0x01a98e67 in QWaitConditionPrivate::wait (this=0xa5a4838, mutex=0xa5a4ac8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa5a4838, mutex=0xa5a4ac8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00ccdb30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa5a4820, th=0xa5a6b00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00cd019c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa5a4ba8, th=0xa5a6b00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00ccc1fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa5a4820, th=0xa5a6b00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00cd0292 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa5a4ba8, th=0xa5a6b00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00ccddb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa5a4820, th=0xa5a6b00, previous=0xa60dd58) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00cce3be in ThreadWeaver::ThreadRunHelper::run (this=0xb020b2f4, parent=0xa5a4820, th=0xa5a6b00) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x00cce9db in ThreadWeaver::Thread::run (this=0xa5a6b00) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x01a97e32 in QThreadPrivate::start (arg=0xa5a6b00) at thread/qthread_unix.cpp:188
#13 0x019b880e in start_thread (arg=0xb020bb70) at pthread_create.c:300
#14 0x00da97ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xafa0ab70 (LWP 2942)):
#0  0x00cdc422 in __kernel_vsyscall ()
#1  0x019bce15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x00db678d in __pthread_cond_wait (cond=0xa5a4940, mutex=0xa5a4928) at forward.c:139
#3  0x01a98e67 in QWaitConditionPrivate::wait (this=0xa5a4838, mutex=0xa5a4ac8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa5a4838, mutex=0xa5a4ac8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00ccdb30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa5a4820, th=0xa5a8958) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00cd019c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa5a4ba8, th=0xa5a8958) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00ccc1fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa5a4820, th=0xa5a8958) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00cd0292 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa5a4ba8, th=0xa5a8958) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00ccddb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa5a4820, th=0xa5a8958, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00cd02b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa5a4ba8, th=0xa5a8958) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00ccddb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa5a4820, th=0xa5a8958, previous=0x9cbbfb0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x00cce3be in ThreadWeaver::ThreadRunHelper::run (this=0xafa0a2f4, parent=0xa5a4820, th=0xa5a8958) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0x00cce9db in ThreadWeaver::Thread::run (this=0xa5a8958) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0x01a97e32 in QThreadPrivate::start (arg=0xa5a8958) at thread/qthread_unix.cpp:188
#15 0x019b880e in start_thread (arg=0xafa0ab70) at pthread_create.c:300
#16 0x00da97ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xaf209b70 (LWP 2943)):
#0  0x00cdc422 in __kernel_vsyscall ()
#1  0x019bce15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x00db678d in __pthread_cond_wait (cond=0xa5a4940, mutex=0xa5a4928) at forward.c:139
#3  0x01a98e67 in QWaitConditionPrivate::wait (this=0xa5a4838, mutex=0xa5a4ac8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa5a4838, mutex=0xa5a4ac8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00ccdb30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa5a4820, th=0xa5b9d60) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00cd019c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa5a4ba8, th=0xa5b9d60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00ccc1fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa5a4820, th=0xa5b9d60) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00cd0292 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa5a4ba8, th=0xa5b9d60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00ccddb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa5a4820, th=0xa5b9d60, previous=0x9cbf7a8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00cce3be in ThreadWeaver::ThreadRunHelper::run (this=0xaf2092f4, parent=0xa5a4820, th=0xa5b9d60) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x00cce9db in ThreadWeaver::Thread::run (this=0xa5b9d60) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x01a97e32 in QThreadPrivate::start (arg=0xa5b9d60) at thread/qthread_unix.cpp:188
#13 0x019b880e in start_thread (arg=0xaf209b70) at pthread_create.c:300
#14 0x00da97ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7875710 (LWP 2929)):
[KCrash Handler]
#6  0x00214173 in CollectionTreeItemModel::collectionRemoved (this=0xa507e28, collectionId=...) at /build/buildd/amarok-2.2.0/src/browsers/CollectionTreeItemModel.cpp:179
#7  0x00213bd8 in CollectionTreeItemModel::qt_metacall (this=0xa507e28, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0xbfe59eb8)
    at /build/buildd/amarok-2.2.0/obj-i486-linux-gnu/src/CollectionTreeItemModel.moc:73
#8  0x01b9e263 in QMetaObject::activate (sender=0x9a45d70, from_signal_index=6, to_signal_index=6, argv=0xbfe59eb8) at kernel/qobject.cpp:3113
#9  0x01b9eec2 in QMetaObject::activate (sender=0x9a45d70, m=0x6bcdc0, local_signal_index=2, argv=0xbfe59eb8) at kernel/qobject.cpp:3187
#10 0x0043c043 in CollectionManager::collectionRemoved (this=0x9a45d70, _t1=...) at /build/buildd/amarok-2.2.0/obj-i486-linux-gnu/src/CollectionManager.moc:144
#11 0x0043cdd1 in CollectionManager::slotRemoveCollection (this=0x9a45d70) at /build/buildd/amarok-2.2.0/src/collection/CollectionManager.cpp:317
#12 0x0043ec4b in CollectionManager::qt_metacall (this=0x9a45d70, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x9d93db8)
    at /build/buildd/amarok-2.2.0/obj-i486-linux-gnu/src/CollectionManager.moc:116
#13 0x01b96f0b in QMetaCallEvent::placeMetaCall (this=0xa5b9a40, object=0x9a45d70) at kernel/qobject.cpp:477
#14 0x01b985fe in QObject::event (this=0x9a45d70, e=0xa5b9a40) at kernel/qobject.cpp:1111
#15 0x01032f54 in QApplicationPrivate::notify_helper (this=0x977f5f8, receiver=0x9a45d70, e=0xa5b9a40) at kernel/qapplication.cpp:4056
#16 0x0103a67c in QApplication::notify (this=0xbfe5a72c, receiver=0x9a45d70, e=0xa5b9a40) at kernel/qapplication.cpp:3603
#17 0x00a05bfa in KApplication::notify (this=0xbfe5a72c, receiver=0x9a45d70, event=0xa5b9a40) at ../../kdeui/kernel/kapplication.cpp:302
#18 0x01b886cb in QCoreApplication::notifyInternal (this=0xbfe5a72c, receiver=0x9a45d70, event=0xa5b9a40) at kernel/qcoreapplication.cpp:610
#19 0x01b892b2 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x96b9a18) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x96b9a18) at kernel/qcoreapplication.cpp:1247
#21 0x01b8947d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#22 0x01bb33ff in QCoreApplication::sendPostedEvents (s=0x976fb10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#23 postEventSourceDispatch (s=0x976fb10) at kernel/qeventdispatcher_glib.cpp:210
#24 0x06fade78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#25 0x06fb1720 in ?? () from /lib/libglib-2.0.so.0
#26 0x06fb1853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#27 0x01bb302c in QEventDispatcherGlib::processEvents (this=0x96b9bf0, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#28 0x010d3be5 in QGuiEventDispatcherGlib::processEvents (this=0x96b9bf0, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#29 0x01b86c79 in QEventLoop::processEvents (this=0xbfe5a694, flags=) at kernel/qeventloop.cpp:149
#30 0x01b870ca in QEventLoop::exec (this=0xbfe5a694, flags=...) at kernel/qeventloop.cpp:201
#31 0x01b8953f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#32 0x01032dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#33 0x08051e49 in main (argc=1, argv=0xbfe5af34) at /build/buildd/amarok-2.2.0/src/main.cpp:225

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2009-11-17 21:45:48 UTC
This is solved in Amarok 2.2.1, available in the kubuntu-backports PPA

*** This bug has been marked as a duplicate of bug 206579 ***
Comment 2 David MacQuarrie 2011-04-10 03:55:12 UTC
Created attachment 58756 [details]
New crash information added by DrKonqi

I was burning mp3 from my cd's using RubyRippper.  When CD ejected I got the crash report.  This is most likely related to the existing bug report I am attaching this to.
Comment 3 Myriam Schweingruber 2011-04-10 15:15:58 UTC
David: you should not add reports to closed bugs. I also strongly suggest you upgrade your Amarok version, 2.3.0 is rather old now, we ill release 2.4.1 in a few weeks.