Bug 237156 - Plasma crashed while Amarok was closing
Summary: Plasma crashed while Amarok was closing
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-systemtray (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 240531 249460 267109 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-10 21:23 UTC by Steven Black
Modified: 2011-12-04 17:21 UTC (History)
7 users (show)

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 Steven Black 2010-05-10 21:23:35 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic-pae i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
I had been running Amarok, and when I hit the close button I noticed the window disappeared but the app stayed alive with an icon in the little tray. So I right-clicked and closed the app. I use focus-follows-mouse, and there was a Terminal under my mouse when menu had closed. I ran "ps aux | grep amarok" to see if it had closed completely.

The ps | grep command showed Amarok hadn't finished closing when the Plasma panel died.


The crash does not seem to be reproducible.

 -- Backtrace:
Application: Plasma Workspace (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5624aa0 (LWP 2134))]

Thread 10 (Thread 0xa604fb70 (LWP 2136)):
#0  0xb5a59e16 in *__GI_clock_gettime (clock_id=-1247420428, tp=0xa604efb8) at ../sysdeps/unix/clock_gettime.c:100
#1  0xb6d466fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0xb6d4b825 in QTimerInfoList::updateCurrentTime (this=0xa7303c34) at kernel/qeventdispatcher_unix.cpp:340
#3  0xb6d4b86a in QTimerInfoList::timerWait (this=0xa7303c34, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0xb6d49818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xa604f0cc) at kernel/qeventdispatcher_glib.cpp:136
#5  0xb6d498a5 in timerSourcePrepare (source=0x0, timeout=0xb5a5dff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0xb59caaca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0xb59caee9 in ?? () from /lib/libglib-2.0.so.0
#8  0xb59cb4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0xb6d4960f in QEventDispatcherGlib::processEvents (this=0x988c658, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0xb6d1c059 in QEventLoop::processEvents (this=0xa604f290, flags=) at kernel/qeventloop.cpp:149
#11 0xb6d1c4aa in QEventLoop::exec (this=0xa604f290, flags=...) at kernel/qeventloop.cpp:201
#12 0xb6c185a8 in QThread::exec (this=0x988cc38) at thread/qthread.cpp:487
#13 0xb6cfbc1b in QInotifyFileSystemWatcherEngine::run (this=0x988cc38) at io/qfilesystemwatcher_inotify.cpp:248
#14 0xb6c1b32e in QThreadPrivate::start (arg=0x988cc38) at thread/qthread_unix.cpp:248
#15 0xb6b8596e in start_thread (arg=0xa604fb70) at pthread_create.c:300
#16 0xb5f80a0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 9 (Thread 0xa7c4cb70 (LWP 13260)):
#0  0xb7827430 in __kernel_vsyscall ()
#1  0xb6b8a015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb6c1c287 in QWaitConditionPrivate::wait (this=0x970e680, mutex=0x970e1b0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x970e680, mutex=0x970e1b0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0xb41a6870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x970e668, th=0x9e07f70) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb41a938c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9672238, th=0x9e07f70) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb41a527b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x970e668, th=0x9e07f70) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb41a9482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9672238, th=0x9e07f70) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb41a64d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x970e668, th=0x9e07f70, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb41a94a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9672238, th=0x9e07f70) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#10 0xb41a64d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x970e668, th=0x9e07f70, previous=0xaacc840) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#11 0xb41a751e in ThreadWeaver::ThreadRunHelper::run (this=0xa7c4c2f4, parent=0x970e668, th=0x9e07f70) at ../../../threadweaver/Weaver/Thread.cpp:87
#12 0xb41a7c3b in ThreadWeaver::Thread::run (this=0x9e07f70) at ../../../threadweaver/Weaver/Thread.cpp:142
#13 0xb6c1b32e in QThreadPrivate::start (arg=0x9e07f70) at thread/qthread_unix.cpp:248
#14 0xb6b8596e in start_thread (arg=0xa7c4cb70) at pthread_create.c:300
#15 0xb5f80a0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xa2c16b70 (LWP 13261)):
#0  0xb7827430 in __kernel_vsyscall ()
#1  0xb6b8a015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb6c1c287 in QWaitConditionPrivate::wait (this=0x970e680, mutex=0x970e1b0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x970e680, mutex=0x970e1b0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0xb41a6870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x970e668, th=0xa73049c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb41a938c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9672238, th=0xa73049c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb41a527b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x970e668, th=0xa73049c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb41a9482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9672238, th=0xa73049c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb41a64d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x970e668, th=0xa73049c0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb41a94a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9672238, th=0xa73049c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#10 0xb41a64d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x970e668, th=0xa73049c0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#11 0xb41a94a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9672238, th=0xa73049c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#12 0xb41a64d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x970e668, th=0xa73049c0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#13 0xb41a94a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9672238, th=0xa73049c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#14 0xb41a64d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x970e668, th=0xa73049c0, previous=0xa840938) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#15 0xb41a751e in ThreadWeaver::ThreadRunHelper::run (this=0xa2c162f4, parent=0x970e668, th=0xa73049c0) at ../../../threadweaver/Weaver/Thread.cpp:87
#16 0xb41a7c3b in ThreadWeaver::Thread::run (this=0xa73049c0) at ../../../threadweaver/Weaver/Thread.cpp:142
#17 0xb6c1b32e in QThreadPrivate::start (arg=0xa73049c0) at thread/qthread_unix.cpp:248
#18 0xb6b8596e in start_thread (arg=0xa2c16b70) at pthread_create.c:300
#19 0xb5f80a0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xa2415b70 (LWP 13262)):
#0  0xb7827430 in __kernel_vsyscall ()
#1  0xb6b8a015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb6c1c287 in QWaitConditionPrivate::wait (this=0x970e680, mutex=0x970e1b0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x970e680, mutex=0x970e1b0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0xb41a6870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x970e668, th=0xa8200468) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb41a938c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9672238, th=0xa8200468) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb41a527b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x970e668, th=0xa8200468) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb41a9482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9672238, th=0xa8200468) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb41a64d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x970e668, th=0xa8200468, previous=0xaffb770) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb41a751e in ThreadWeaver::ThreadRunHelper::run (this=0xa24152f4, parent=0x970e668, th=0xa8200468) at ../../../threadweaver/Weaver/Thread.cpp:87
#10 0xb41a7c3b in ThreadWeaver::Thread::run (this=0xa8200468) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0xb6c1b32e in QThreadPrivate::start (arg=0xa8200468) at thread/qthread_unix.cpp:248
#12 0xb6b8596e in start_thread (arg=0xa2415b70) at pthread_create.c:300
#13 0xb5f80a0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xa1c14b70 (LWP 13263)):
#0  0xb7827430 in __kernel_vsyscall ()
#1  0xb6b8a015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb6c1c287 in QWaitConditionPrivate::wait (this=0x970e680, mutex=0x970e1b0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x970e680, mutex=0x970e1b0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0xb41a6870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x970e668, th=0xa9cd130) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb41a938c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9672238, th=0xa9cd130) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb41a527b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x970e668, th=0xa9cd130) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb41a9482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9672238, th=0xa9cd130) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb41a64d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x970e668, th=0xa9cd130, previous=0xa009458) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb41a751e in ThreadWeaver::ThreadRunHelper::run (this=0xa1c142f4, parent=0x970e668, th=0xa9cd130) at ../../../threadweaver/Weaver/Thread.cpp:87
#10 0xb41a7c3b in ThreadWeaver::Thread::run (this=0xa9cd130) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0xb6c1b32e in QThreadPrivate::start (arg=0xa9cd130) at thread/qthread_unix.cpp:248
#12 0xb6b8596e in start_thread (arg=0xa1c14b70) at pthread_create.c:300
#13 0xb5f80a0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xa1413b70 (LWP 13264)):
#0  0xb7827430 in __kernel_vsyscall ()
#1  0xb6b8a015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb6c1c287 in QWaitConditionPrivate::wait (this=0x970e680, mutex=0x970e1b0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x970e680, mutex=0x970e1b0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0xb41a6870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x970e668, th=0xa73057a0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb41a938c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9672238, th=0xa73057a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb41a527b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x970e668, th=0xa73057a0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb41a9482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9672238, th=0xa73057a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb41a64d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x970e668, th=0xa73057a0, previous=0xa9bfba8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb41a751e in ThreadWeaver::ThreadRunHelper::run (this=0xa14132f4, parent=0x970e668, th=0xa73057a0) at ../../../threadweaver/Weaver/Thread.cpp:87
#10 0xb41a7c3b in ThreadWeaver::Thread::run (this=0xa73057a0) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0xb6c1b32e in QThreadPrivate::start (arg=0xa73057a0) at thread/qthread_unix.cpp:248
#12 0xb6b8596e in start_thread (arg=0xa1413b70) at pthread_create.c:300
#13 0xb5f80a0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa04ffb70 (LWP 13265)):
#0  0xb7827430 in __kernel_vsyscall ()
#1  0xb6b8a015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb6c1c287 in QWaitConditionPrivate::wait (this=0x970e680, mutex=0x970e1b0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x970e680, mutex=0x970e1b0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0xb41a6870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x970e668, th=0x9da9748) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb41a938c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9672238, th=0x9da9748) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb41a527b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x970e668, th=0x9da9748) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb41a9482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9672238, th=0x9da9748) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb41a64d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x970e668, th=0x9da9748, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb41a94a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9672238, th=0x9da9748) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#10 0xb41a64d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x970e668, th=0x9da9748, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#11 0xb41a94a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9672238, th=0x9da9748) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#12 0xb41a64d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x970e668, th=0x9da9748, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#13 0xb41a94a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9672238, th=0x9da9748) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#14 0xb41a64d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x970e668, th=0x9da9748, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#15 0xb41a94a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9672238, th=0x9da9748) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#16 0xb41a64d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x970e668, th=0x9da9748, previous=0xafcbb20) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#17 0xb41a751e in ThreadWeaver::ThreadRunHelper::run (this=0xa04ff2f4, parent=0x970e668, th=0x9da9748) at ../../../threadweaver/Weaver/Thread.cpp:87
#18 0xb41a7c3b in ThreadWeaver::Thread::run (this=0x9da9748) at ../../../threadweaver/Weaver/Thread.cpp:142
#19 0xb6c1b32e in QThreadPrivate::start (arg=0x9da9748) at thread/qthread_unix.cpp:248
#20 0xb6b8596e in start_thread (arg=0xa04ffb70) at pthread_create.c:300
#21 0xb5f80a0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0x9fcfeb70 (LWP 13266)):
#0  0xb7827430 in __kernel_vsyscall ()
#1  0xb6b8a015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb6c1c287 in QWaitConditionPrivate::wait (this=0x970e680, mutex=0x970e1b0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x970e680, mutex=0x970e1b0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0xb41a6870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x970e668, th=0xa82015b8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb41a938c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9672238, th=0xa82015b8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb41a527b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x970e668, th=0xa82015b8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb41a9482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9672238, th=0xa82015b8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb41a64d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x970e668, th=0xa82015b8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb41a94a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9672238, th=0xa82015b8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#10 0xb41a64d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x970e668, th=0xa82015b8, previous=0xaa4ddb0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#11 0xb41a751e in ThreadWeaver::ThreadRunHelper::run (this=0x9fcfe2f4, parent=0x970e668, th=0xa82015b8) at ../../../threadweaver/Weaver/Thread.cpp:87
#12 0xb41a7c3b in ThreadWeaver::Thread::run (this=0xa82015b8) at ../../../threadweaver/Weaver/Thread.cpp:142
#13 0xb6c1b32e in QThreadPrivate::start (arg=0xa82015b8) at thread/qthread_unix.cpp:248
#14 0xb6b8596e in start_thread (arg=0x9fcfeb70) at pthread_create.c:300
#15 0xb5f80a0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0x9f4fdb70 (LWP 13267)):
#0  0xb7827430 in __kernel_vsyscall ()
#1  0xb6b8a015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb6c1c287 in QWaitConditionPrivate::wait (this=0x970e680, mutex=0x970e1b0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x970e680, mutex=0x970e1b0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0xb41a6870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x970e668, th=0xa8201a68) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb41a938c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9672238, th=0xa8201a68) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb41a527b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x970e668, th=0xa8201a68) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb41a9482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9672238, th=0xa8201a68) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb41a64d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x970e668, th=0xa8201a68, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb41a94a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9672238, th=0xa8201a68) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#10 0xb41a64d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x970e668, th=0xa8201a68, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#11 0xb41a94a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9672238, th=0xa8201a68) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#12 0xb41a64d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x970e668, th=0xa8201a68, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#13 0xb41a94a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9672238, th=0xa8201a68) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#14 0xb41a64d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x970e668, th=0xa8201a68, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#15 0xb41a94a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9672238, th=0xa8201a68) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#16 0xb41a64d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x970e668, th=0xa8201a68, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#17 0xb41a94a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9672238, th=0xa8201a68) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#18 0xb41a64d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x970e668, th=0xa8201a68, previous=0xa021b10) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#19 0xb41a751e in ThreadWeaver::ThreadRunHelper::run (this=0x9f4fd2f4, parent=0x970e668, th=0xa8201a68) at ../../../threadweaver/Weaver/Thread.cpp:87
#20 0xb41a7c3b in ThreadWeaver::Thread::run (this=0xa8201a68) at ../../../threadweaver/Weaver/Thread.cpp:142
#21 0xb6c1b32e in QThreadPrivate::start (arg=0xa8201a68) at thread/qthread_unix.cpp:248
#22 0xb6b8596e in start_thread (arg=0x9f4fdb70) at pthread_create.c:300
#23 0xb5f80a0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb5624aa0 (LWP 2134)):
[KCrash Handler]
#6  QDBusMessage::type (this=0x18) at qdbusmessage.cpp:684
#7  0xb5d6f27b in QDBusPendingCall::isFinished (this=0xb0ee878) at qdbuspendingcall.cpp:313
#8  0xb5a8ae38 in ?? () from /usr/lib/libdbusmenu-qt.so.2
#9  0xb5a8f7c9 in DBusMenuImporter::slotMenuAboutToShow() () from /usr/lib/libdbusmenu-qt.so.2
#10 0xb5a8ff6e in DBusMenuImporter::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libdbusmenu-qt.so.2
#11 0xb6d22c9a in QMetaObject::metacall (object=0xb334418, cl=3050876916, idx=7, argv=0xbfb3b78c) at kernel/qmetaobject.cpp:237
#12 0xb6d313d5 in QMetaObject::activate (sender=0xab827e0, m=0xb6b68748, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#13 0xb66d70f7 in QMenu::aboutToShow (this=0xab827e0) at .moc/release-shared/moc_qmenu.cpp:151
#14 0xb66db387 in QMenu::popup (this=0xab827e0, p=..., atAction=0x0) at widgets/qmenu.cpp:1823
#15 0xa7f7fbd9 in SystemTray::DBusSystemTrayWidget::showDBusMenu (this=0xb325d08) at ../../../../../plasma/generic/applets/systemtray/protocols/dbussystemtray/dbussystemtraywidget.cpp:165
#16 0xa7f805f5 in SystemTray::DBusSystemTrayWidget::contextMenuEvent (this=0xb325d08, event=0xbfb3c0dc)
    at ../../../../../plasma/generic/applets/systemtray/protocols/dbussystemtray/dbussystemtraywidget.cpp:107
