Bug 222966

Summary: Amarok crashed when i plug external usb disk and start ktorrent
Product: [Applications] amarok Reporter: boldak <boldak.prasek>
Component: Collection BrowserAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash CC: maximilian.kossick
Priority: NOR    
Version: 2.2.2   
Target Milestone: 2.3.0   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description boldak 2010-01-16 13:09:52 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 plug my external USB disk on my computer, Amarok is 100% ready. When after i try start ktorrent amarok crashed and USB disk always restart.

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

Thread 11 (Thread 0x7fb3b76eb910 (LWP 2935)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fb3bc4a0c91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fb3c7a4ca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fb3ccba680d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fb3b61a2910 (LWP 2936)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fb3b61a1d10 in ?? ()
#2  0x00007fffdf9ff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
The current source language is "auto; currently asm".

Thread 9 (Thread 0x7fb3b5797910 (LWP 2939)):
#0  0x00007fb3ccb98abb in read () from /lib/libc.so.6
#1  0x00007fb3bcb44ad5 in ?? () from /usr/lib/libasound.so.2
#2  0x00007fb3bcb3f818 in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#3  0x00007fb3bcb49589 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#4  0x00007fb3b579dd04 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#5  0x00007fb3c7a4ca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fb3ccba680d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fb3b4f96910 (LWP 2940)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fb3bc4b1983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fb3c7a4ca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fb3ccba680d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 7 (Thread 0x7fb3affff910 (LWP 2941)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fb3bc4b1983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fb3c7a4ca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fb3ccba680d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 6 (Thread 0x7fb3af7fe910 (LWP 2942)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fb3bc4b1983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fb3c7a4ca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fb3ccba680d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fb3ae353910 (LWP 2944)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fb3cd3bc4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2742f60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2742f60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fb3ca798326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2742bf0, th=0x2743560) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb3ca79a45b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2743080, th=0x2743560) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb3ca798a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7fb3ae353030, parent=0x2742bf0, th=0x2743560) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fb3ca798eb8 in ThreadWeaver::Thread::run (this=0x2743560) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fb3cd3bb445 in QThreadPrivate::start (arg=0x2743560) at thread/qthread_unix.cpp:188
#8  0x00007fb3c7a4ca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fb3ccba680d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fb3a6ca7910 (LWP 2945)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fb3cd3bc4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2742f60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2742f60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fb3ca798326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2742bf0, th=0x27ff920) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb3ca79a45b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2743080, th=0x27ff920) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb3ca798a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7fb3a6ca7030, parent=0x2742bf0, th=0x27ff920) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fb3ca798eb8 in ThreadWeaver::Thread::run (this=0x27ff920) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fb3cd3bb445 in QThreadPrivate::start (arg=0x27ff920) at thread/qthread_unix.cpp:188
#8  0x00007fb3c7a4ca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fb3ccba680d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb3a5ca5910 (LWP 2948)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fb3cd3bc4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2742f60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2742f60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fb3ca798326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2742bf0, th=0x2567f00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb3ca79a45b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2743080, th=0x2567f00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb3ca79a474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2743080, th=0x2567f00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fb3ca79a474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2743080, th=0x2567f00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fb3ca79a474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2743080, th=0x2567f00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007fb3ca79a474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2743080, th=0x2567f00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007fb3ca79a474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2743080, th=0x2567f00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00007fb3ca79a474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2743080, th=0x2567f00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00007fb3ca798a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7fb3a5ca5030, parent=0x2742bf0, th=0x2567f00) at ../../../threadweaver/Weaver/Thread.cpp:87
#12 0x00007fb3ca798eb8 in ThreadWeaver::Thread::run (this=0x2567f00) at ../../../threadweaver/Weaver/Thread.cpp:142
#13 0x00007fb3cd3bb445 in QThreadPrivate::start (arg=0x2567f00) at thread/qthread_unix.cpp:188
#14 0x00007fb3c7a4ca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#15 0x00007fb3ccba680d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb3a54a4910 (LWP 2949)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fb3cd3bc4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2742f60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2742f60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fb3ca798326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2742bf0, th=0x23f2340) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb3ca79a45b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2743080, th=0x23f2340) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb3ca798a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7fb3a54a4030, parent=0x2742bf0, th=0x23f2340) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fb3ca798eb8 in ThreadWeaver::Thread::run (this=0x23f2340) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fb3cd3bb445 in QThreadPrivate::start (arg=0x23f2340) at thread/qthread_unix.cpp:188
#8  0x00007fb3c7a4ca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fb3ccba680d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb3cfabb770 (LWP 2934)):
[KCrash Handler]
#5  QListData::size (this=0x29ef2f0) at /usr/include/qt4/QtCore/qlist.h:87
#6  QList<CollectionTreeItem*>::indexOf (this=0x29ef2f0) at /usr/include/qt4/QtCore/qlist.h:633
#7  CollectionTreeItem::row (this=0x29ef2f0) at /build/buildd/amarok-2.2.2/src/browsers/CollectionTreeItem.cpp:295
#8  0x00007fb3ce966a24 in CollectionTreeItemModelBase::queryDone (this=0x2645090) at /build/buildd/amarok-2.2.2/src/browsers/CollectionTreeItemModelBase.cpp:679
#9  0x00007fb3ce96a985 in CollectionTreeItemModelBase::qt_metacall (this=0x2645090, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x2cf3580)
    at /build/buildd/amarok-2.2.2/obj-x86_64-linux-gnu/src/CollectionTreeItemModelBase.moc:86
#10 0x00007fb3ce9627a0 in CollectionTreeItemModel::qt_metacall (this=0x29ef2f0, _c=30515328, _id=7536640, _a=0x29ef2f0)
    at /build/buildd/amarok-2.2.2/obj-x86_64-linux-gnu/src/CollectionTreeItemModel.moc:67
#11 0x00007fb3cd4b10f9 in QObject::event (this=0x2645090, e=0x76ed460) at kernel/qobject.cpp:1111
#12 0x00007fb3cddc5efc in QApplicationPrivate::notify_helper (this=0x195fd10, receiver=0x2645090, e=0x76ed460) at kernel/qapplication.cpp:4056
#13 0x00007fb3cddcd1ce in QApplication::notify (this=0x7fffdf9b4260, receiver=0x2645090, e=0x76ed460) at kernel/qapplication.cpp:4021
#14 0x00007fb3ced498ea in App::notify (this=0x29ef2f0, receiver=0x1d1a080, event=0x6f006800730000) at /build/buildd/amarok-2.2.2/src/App.cpp:856
#15 0x00007fb3cd4a1c2c in QCoreApplication::notifyInternal (this=0x7fffdf9b4260, receiver=0x2645090, event=0x76ed460) at kernel/qcoreapplication.cpp:610
#16 0x00007fb3cd4a280a in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1837f60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#17 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1837f60) at kernel/qcoreapplication.cpp:1247
#18 0x00007fb3cd4ca533 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#19 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#20 0x00007fb3c6139bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#21 0x00007fb3c613d598 in ?? () from /lib/libglib-2.0.so.0
#22 0x00007fb3c613d6c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#23 0x00007fb3cd4ca1a6 in QEventDispatcherGlib::processEvents (this=0x1837b90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#24 0x00007fb3cde5a4be in QGuiEventDispatcherGlib::processEvents (this=0x29ef2f0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#25 0x00007fb3cd4a0532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#26 0x00007fb3cd4a0904 in QEventLoop::exec (this=0x7fffdf9b41f0, flags=) at kernel/qeventloop.cpp:201
#27 0x00007fb3cd4a2ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#28 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 11:38:53 UTC

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