Bug 298760

Summary: Amarok Always Crashes When Quitting
Product: [Applications] amarok Reporter: JosephC <cjcolella>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.5.0   
Target Milestone: 2.6   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description JosephC 2012-04-24 19:41:50 UTC
Application: amarok (2.5.0)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-23-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

Every time I quit Amarok, it crashes, suggests an old bug report that was closed a while ago. Therefore, it must be a new instance or an entirely new problem with the same result. It is reproducable every time I open and quit Amarok.

I am using Kubuntu 12.04, fully updated as of April 24, 2012.

The crash can be reproduced every time.

-- 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 0x7f3eafa7f780 (LWP 5561))]

Thread 12 (Thread 0x7f3e8dede700 (LWP 5564)):
#0  0x00007f3eac36fb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3ea47d235f in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007f3ea47c376c in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007f3ea47c3dd9 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007f3ea47c3e90 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007f3ea47d230f in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007f3e9fc17d18 in ?? () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so
#7  0x00007f3ea8a92e9a in start_thread (arg=0x7f3e8dede700) at pthread_create.c:308
#8  0x00007f3eac37b4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f3e80c2b700 (LWP 5566)):
#0  0x00007fff9ddff8de in ?? ()
#1  0x00007f3ea59a915d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f3eacc2ebb4 in do_gettime (frac=0x7f3e80c2ab98, sec=0x7f3e80c2ab90) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f3eacd06b8d in QTimerInfoList::updateCurrentTime (this=0x7f3e7c001560) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f3eacd06ec3 in QTimerInfoList::timerWait (this=0x7f3e7c001560, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f3eacd0597c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f3e80c2ac6c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f3eacd05a25 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f3ea6f7471e in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f3ea6f74f1b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f3ea6f75124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f3eacd06426 in QEventDispatcherGlib::processEvents (this=0x7f3e7c000900, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f3eaccd5c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f3eaccd5ed7 in QEventLoop::exec (this=0x7f3e80c2add0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f3eacbd4fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007f3eaccb59ff in QInotifyFileSystemWatcherEngine::run (this=0x24508d0) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f3eacbd7fcb in QThreadPrivate::start (arg=0x24508d0) at thread/qthread_unix.cpp:298
#17 0x00007f3ea8a92e9a in start_thread (arg=0x7f3e80c2b700) at pthread_create.c:308
#18 0x00007f3eac37b4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f3e7a592700 (LWP 5567)):
#0  0x00007f3eac36fb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3ea6f74ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3ea6f75124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3eacd06426 in QEventDispatcherGlib::processEvents (this=0x7f3e740008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f3eaccd5c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f3eaccd5ed7 in QEventLoop::exec (this=0x7f3e7a591e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f3eacbd4fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f3eacbd7fcb in QThreadPrivate::start (arg=0x250de00) at thread/qthread_unix.cpp:298
#8  0x00007f3ea8a92e9a in start_thread (arg=0x7f3e7a592700) at pthread_create.c:308
#9  0x00007f3eac37b4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f3e790f2700 (LWP 5568)):
#0  0x00007fff9ddff8de in ?? ()
#1  0x00007f3ea59a915d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f3eacc2ebb4 in do_gettime (frac=0x7f3e790f1bc8, sec=0x7f3e790f1bc0) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f3eacd06b8d in QTimerInfoList::updateCurrentTime (this=0x7f3e6c002860) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f3eacd06ec3 in QTimerInfoList::timerWait (this=0x7f3e6c002860, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f3eacd0597c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f3e790f1c9c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f3eacd05a25 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f3ea6f7471e in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f3ea6f74f1b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f3ea6f75124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f3eacd06426 in QEventDispatcherGlib::processEvents (this=0x7f3e6c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f3eaccd5c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f3eaccd5ed7 in QEventLoop::exec (this=0x7f3e790f1e00, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f3eacbd4fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007f3eacbd7fcb in QThreadPrivate::start (arg=0x271a440) at thread/qthread_unix.cpp:298
#16 0x00007f3ea8a92e9a in start_thread (arg=0x7f3e790f2700) at pthread_create.c:308
#17 0x00007f3eac37b4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f3e6bbf4700 (LWP 5570)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3eacbd84db in wait (time=18446744073709551615, this=0x2775800) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2775980, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f3eaa0260eb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x27756b0, th=0x2776750) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f3eaa0289db in ThreadWeaver::WorkingHardState::applyForWork (this=0x2776400, th=0x2776750) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f3eaa0289f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2776400, th=0x2776750) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f3eaa0289f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2776400, th=0x2776750) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f3eaa02784f in ThreadWeaver::ThreadRunHelper::run (this=0x7f3e6bbf3e20, parent=0x27756b0, th=0x2776750) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007f3eaa0278db in ThreadWeaver::Thread::run (this=0x2776750) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007f3eacbd7fcb in QThreadPrivate::start (arg=0x2776750) at thread/qthread_unix.cpp:298
#10 0x00007f3ea8a92e9a in start_thread (arg=0x7f3e6bbf4700) at pthread_create.c:308
#11 0x00007f3eac37b4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f3e6a53e700 (LWP 5572)):
#0  0x00007f3ea8a9605d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7f3e5c000a60) at pthread_mutex_unlock.c:290
#2  0x00007f3ea6fb0591 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3ea6f74a09 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3ea6f74f96 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3ea6f75124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f3eacd06426 in QEventDispatcherGlib::processEvents (this=0x7f3e5c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f3eaccd5c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f3eaccd5ed7 in QEventLoop::exec (this=0x7f3e6a53ddd0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f3eacbd4fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007f3eaccb59ff in QInotifyFileSystemWatcherEngine::run (this=0x29da490) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007f3eacbd7fcb in QThreadPrivate::start (arg=0x29da490) at thread/qthread_unix.cpp:298
#12 0x00007f3ea8a92e9a in start_thread (arg=0x7f3e6a53e700) at pthread_create.c:308
#13 0x00007f3eac37b4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f3e69915700 (LWP 5573)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3eacbd84db in wait (time=18446744073709551615, this=0x2775800) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2775980, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f3eaa0260eb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x27756b0, th=0x2a2a100) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f3eaa0289db in ThreadWeaver::WorkingHardState::applyForWork (this=0x2776400, th=0x2a2a100) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f3eaa0289f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2776400, th=0x2a2a100) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f3eaa02784f in ThreadWeaver::ThreadRunHelper::run (this=0x7f3e69914e20, parent=0x27756b0, th=0x2a2a100) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f3eaa0278db in ThreadWeaver::Thread::run (this=0x2a2a100) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f3eacbd7fcb in QThreadPrivate::start (arg=0x2a2a100) at thread/qthread_unix.cpp:298
#9  0x00007f3ea8a92e9a in start_thread (arg=0x7f3e69915700) at pthread_create.c:308
#10 0x00007f3eac37b4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f3e69114700 (LWP 5574)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3eacbd84db in wait (time=18446744073709551615, this=0x2775800) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2775980, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f3eaa0260eb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x27756b0, th=0x2a96e70) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f3eaa0289db in ThreadWeaver::WorkingHardState::applyForWork (this=0x2776400, th=0x2a96e70) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f3eaa0289f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2776400, th=0x2a96e70) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f3eaa0289f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2776400, th=0x2a96e70) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f3eaa0289f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2776400, th=0x2a96e70) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f3eaa0289f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2776400, th=0x2a96e70) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007f3eaa02784f in ThreadWeaver::ThreadRunHelper::run (this=0x7f3e69113e20, parent=0x27756b0, th=0x2a96e70) at ../../../threadweaver/Weaver/Thread.cpp:87
#10 0x00007f3eaa0278db in ThreadWeaver::Thread::run (this=0x2a96e70) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0x00007f3eacbd7fcb in QThreadPrivate::start (arg=0x2a96e70) at thread/qthread_unix.cpp:298
#12 0x00007f3ea8a92e9a in start_thread (arg=0x7f3e69114700) at pthread_create.c:308
#13 0x00007f3eac37b4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f3e68913700 (LWP 5575)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3eacbd84db in wait (time=18446744073709551615, this=0x2775800) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2775980, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f3eaa0260eb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x27756b0, th=0x2a979e0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f3eaa0289db in ThreadWeaver::WorkingHardState::applyForWork (this=0x2776400, th=0x2a979e0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f3eaa02784f in ThreadWeaver::ThreadRunHelper::run (this=0x7f3e68912e20, parent=0x27756b0, th=0x2a979e0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f3eaa0278db in ThreadWeaver::Thread::run (this=0x2a979e0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f3eacbd7fcb in QThreadPrivate::start (arg=0x2a979e0) at thread/qthread_unix.cpp:298
#8  0x00007f3ea8a92e9a in start_thread (arg=0x7f3e68913700) at pthread_create.c:308
#9  0x00007f3eac37b4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f3e539be700 (LWP 5576)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3ea3bb0dec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f3ea3bb0f19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f3ea8a92e9a in start_thread (arg=0x7f3e539be700) at pthread_create.c:308
#4  0x00007f3eac37b4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3e527a7700 (LWP 5580)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3ea906c222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f3ea906c259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f3ea8a92e9a in start_thread (arg=0x7f3e527a7700) at pthread_create.c:308
#4  0x00007f3eac37b4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3eafa7f780 (LWP 5561)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f3eae91e02e 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=0x2381a80, __in_chrg=<optimized out>) at ../../src/core-impl/collections/support/CollectionManager.cpp:137
#10 0x00007f3eae91e209 in CollectionManager::~CollectionManager (this=0x2381a80, __in_chrg=<optimized out>) at ../../src/core-impl/collections/support/CollectionManager.cpp:145
#11 0x00007f3eae91c4b6 in CollectionManager::destroy () at ../../src/core-impl/collections/support/CollectionManager.cpp:107
#12 0x00007f3eaea514cf in App::~App (this=0x7fff9dc43510, __in_chrg=<optimized out>) at ../../src/App.cpp:248
#13 0x0000000000408e5a in main (argc=1, argv=0x7fff9dc45998) at ../../src/main.cpp:303

Possible duplicates by query: bug 298331, bug 298222, bug 297555, bug 297164, bug 295853.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-04-24 21:56:29 UTC

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