#17 0xb68ba5f8 in QGraphicsItem::sceneEvent (this=0xb325d10, event=0xbfb3c0dc) at graphicsview/qgraphicsitem.cpp:6469
#18 0xb690c057 in QGraphicsWidget::sceneEvent (this=0xb325d08, event=0xbfb3c0dc) at graphicsview/qgraphicswidget.cpp:1129
#19 0xb68cfd99 in QGraphicsScenePrivate::sendEvent (this=0x92f1308, item=0xb325d10, event=0xbfb3c0dc) at graphicsview/qgraphicsscene.cpp:1181
#20 0xb68d6758 in QGraphicsScene::contextMenuEvent (this=0x92f12a8, contextMenuEvent=0xbfb3c0dc) at graphicsview/qgraphicsscene.cpp:3552
#21 0xb68e56ac in QGraphicsScene::event (this=0x92f12a8, event=0xbfb3c0dc) at graphicsview/qgraphicsscene.cpp:3352
#22 0xb62394dc in QApplicationPrivate::notify_helper (this=0x9190fe8, receiver=0x92f12a8, e=0xbfb3c0dc) at kernel/qapplication.cpp:4300
#23 0xb624005e in QApplication::notify (this=0x918aef0, receiver=0x92f12a8, e=0xbfb3c0dc) at kernel/qapplication.cpp:3704
#24 0xb7012f2a in KApplication::notify (this=0x918aef0, receiver=0x92f12a8, event=0xbfb3c0dc) at ../../kdeui/kernel/kapplication.cpp:302
#25 0xb6d1da3b in QCoreApplication::notifyInternal (this=0x918aef0, receiver=0x92f12a8, event=0xbfb3c0dc) at kernel/qcoreapplication.cpp:704
#26 0xb6904d80 in QCoreApplication::sendEvent (this=0x976c158, event=0xbfb3c828) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QGraphicsView::contextMenuEvent (this=0x976c158, event=0xbfb3c828) at graphicsview/qgraphicsview.cpp:2813
#28 0xb6297f38 in QWidget::event (this=0x976c158, event=0xbfb3c828) at kernel/qwidget.cpp:8165
#29 0xb6693fd3 in QFrame::event (this=0x976c158, e=0xbfb3c828) at widgets/qframe.cpp:557
#30 0xb672e382 in QAbstractScrollArea::viewportEvent (this=0xb5d8aff4, e=0x18) at widgets/qabstractscrollarea.cpp:1036
#31 0xb690406b in QGraphicsView::viewportEvent (this=0x976c158, event=0xbfb3c828) at graphicsview/qgraphicsview.cpp:2787
#32 0xb6730c65 in QAbstractScrollAreaPrivate::viewportEvent (this=0x95d1f18, o=0x971c9a0, e=0xbfb3c828) at widgets/qabstractscrollarea_p.h:100
#33 QAbstractScrollAreaFilter::eventFilter (this=0x95d1f18, o=0x971c9a0, e=0xbfb3c828) at widgets/qabstractscrollarea_p.h:116
#34 0xb6d1ccda in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9190fe8, receiver=0x971c9a0, event=0xbfb3c828) at kernel/qcoreapplication.cpp:819
#35 0xb62394b9 in QApplicationPrivate::notify_helper (this=0x9190fe8, receiver=0x971c9a0, e=0xbfb3c828) at kernel/qapplication.cpp:4296
#36 0xb6240470 in QApplication::notify (this=0x918aef0, receiver=0x971c9a0, e=0xbfb3c828) at kernel/qapplication.cpp:3944
#37 0xb7012f2a in KApplication::notify (this=0x918aef0, receiver=0x971c9a0, event=0xbfb3c828) at ../../kdeui/kernel/kapplication.cpp:302
#38 0xb6d1da3b in QCoreApplication::notifyInternal (this=0x918aef0, receiver=0x971c9a0, event=0xbfb3c828) at kernel/qcoreapplication.cpp:704
#39 0xb62d0dfe in QCoreApplication::sendSpontaneousEvent (receiver=0x971c9a0, event=0x18) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#40 0xb62cb0f4 in QETWidget::translateMouseEvent (this=0x976c158, event=0xbfb3cd1c) at kernel/qapplication_x11.cpp:4373
#41 0xb62ca511 in QApplication::x11ProcessEvent (this=0x918aef0, event=0xbfb3cd1c) at kernel/qapplication_x11.cpp:3379
#42 0xb62f960a in x11EventSourceDispatch (s=0x9193ce8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#43 0xb59c75e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#44 0xb59cb2d8 in ?? () from /lib/libglib-2.0.so.0
#45 0xb59cb4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#46 0xb6d495d5 in QEventDispatcherGlib::processEvents (this=0x9190e90, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#47 0xb62f9135 in QGuiEventDispatcherGlib::processEvents (this=0x9190e90, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0xb6d1c059 in QEventLoop::processEvents (this=0xbfb3d014, flags=) at kernel/qeventloop.cpp:149
#49 0xb6d1c4aa in QEventLoop::exec (this=0xbfb3d014, flags=...) at kernel/qeventloop.cpp:201
#50 0xb6d2069f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#51 0xb6239577 in QApplication::exec () at kernel/qapplication.cpp:3579
#52 0xb39c505e in kdemain (argc=1, argv=0x91821b0) at ../../../../plasma/desktop/shell/main.cpp:112
#53 0x0804e133 in launch (argc=<value optimized out>, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=0, envs=0x9161e00 "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x8051465 "0") at ../../kinit/kinit.cpp:717
#54 0x0804ec6d in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#55 0x0804f190 in handle_requests (waitForPid=<value optimized out>) at ../../kinit/kinit.cpp:1402
#56 0x0804fe4f in main (argc=4, argv=0xbfb3dac4, envp=0xbfb3dad8) at ../../kinit/kinit.cpp:1845

