Bug 308752

Summary: amrok 2.5 crashes on exit
Product: [Applications] amarok Reporter: erich gamba <erichgamba>
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 erich gamba 2012-10-21 12:44:09 UTC
Application: amarok (2.5.0)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-32-generic-pae i686
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed: closed amrok version 2.6. 
This is happening every time. This is on an up to date kubuntu 12.04

The crash can be reproduced every time.

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

Thread 12 (Thread 0xafd59b40 (LWP 4286)):
#0  0x0013d416 in __kernel_vsyscall ()
#1  0x0078d5f0 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x04a394c6 in ?? () from /usr/lib/i386-linux-gnu/libpulse.so.0
#3  0x04a2775a in pa_mainloop_poll () from /usr/lib/i386-linux-gnu/libpulse.so.0
#4  0x04a27fb7 in pa_mainloop_iterate () from /usr/lib/i386-linux-gnu/libpulse.so.0
#5  0x04a28094 in pa_mainloop_run () from /usr/lib/i386-linux-gnu/libpulse.so.0
#6  0x04a3944e in ?? () from /usr/lib/i386-linux-gnu/libpulse.so.0
#7  0x046bc246 in ?? () from /usr/lib/i386-linux-gnu/libpulsecommon-1.1.so
#8  0x04222d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0x0079bd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 11 (Thread 0xaaaa2b40 (LWP 4288)):
#0  0x053b2408 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0x0537309b in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x05373201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x03e0f8e7 in QEventDispatcherGlib::processEvents (this=0xaa100488, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x03ddb50d in QEventLoop::processEvents (this=0xaaaa2240, flags=...) at kernel/qeventloop.cpp:149
#5  0x03ddb7a9 in QEventLoop::exec (this=0xaaaa2240, flags=...) at kernel/qeventloop.cpp:204
#6  0x03cc494c in QThread::exec (this=0x8d01650) at thread/qthread.cpp:501
#7  0x03db8b5d in QInotifyFileSystemWatcherEngine::run (this=0x8d01650) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x03cc7de0 in QThreadPrivate::start (arg=0x8d01650) at thread/qthread_unix.cpp:298
#9  0x04222d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#10 0x0079bd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 10 (Thread 0xa8ff7b40 (LWP 4289)):
#0  0x0013d416 in __kernel_vsyscall ()
#1  0x0078d5f0 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x05380a7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x053730ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x05373201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x03e0f8e7 in QEventDispatcherGlib::processEvents (this=0xa8600468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x03ddb50d in QEventLoop::processEvents (this=0xa8ff7270, flags=...) at kernel/qeventloop.cpp:149
#7  0x03ddb7a9 in QEventLoop::exec (this=0xa8ff7270, flags=...) at kernel/qeventloop.cpp:204
#8  0x03cc494c in QThread::exec (this=0x8efe788) at thread/qthread.cpp:501
#9  0x03cc4a3b in QThread::run (this=0x8efe788) at thread/qthread.cpp:568
#10 0x03cc7de0 in QThreadPrivate::start (arg=0x8efe788) at thread/qthread_unix.cpp:298
#11 0x04222d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x0079bd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 9 (Thread 0xa8454b40 (LWP 4290)):
#0  0x05372b7e in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0x05373042 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x05373201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x03e0f8e7 in QEventDispatcherGlib::processEvents (this=0xa8607470, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x03ddb50d in QEventLoop::processEvents (this=0xa8454270, flags=...) at kernel/qeventloop.cpp:149
#5  0x03ddb7a9 in QEventLoop::exec (this=0xa8454270, flags=...) at kernel/qeventloop.cpp:204
#6  0x03cc494c in QThread::exec (this=0x8f0b0f0) at thread/qthread.cpp:501
#7  0x03cc4a3b in QThread::run (this=0x8f0b0f0) at thread/qthread.cpp:568
#8  0x03cc7de0 in QThreadPrivate::start (arg=0x8f0b0f0) at thread/qthread_unix.cpp:298
#9  0x04222d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#10 0x0079bd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 8 (Thread 0xa7452b40 (LWP 4292)):
#0  0x0013d416 in __kernel_vsyscall ()
#1  0x0422696b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x007a964c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x03cc8350 in wait (time=4294967295, this=0x8f4e2b8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x8f4e208, mutex=0x8f4e3d8, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x068bfacc in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8f4e1f0, th=0x8f4e638) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x068c295b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8f4e478, th=0x8f4e638) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x068bf63a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8f4e1f0, th=0x8f4e638) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x068c2a5c in ThreadWeaver::WorkingHardState::applyForWork (this=0x8f4e478, th=0x8f4e638) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x068bf533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8f4e1f0, th=0x8f4e638, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x068c2a78 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8f4e478, th=0x8f4e638) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x068bf533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8f4e1f0, th=0x8f4e638, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x068c2a78 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8f4e478, th=0x8f4e638) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0x068bf533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8f4e1f0, th=0x8f4e638, previous=0x9805990) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0x068c14e4 in ThreadWeaver::ThreadRunHelper::run (this=0xa74522a4, parent=0x8f4e1f0, th=0x8f4e638) at ../../../threadweaver/Weaver/Thread.cpp:87
#15 0x068c159a in ThreadWeaver::Thread::run (this=0x8f4e638) at ../../../threadweaver/Weaver/Thread.cpp:142
#16 0x03cc7de0 in QThreadPrivate::start (arg=0x8f4e638) at thread/qthread_unix.cpp:298
#17 0x04222d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#18 0x0079bd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 7 (Thread 0xa6b4fb40 (LWP 4293)):
#0  0x04224cd1 in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x007a9864 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0x053b23d0 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x05372f85 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x05373201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x03e0f8e7 in QEventDispatcherGlib::processEvents (this=0x90e8f98, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x03ddb50d in QEventLoop::processEvents (this=0xa6b4f240, flags=...) at kernel/qeventloop.cpp:149
#7  0x03ddb7a9 in QEventLoop::exec (this=0xa6b4f240, flags=...) at kernel/qeventloop.cpp:204
#8  0x03cc494c in QThread::exec (this=0x912bd28) at thread/qthread.cpp:501
#9  0x03db8b5d in QInotifyFileSystemWatcherEngine::run (this=0x912bd28) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x03cc7de0 in QThreadPrivate::start (arg=0x912bd28) at thread/qthread_unix.cpp:298
#11 0x04222d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x0079bd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 6 (Thread 0xa634eb40 (LWP 4294)):
#0  0x0013d416 in __kernel_vsyscall ()
#1  0x0422696b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x007a964c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x03cc8350 in wait (time=4294967295, this=0x8f4e2b8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x8f4e208, mutex=0x8f4e3d8, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x068bfacc in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8f4e1f0, th=0x917a4c8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x068c295b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8f4e478, th=0x917a4c8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x068bf63a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8f4e1f0, th=0x917a4c8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x068c2a5c in ThreadWeaver::WorkingHardState::applyForWork (this=0x8f4e478, th=0x917a4c8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x068bf533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8f4e1f0, th=0x917a4c8, previous=0x8d4d4e8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x068c14e4 in ThreadWeaver::ThreadRunHelper::run (this=0xa634e2a4, parent=0x8f4e1f0, th=0x917a4c8) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x068c159a in ThreadWeaver::Thread::run (this=0x917a4c8) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x03cc7de0 in QThreadPrivate::start (arg=0x917a4c8) at thread/qthread_unix.cpp:298
#13 0x04222d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#14 0x0079bd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0xa5b4db40 (LWP 4295)):
#0  0x0013d416 in __kernel_vsyscall ()
#1  0x0422696b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x007a964c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x03cc8350 in wait (time=4294967295, this=0x8f4e2b8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x8f4e208, mutex=0x8f4e3d8, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x068bfacc in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8f4e1f0, th=0x9133b48) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x068c295b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8f4e478, th=0x9133b48) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x068bf63a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8f4e1f0, th=0x9133b48) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x068c2a5c in ThreadWeaver::WorkingHardState::applyForWork (this=0x8f4e478, th=0x9133b48) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x068bf533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8f4e1f0, th=0x9133b48, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x068c2a78 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8f4e478, th=0x9133b48) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x068bf533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8f4e1f0, th=0x9133b48, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x068c2a78 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8f4e478, th=0x9133b48) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0x068bf533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8f4e1f0, th=0x9133b48, previous=0x980dd28) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0x068c14e4 in ThreadWeaver::ThreadRunHelper::run (this=0xa5b4d2a4, parent=0x8f4e1f0, th=0x9133b48) at ../../../threadweaver/Weaver/Thread.cpp:87
#15 0x068c159a in ThreadWeaver::Thread::run (this=0x9133b48) at ../../../threadweaver/Weaver/Thread.cpp:142
#16 0x03cc7de0 in QThreadPrivate::start (arg=0x9133b48) at thread/qthread_unix.cpp:298
#17 0x04222d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#18 0x0079bd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xa534cb40 (LWP 4296)):
#0  0x0013d416 in __kernel_vsyscall ()
#1  0x0422696b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x007a964c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x03cc8350 in wait (time=4294967295, this=0x8f4e2b8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x8f4e208, mutex=0x8f4e3d8, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x068bfacc in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8f4e1f0, th=0x912f848) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x068c295b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8f4e478, th=0x912f848) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x068bf63a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8f4e1f0, th=0x912f848) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x068c2a5c in ThreadWeaver::WorkingHardState::applyForWork (this=0x8f4e478, th=0x912f848) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x068bf533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8f4e1f0, th=0x912f848, previous=0x8eeb000) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x068c14e4 in ThreadWeaver::ThreadRunHelper::run (this=0xa534c2a4, parent=0x8f4e1f0, th=0x912f848) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x068c159a in ThreadWeaver::Thread::run (this=0x912f848) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x03cc7de0 in QThreadPrivate::start (arg=0x912f848) at thread/qthread_unix.cpp:298
#13 0x04222d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#14 0x0079bd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xa4b4bb40 (LWP 4297)):
#0  0x0013d416 in __kernel_vsyscall ()
#1  0x0422696b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x007a964c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb6fa3263 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb6fa337f in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0x04222d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x0079bd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xa3a49b40 (LWP 4300)):
#0  0x0013d416 in __kernel_vsyscall ()
#1  0x0422696b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x007a964c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x04cab029 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0x04cab06f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0x04222d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x0079bd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb5d76740 (LWP 4283)):
[KCrash Handler]
#7  0x00000000 in ?? ()
#8  0x012b204e in qDeleteAll<QList<Collections::Collection*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#9  qDeleteAll<SmartPointerList<Collections::Collection> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#10 CollectionManager::~CollectionManager (this=0x8806500, __in_chrg=<optimized out>) at ../../src/core-impl/collections/support/CollectionManager.cpp:137
#11 0x012b2292 in CollectionManager::~CollectionManager (this=0x8806500, __in_chrg=<optimized out>) at ../../src/core-impl/collections/support/CollectionManager.cpp:145
#12 0x012b029a in CollectionManager::destroy () at ../../src/core-impl/collections/support/CollectionManager.cpp:107
#13 0x013fcc6a in App::~App (this=0xbfecb014, __in_chrg=<optimized out>) at ../../src/App.cpp:248
#14 0x0804fc3c in main (argc=0, argv=0x0) at ../../src/main.cpp:303

Possible duplicates by query: bug 308312, bug 308077, bug 307714, bug 307081, bug 307030.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-10-21 12:59:14 UTC
Well, Dr.Konqi  says you are actually using amarok 2.5.0 . 

Upgrade to 2.6.0

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