Bug 305205

Summary: Amarok reliably crashes on shutdown
Product: [Applications] amarok Reporter: gerdn
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.5.0   
Target Milestone: 2.7   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description gerdn 2012-08-15 15:47:22 UTC
Application: amarok (2.5.0)
KDE Platform Version: 4.9.00
Qt Version: 4.8.1
Operating System: Linux 3.2.0-29-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
Whenever Amarok is shutdown, it crashes except when no music ever has been played.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f189fd64780 (LWP 6330))]

Thread 15 (Thread 0x7f18819cb700 (LWP 6333)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f188323252d in ?? () from /usr/lib/libvlccore.so.5
#2  0x00007f1898d78e9a in start_thread (arg=0x7f18819cb700) at pthread_create.c:308
#3  0x00007f189c6674bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f187a29d700 (LWP 6335)):
#0  0x00007f189c65a0bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f18972958cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f189725aba4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f189725afd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f189725b164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f189cff2426 in QEventDispatcherGlib::processEvents (this=0x7f1874000900, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f189cfc1c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f189cfc1ed7 in QEventLoop::exec (this=0x7f187a29cdd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f189cec0fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f189cfa19ff in QInotifyFileSystemWatcherEngine::run (this=0x1f3b1c0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f189cec3fcb in QThreadPrivate::start (arg=0x1f3b1c0) at thread/qthread_unix.cpp:298
#11 0x00007f1898d78e9a in start_thread (arg=0x7f187a29d700) at pthread_create.c:308
#12 0x00007f189c6674bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f18734cf700 (LWP 6336)):
#0  0x00007f189c65a0bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f18972958cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f189725aba4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f189725afd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f189725b164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f189cff2426 in QEventDispatcherGlib::processEvents (this=0x7f186c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f189cfc1c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f189cfc1ed7 in QEventLoop::exec (this=0x7f18734cee00, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f189cec0fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f189cec3fcb in QThreadPrivate::start (arg=0x2217b00) at thread/qthread_unix.cpp:298
#10 0x00007f1898d78e9a in start_thread (arg=0x7f18734cf700) at pthread_create.c:308
#11 0x00007f189c6674bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f187202f700 (LWP 6337)):
#0  0x00007f1897296345 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f1897296599 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f189725b150 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f189cff2426 in QEventDispatcherGlib::processEvents (this=0x7f18640008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f189cfc1c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f189cfc1ed7 in QEventLoop::exec (this=0x7f187202ee00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f189cec0fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f189cec3fcb in QThreadPrivate::start (arg=0x224ee60) at thread/qthread_unix.cpp:298
#8  0x00007f1898d78e9a in start_thread (arg=0x7f187202f700) at pthread_create.c:308
#9  0x00007f189c6674bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f1870c22700 (LWP 6339)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f189cec44db in wait (time=18446744073709551615, this=0x229fba0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x229fd20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f189a30e0eb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x229fa50, th=0x22a0140) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f189a3109db in ThreadWeaver::WorkingHardState::applyForWork (this=0x229fdf0, th=0x22a0140) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f189a3109f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x229fdf0, th=0x22a0140) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f189a30f84f in ThreadWeaver::ThreadRunHelper::run (this=0x7f1870c21e20, parent=0x229fa50, th=0x22a0140) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f189a30f8db in ThreadWeaver::Thread::run (this=0x22a0140) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f189cec3fcb in QThreadPrivate::start (arg=0x22a0140) at thread/qthread_unix.cpp:298
#9  0x00007f1898d78e9a in start_thread (arg=0x7f1870c22700) at pthread_create.c:308
#10 0x00007f189c6674bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f186350a700 (LWP 6340)):
#0  0x00007f1898d7afc0 in __pthread_mutex_lock (mutex=0x7f1858000a60) at pthread_mutex_lock.c:113
#1  0x00007f18972965a1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f189725a337 in g_main_context_release () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f189725afe9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f189725b164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f189cff2426 in QEventDispatcherGlib::processEvents (this=0x7f18580008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f189cfc1c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f189cfc1ed7 in QEventLoop::exec (this=0x7f1863509dd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f189cec0fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f189cfa19ff in QInotifyFileSystemWatcherEngine::run (this=0x25be6a0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f189cec3fcb in QThreadPrivate::start (arg=0x25be6a0) at thread/qthread_unix.cpp:298
#11 0x00007f1898d78e9a in start_thread (arg=0x7f186350a700) at pthread_create.c:308
#12 0x00007f189c6674bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f18628e1700 (LWP 6341)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f189cec44db in wait (time=18446744073709551615, this=0x229fba0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x229fd20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f189a30e0eb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x229fa50, th=0x25de330) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f189a3109db in ThreadWeaver::WorkingHardState::applyForWork (this=0x229fdf0, th=0x25de330) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f189a30f84f in ThreadWeaver::ThreadRunHelper::run (this=0x7f18628e0e20, parent=0x229fa50, th=0x25de330) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f189a30f8db in ThreadWeaver::Thread::run (this=0x25de330) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f189cec3fcb in QThreadPrivate::start (arg=0x25de330) at thread/qthread_unix.cpp:298
#8  0x00007f1898d78e9a in start_thread (arg=0x7f18628e1700) at pthread_create.c:308
#9  0x00007f189c6674bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f18620e0700 (LWP 6342)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f189cec44db in wait (time=18446744073709551615, this=0x229fba0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x229fd20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f189a30e0eb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x229fa50, th=0x262d0f0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f189a3109db in ThreadWeaver::WorkingHardState::applyForWork (this=0x229fdf0, th=0x262d0f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f189a3109f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x229fdf0, th=0x262d0f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f189a3109f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x229fdf0, th=0x262d0f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f189a3109f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x229fdf0, th=0x262d0f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f189a3109f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x229fdf0, th=0x262d0f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007f189a3109f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x229fdf0, th=0x262d0f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00007f189a3109f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x229fdf0, th=0x262d0f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00007f189a3109f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x229fdf0, th=0x262d0f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#12 0x00007f189a30f84f in ThreadWeaver::ThreadRunHelper::run (this=0x7f18620dfe20, parent=0x229fa50, th=0x262d0f0) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0x00007f189a30f8db in ThreadWeaver::Thread::run (this=0x262d0f0) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0x00007f189cec3fcb in QThreadPrivate::start (arg=0x262d0f0) at thread/qthread_unix.cpp:298
#15 0x00007f1898d78e9a in start_thread (arg=0x7f18620e0700) at pthread_create.c:308
#16 0x00007f189c6674bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f18618df700 (LWP 6343)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f189cec44db in wait (time=18446744073709551615, this=0x229fba0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x229fd20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f189a30e0eb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x229fa50, th=0x25dcd50) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f189a3109db in ThreadWeaver::WorkingHardState::applyForWork (this=0x229fdf0, th=0x25dcd50) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f189a30f84f in ThreadWeaver::ThreadRunHelper::run (this=0x7f18618dee20, parent=0x229fa50, th=0x25dcd50) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f189a30f8db in ThreadWeaver::Thread::run (this=0x25dcd50) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f189cec3fcb in QThreadPrivate::start (arg=0x25dcd50) at thread/qthread_unix.cpp:298
#8  0x00007f1898d78e9a in start_thread (arg=0x7f18618df700) at pthread_create.c:308
#9  0x00007f189c6674bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f1860a9d700 (LWP 6344)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1893e96dec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f1893e96f19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f1898d78e9a in start_thread (arg=0x7f1860a9d700) at pthread_create.c:308
#4  0x00007f189c6674bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f184f3c3700 (LWP 6347)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1899352222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f1899352259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f1898d78e9a in start_thread (arg=0x7f184f3c3700) at pthread_create.c:308
#4  0x00007f189c6674bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f183bdc6700 (LWP 7685)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f18832a490b in vlc_cond_timedwait () from /usr/lib/libvlccore.so.5
#2  0x00007f18832595e1 in ?? () from /usr/lib/libvlccore.so.5
#3  0x00007f188325a185 in ?? () from /usr/lib/libvlccore.so.5
#4  0x00007f1898d78e9a in start_thread (arg=0x7f183bdc6700) at pthread_create.c:308
#5  0x00007f189c6674bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1838150700 (LWP 7686)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1883286726 in block_FifoGet () from /usr/lib/libvlccore.so.5
#2  0x00007f1883246be5 in ?? () from /usr/lib/libvlccore.so.5
#3  0x00007f1898d78e9a in start_thread (arg=0x7f1838150700) at pthread_create.c:308
#4  0x00007f189c6674bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f182bfff700 (LWP 7687)):
#0  0x00007f1894aa9e92 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#1  0x00007f1894ab830f in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007f188fefad18 in ?? () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so
#3  0x00007f1898d78e9a in start_thread (arg=0x7f182bfff700) at pthread_create.c:308
#4  0x00007f189c6674bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f189fd64780 (LWP 6330)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f189ec0f02e in qDeleteAll<QList<Collections::Collection*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#8  qDeleteAll<SmartPointerList<Collections::Collection> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#9  CollectionManager::~CollectionManager (this=0x1d25f10, __in_chrg=<optimized out>) at ../../src/core-impl/collections/support/CollectionManager.cpp:137
#10 0x00007f189ec0f209 in CollectionManager::~CollectionManager (this=0x1d25f10, __in_chrg=<optimized out>) at ../../src/core-impl/collections/support/CollectionManager.cpp:145
#11 0x00007f189ec0d4b6 in CollectionManager::destroy () at ../../src/core-impl/collections/support/CollectionManager.cpp:107
#12 0x00007f189ed424cf in App::~App (this=0x7ffffc3bcdf0, __in_chrg=<optimized out>) at ../../src/App.cpp:248
#13 0x0000000000408e5a in main (argc=1, argv=0x7ffffc3bf278) at ../../src/main.cpp:303

Possible duplicates by query: bug 304925, bug 304818, bug 304719, bug 304474, bug 304007.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-08-15 15:55:19 UTC

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