Reported using DrKonqi
Comment 1 Aaron J. Seigo 2010-05-11 04:42:35 UTC
technically this is an upstream crash in dbusmenu-qt (so i'm CC'ing  
Aurélien, the developer of that lib) ... looking at it, i'm guessing the problem is in waitForWatcher(QDBusPendingCallWatcher *watcher, int maxWait) where it goes back to the event loop with the rather dangerous QCoreApplication::processEvents method. 

it seems what is happening is that the watcher is getting deleted (due to the call being completed) but that happens while the event loop is still processing events. so waitForWatcher comes back and *boom*, the watcher object (and therefore it's dptr) is no longer valid.

Aurélien: why is it blocking on user events while the update happens? can't the finished() signal of the watcher be used to check for completion and not bother with blocking user interaction?
Comment 2 Aurelien Gateau 2010-05-11 18:19:09 UTC
DBusMenuImporter::slotMenuAboutToShow() is called when the menu is about to show. This means that as soon as we return from this slot, the menu appears.

We want the menu to be completely filled, so we wait for the application to respond to the AboutToShow() method call so that we can update the menu before showing it, otherwise the menu would be shown half-empty and then populate itself while visible.

I am going to give a try at reproducing this with a test case.
Comment 3 Aaron J. Seigo 2010-06-03 17:30:14 UTC
*** Bug 240531 has been marked as a duplicate of this bug. ***
Comment 4 Nicolas L. 2010-06-04 12:11:52 UTC
Aurelien do you have some news about this bug ?
Comment 5 Aurelien Gateau 2010-06-08 15:17:39 UTC
(In reply to comment #4)
> Aurelien do you have some news about this bug ?

I just gave it another try and was able to somehow reproduce it. It should be fixed with commit 505a010. Please reopen if bug comes again.
Comment 6 Beat Wolf 2010-09-01 15:44:15 UTC
*** Bug 249460 has been marked as a duplicate of this bug. ***
Comment 7 Anne-Marie Mahfouf 2011-12-04 17:21:38 UTC
*** Bug 267109 has been marked as a duplicate of this bug. ***