Bug 305799 - Crash on Amarok Shutdown
Summary: Crash on Amarok Shutdown
Status: RESOLVED DUPLICATE of bug 285951
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.5.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 2.7
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-26 03:49 UTC by Michael Vastola
Modified: 2012-08-26 04:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Vastola 2012-08-26 03:49:13 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-29-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I started Amarok and immediately shut it down.
- Unusual behavior I noticed:
I was running into trouble with another Qt app (Twinkle) wherein it was ignoring the systray and instead displaying its systray icon in the top left-hand corner of my screen. I was trying to diagnose if this was a Qt-wide-bug by checking to see if it was duplicated with another Qt app (Amarok). While I did not reproduce that bug, I experienced this segfault. No idea if it's related.  Obviously, the expected behavior is a segfault should not occur.

-- 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 0x7f982b2277c0 (LWP 22240))]

Thread 10 (Thread 0x7f9807957700 (LWP 22251)):
#0  0x00007f9827b050bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f981973e0bc in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#2  0x00007f9818749b27 in ?? () from /usr/lib/nvidia-current-updates/tls/libnvidia-tls.so.295.49
#3  0x00007f98226ea8cf in read (__nbytes=16, __buf=0x7f9807956b50, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:45
#4  g_wakeup_acknowledge (wakeup=0x20655b0) at /build/buildd/glib2.0-2.32.3/./glib/gwakeup.c:212
#5  0x00007f98226afba4 in g_main_context_check (context=0x7f9800000a00, max_priority=2147483647, fds=0x7f9800001800, n_fds=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2980
#6  0x00007f98226affd6 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x7f9800000a00, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3143
#7  g_main_context_iterate (context=0x7f9800000a00, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#8  0x00007f98226b0164 in g_main_context_iteration (context=0x7f9800000a00, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#9  0x00007f98284a2426 in QEventDispatcherGlib::processEvents (this=0x7f9800000920, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#10 0x00007f9828471c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#11 0x00007f9828471ed7 in QEventLoop::exec (this=0x7f9807956cd0, flags=...) at kernel/qeventloop.cpp:204
#12 0x00007f9828370fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#13 0x00007f98284519ff in QInotifyFileSystemWatcherEngine::run (this=0x2478840) at io/qfilesystemwatcher_inotify.cpp:248
#14 0x00007f9828373fcb in QThreadPrivate::start (arg=0x2478840) at thread/qthread_unix.cpp:298
#15 0x00007f981973fb74 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#16 0x00007f98241e7e9a in start_thread (arg=0x7f9807957700) at pthread_create.c:308
#17 0x00007f9827b124bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f98062e7700 (LWP 22252)):
#0  g_mutex_lock (mutex=0x7f97f80009c0) at /build/buildd/glib2.0-2.32.3/./glib/gthread-posix.c:205
#1  0x00007f98226afb4e in g_main_context_check (context=0x7f97f80009c0, max_priority=2147483647, fds=<optimized out>, n_fds=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3025
#2  0x00007f98226affd6 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x7f97f80009c0, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3143
#3  g_main_context_iterate (context=0x7f97f80009c0, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#4  0x00007f98226b0164 in g_main_context_iteration (context=0x7f97f80009c0, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#5  0x00007f98284a2426 in QEventDispatcherGlib::processEvents (this=0x7f97f80008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f9828471c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f9828471ed7 in QEventLoop::exec (this=0x7f98062e6d00, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f9828370fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f9828373fcb in QThreadPrivate::start (arg=0x278d790) at thread/qthread_unix.cpp:298
#10 0x00007f981973fb74 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#11 0x00007f98241e7e9a in start_thread (arg=0x7f98062e7700) at pthread_create.c:308
#12 0x00007f9827b124bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f9804e07700 (LWP 22253)):
#0  __lll_unlock_wake () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:368
#1  0x00007f98241eb104 in _L_unlock_644 () from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007f98241eb063 in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#3  __pthread_mutex_unlock (mutex=0x7f981999a540) at pthread_mutex_unlock.c:290
#4  0x00007f981973798a in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#5  0x00007f981973e12a in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#6  0x00007f9818749b27 in ?? () from /usr/lib/nvidia-current-updates/tls/libnvidia-tls.so.295.49
#7  0x00007f98226ea8cf in read (__nbytes=16, __buf=0x7f9804e06b80, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:45
#8  g_wakeup_acknowledge (wakeup=0x2073190) at /build/buildd/glib2.0-2.32.3/./glib/gwakeup.c:212
#9  0x00007f98226afba4 in g_main_context_check (context=0x7f97fc0009c0, max_priority=2147483647, fds=0x7f97fc0020b0, n_fds=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2980
#10 0x00007f98226affd6 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x7f97fc0009c0, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3143
#11 g_main_context_iterate (context=0x7f97fc0009c0, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#12 0x00007f98226b0164 in g_main_context_iteration (context=0x7f97fc0009c0, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#13 0x00007f98284a2426 in QEventDispatcherGlib::processEvents (this=0x7f97fc0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#14 0x00007f9828471c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#15 0x00007f9828471ed7 in QEventLoop::exec (this=0x7f9804e06d00, flags=...) at kernel/qeventloop.cpp:204
#16 0x00007f9828370fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#17 0x00007f9828373fcb in QThreadPrivate::start (arg=0x27c2de0) at thread/qthread_unix.cpp:298
#18 0x00007f981973fb74 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#19 0x00007f98241e7e9a in start_thread (arg=0x7f9804e07700) at pthread_create.c:308
#20 0x00007f9827b124bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#21 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f97f77fe700 (LWP 22255)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f98283744db in wait (time=18446744073709551615, this=0x2812490) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2812fd0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f98257920eb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2812340, th=0x28133f0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f98257949db in ThreadWeaver::WorkingHardState::applyForWork (this=0x28130a0, th=0x28133f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f98257949f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x28130a0, th=0x28133f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f98257949f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x28130a0, th=0x28133f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f982579384f in ThreadWeaver::ThreadRunHelper::run (this=0x7f97f77fdd20, parent=0x2812340, th=0x28133f0) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007f98257938db in ThreadWeaver::Thread::run (this=0x28133f0) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007f9828373fcb in QThreadPrivate::start (arg=0x28133f0) at thread/qthread_unix.cpp:298
#10 0x00007f981973fb74 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#11 0x00007f98241e7e9a in start_thread (arg=0x7f97f77fe700) at pthread_create.c:308
#12 0x00007f9827b124bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f97f612f700 (LWP 22265)):
#0  0x00007f98241e9f69 in __pthread_mutex_lock (mutex=0x7f97ec000a80) at pthread_mutex_lock.c:92
#1  0x00007f98226eb5a1 in g_mutex_lock (mutex=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gthread-posix.c:208
#2  0x00007f98226afc36 in g_main_context_dispatch (context=0x7f97ec0009c0) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3071
#3  0x00007f98226b00a0 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x7f97ec0009c0, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3146
#4  g_main_context_iterate (context=0x7f97ec0009c0, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#5  0x00007f98226b0164 in g_main_context_iteration (context=0x7f97ec0009c0, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#6  0x00007f98284a2426 in QEventDispatcherGlib::processEvents (this=0x7f97ec0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f9828471c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f9828471ed7 in QEventLoop::exec (this=0x7f97f612ecd0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f9828370fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007f98284519ff in QInotifyFileSystemWatcherEngine::run (this=0x2c1aa50) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007f9828373fcb in QThreadPrivate::start (arg=0x2c1aa50) at thread/qthread_unix.cpp:298
#12 0x00007f981973fb74 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#13 0x00007f98241e7e9a in start_thread (arg=0x7f97f612f700) at pthread_create.c:308
#14 0x00007f9827b124bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f97f54ff700 (LWP 22266)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f98283744db in wait (time=18446744073709551615, this=0x2812490) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2812fd0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f98257920eb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2812340, th=0x2c9fd10) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f98257949db in ThreadWeaver::WorkingHardState::applyForWork (this=0x28130a0, th=0x2c9fd10) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f98257949f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x28130a0, th=0x2c9fd10) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f98257949f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x28130a0, th=0x2c9fd10) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f982579384f in ThreadWeaver::ThreadRunHelper::run (this=0x7f97f54fed20, parent=0x2812340, th=0x2c9fd10) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007f98257938db in ThreadWeaver::Thread::run (this=0x2c9fd10) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007f9828373fcb in QThreadPrivate::start (arg=0x2c9fd10) at thread/qthread_unix.cpp:298
#10 0x00007f981973fb74 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#11 0x00007f98241e7e9a in start_thread (arg=0x7f97f54ff700) at pthread_create.c:308
#12 0x00007f9827b124bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f97f4cfe700 (LWP 22267)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f98283744db in wait (time=18446744073709551615, this=0x2812490) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2812fd0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f98257920eb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2812340, th=0x2cbfda0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f98257949db in ThreadWeaver::WorkingHardState::applyForWork (this=0x28130a0, th=0x2cbfda0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f98257949f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x28130a0, th=0x2cbfda0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f982579384f in ThreadWeaver::ThreadRunHelper::run (this=0x7f97f4cfdd20, parent=0x2812340, th=0x2cbfda0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f98257938db in ThreadWeaver::Thread::run (this=0x2cbfda0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f9828373fcb in QThreadPrivate::start (arg=0x2cbfda0) at thread/qthread_unix.cpp:298
#9  0x00007f981973fb74 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#10 0x00007f98241e7e9a in start_thread (arg=0x7f97f4cfe700) at pthread_create.c:308
#11 0x00007f9827b124bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f97dffff700 (LWP 22268)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f98283744db in wait (time=18446744073709551615, this=0x2812490) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2812fd0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f98257920eb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2812340, th=0x2cc0900) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f98257949db in ThreadWeaver::WorkingHardState::applyForWork (this=0x28130a0, th=0x2cc0900) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f982579384f in ThreadWeaver::ThreadRunHelper::run (this=0x7f97dfffed20, parent=0x2812340, th=0x2cc0900) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f98257938db in ThreadWeaver::Thread::run (this=0x2cc0900) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f9828373fcb in QThreadPrivate::start (arg=0x2cc0900) at thread/qthread_unix.cpp:298
#8  0x00007f981973fb74 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#9  0x00007f98241e7e9a in start_thread (arg=0x7f97dffff700) at pthread_create.c:308
#10 0x00007f9827b124bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f97deffd700 (LWP 22302)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f98247c5222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f98247c5259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f981973fb74 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#4  0x00007f98241e7e9a in start_thread (arg=0x7f97deffd700) at pthread_create.c:308
#5  0x00007f9827b124bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f982b2277c0 (LWP 22240)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f982a0cc02e 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=0x23dc390, __in_chrg=<optimized out>) at ../../src/core-impl/collections/support/CollectionManager.cpp:137
#10 0x00007f982a0cc209 in CollectionManager::~CollectionManager (this=0x23dc390, __in_chrg=<optimized out>) at ../../src/core-impl/collections/support/CollectionManager.cpp:145
#11 0x00007f982a0ca4b6 in CollectionManager::destroy () at ../../src/core-impl/collections/support/CollectionManager.cpp:107
#12 0x00007f982a1ff4cf in App::~App (this=0x7ffffd73fc00, __in_chrg=<optimized out>) at ../../src/App.cpp:248
#13 0x0000000000408e5a in main (argc=1, argv=0x7ffffd742088) at ../../src/main.cpp:303

Possible duplicates by query: bug 305260, bug 305205, bug 304925, bug 304818, bug 304719.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-08-26 04:57:08 UTC

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