Bug 268434

Summary: Amarok crashes when external hard drive crashes
Product: [Applications] amarok Reporter: katoiam
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.4.0   
Target Milestone: 2.4.1   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description katoiam 2011-03-14 05:39:22 UTC
Application: amarok (2.4.0)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-29-generic-pae i686
Distribution: Ubuntu 10.04.2 LTS

-- Information about the crash:
Amarok crashes when my external harddrive gets accidently pulled out with out ejecting it properly

The crash can be reproduced every time.

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

Thread 9 (Thread 0xa7f22b70 (LWP 3093)):
#0  0xb7825430 in __kernel_vsyscall ()
#1  0xb55d1015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb595b9dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5b72997 in QWaitConditionPrivate::wait (this=0x9bdd228, mutex=0x9bdd4a8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9bdd228, mutex=0x9bdd4a8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb529a870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9bdd210, th=0x9bdd7d0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb529d38c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9bdd588, th=0x9bdd7d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb529927b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9bdd210, th=0x9bdd7d0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb529d482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9bdd588, th=0x9bdd7d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb529a4d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9bdd210, th=0x9bdd7d0, previous=0xda752d8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb529b51e in ThreadWeaver::ThreadRunHelper::run (this=0xa7f22294, parent=0x9bdd210, th=0x9bdd7d0) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb529bc3b in ThreadWeaver::Thread::run (this=0x9bdd7d0) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb5b71dc9 in QThreadPrivate::start (arg=0x9bdd7d0) at thread/qthread_unix.cpp:266
#13 0xb55cc96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0xb594ea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xa48afb70 (LWP 3094)):
#0  0xb7825430 in __kernel_vsyscall ()
#1  0xb55d1015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb595b9dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5b72997 in QWaitConditionPrivate::wait (this=0x9bdd228, mutex=0x9bdd4a8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9bdd228, mutex=0x9bdd4a8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb529a870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9bdd210, th=0x9bde798) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb529d38c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9bdd588, th=0x9bde798) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb529927b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9bdd210, th=0x9bde798) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb529d482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9bdd588, th=0x9bde798) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb529a4d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9bdd210, th=0x9bde798, previous=0xda74590) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb529b51e in ThreadWeaver::ThreadRunHelper::run (this=0xa48af294, parent=0x9bdd210, th=0x9bde798) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb529bc3b in ThreadWeaver::Thread::run (this=0x9bde798) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb5b71dc9 in QThreadPrivate::start (arg=0x9bde798) at thread/qthread_unix.cpp:266
#13 0xb55cc96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0xb594ea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xa40aeb70 (LWP 3095)):
#0  0xb7825430 in __kernel_vsyscall ()
#1  0xb55d1015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb595b9dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5b72997 in QWaitConditionPrivate::wait (this=0x9bdd228, mutex=0x9bdd4a8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9bdd228, mutex=0x9bdd4a8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb529a870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9bdd210, th=0x9bded00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb529d38c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9bdd588, th=0x9bded00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb529927b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9bdd210, th=0x9bded00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb529d482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9bdd588, th=0x9bded00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb529a4d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9bdd210, th=0x9bded00, previous=0xda73cc8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb529b51e in ThreadWeaver::ThreadRunHelper::run (this=0xa40ae294, parent=0x9bdd210, th=0x9bded00) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb529bc3b in ThreadWeaver::Thread::run (this=0x9bded00) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb5b71dc9 in QThreadPrivate::start (arg=0x9bded00) at thread/qthread_unix.cpp:266
#13 0xb55cc96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0xb594ea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0x98d3eb70 (LWP 3096)):
#0  0xb46e33b0 in g_main_context_check () from /lib/libglib-2.0.so.0
#1  0xb46e3e7e in ?? () from /lib/libglib-2.0.so.0
#2  0xb46e4268 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0xb5ca0f1f in QEventDispatcherGlib::processEvents (this=0x9c46aa8, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#4  0xb5c711a9 in QEventLoop::processEvents (this=0x98d3e230, flags=) at kernel/qeventloop.cpp:149
#5  0xb5c715fa in QEventLoop::exec (this=0x98d3e230, flags=...) at kernel/qeventloop.cpp:201
#6  0xb5b6eaee in QThread::exec (this=0x9c7d058) at thread/qthread.cpp:490
#7  0xb5c502eb in QInotifyFileSystemWatcherEngine::run (this=0x9c7d058) at io/qfilesystemwatcher_inotify.cpp:248
#8  0xb5b71dc9 in QThreadPrivate::start (arg=0x9c7d058) at thread/qthread_unix.cpp:266
#9  0xb55cc96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0xb594ea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xa388fb70 (LWP 3097)):
#0  0xb7825430 in __kernel_vsyscall ()
#1  0xb55d1015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb595b9dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5b72997 in QWaitConditionPrivate::wait (this=0x9bdd228, mutex=0x9bdd4a8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9bdd228, mutex=0x9bdd4a8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb529a870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9bdd210, th=0x9d07c78) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb529d38c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9bdd588, th=0x9d07c78) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb529927b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9bdd210, th=0x9d07c78) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb529d482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9bdd588, th=0x9d07c78) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb529a4d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9bdd210, th=0x9d07c78, previous=0xda74bf0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb529b51e in ThreadWeaver::ThreadRunHelper::run (this=0xa388f294, parent=0x9bdd210, th=0x9d07c78) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb529bc3b in ThreadWeaver::Thread::run (this=0x9d07c78) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb5b71dc9 in QThreadPrivate::start (arg=0x9d07c78) at thread/qthread_unix.cpp:266
#13 0xb55cc96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0xb594ea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xa2effb70 (LWP 3098)):
#0  0xb7825430 in __kernel_vsyscall ()
#1  0xb55d1015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb595b9dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb3ec0aad in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb3ec0b91 in ?? () from /usr/lib/libQtWebKit.so.4
#5  0xb55cc96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb594ea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xa1d21b70 (LWP 3102)):
#0  0xb7825430 in __kernel_vsyscall ()
#1  0xb55d1015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb595b9dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb4c78437 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb4d761a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0xb4c78481 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb4d761a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0xb55cc96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb594ea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xacfb8b70 (LWP 7006)):
#0  0xb7825430 in __kernel_vsyscall ()
#1  0xb5940b86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb43f6502 in ?? () from /usr/lib/libpulse.so.0
#3  0xb43e2a59 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0xb43e4a13 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0xb43e4ae4 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0xb43f62a3 in ?? () from /usr/lib/libpulse.so.0
#7  0xb2de3e02 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#8  0xb55cc96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0xb594ea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb29e59a0 (LWP 3088)):
[KCrash Handler]
#6  0x00000000 in ?? ()
#7  0xb113b493 in Phonon::Gstreamer::MediaObject::changeState (this=0x9691a58, newstate=Phonon::ErrorState) at ../../gstreamer/mediaobject.cpp:761
#8  0xb11406d7 in Phonon::Gstreamer::MediaObject::handleBusMessage (this=0x9691a58, message=...) at ../../gstreamer/mediaobject.cpp:1495
#9  0xb1131f5e in Phonon::Gstreamer::Backend::handleBusMessage (this=0x95414f0, message=...) at ../../gstreamer/backend.cpp:432
#10 0xb1132009 in Phonon::Gstreamer::Backend::qt_metacall (this=0x95414f0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xd5e20a0) at ./moc_backend.cpp:82
#11 0xb5c7842a in QMetaObject::metacall (object=0x95414f0, cl=202039144, idx=5, argv=0xd5e20a0) at kernel/qmetaobject.cpp:237
#12 0xb5c83916 in QMetaCallEvent::placeMetaCall (this=0xc866c28, object=0x95414f0) at kernel/qobject.cpp:534
#13 0xb5c851b2 in QObject::event (this=0x95414f0, e=0x969e4d8) at kernel/qobject.cpp:1219
#14 0xb613e94c in QApplicationPrivate::notify_helper (this=0x94915b0, receiver=0x95414f0, e=0xc866c28) at kernel/qapplication.cpp:4358
#15 0xb6145d1e in QApplication::notify (this=0xbfa18e74, receiver=0x95414f0, e=0xc866c28) at kernel/qapplication.cpp:3762
#16 0xb764b40a in KApplication::notify (this=0xbfa18e74, receiver=0x95414f0, event=0xc866c28) at ../../kdeui/kernel/kapplication.cpp:302
#17 0xb5c726cb in QCoreApplication::notifyInternal (this=0xbfa18e74, receiver=0x95414f0, event=0xc866c28) at kernel/qcoreapplication.cpp:732
#18 0xb5c7592b in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x93a6558) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x93a6558) at kernel/qcoreapplication.cpp:1373
#20 0xb5c75aed in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#21 0xb5ca13ef in QCoreApplication::sendPostedEvents (s=0x9495390) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#22 postEventSourceDispatch (s=0x9495390) at kernel/qeventdispatcher_glib.cpp:276
#23 0xb46e0265 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#24 0xb46e4088 in ?? () from /lib/libglib-2.0.so.0
#25 0xb46e4268 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#26 0xb5ca0ee5 in QEventDispatcherGlib::processEvents (this=0x93a6738, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#27 0xb61ff725 in QGuiEventDispatcherGlib::processEvents (this=0x93a6738, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0xb5c711a9 in QEventLoop::processEvents (this=0xbfa18de4, flags=) at kernel/qeventloop.cpp:149
#29 0xb5c715fa in QEventLoop::exec (this=0xbfa18de4, flags=...) at kernel/qeventloop.cpp:201
#30 0xb5c75baf in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#31 0xb613d777 in QApplication::exec () at kernel/qapplication.cpp:3637
#32 0x080512e9 in main (argc=1, argv=0xbfa19834) at ../../src/main.cpp:268

Possible duplicates by query: bug 265172, bug 264305, bug 263471, bug 263302, bug 262308.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2011-03-19 04:15:18 UTC
The problem is with the Phonon gstreamer backend.

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