[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#621358: kded4 remains runnng after KDE session finished, and loops on the CPU after suspend/resume



Package: kdelibs-bin
Version: 4:4.6.4-1

> I guess after the new login the old kded4 still keeps running and gets crazy
> kded4 cpu usage goes to 100%, kill -9 <pid> solves the problem, I didn't 
> notice any consequence in KDE.

Ok, i can now extra info:

this time X/kde/kdm/whatever crashed and i was expelled to the kdm login 
screen. The kded4  daemon kept running (together with pulseaudio)
but all other KDE session processes were gone.
       ---> NOTE: there is a wish-item in Bug#544149 which would partly
             address this also, if the kde daemons notice when they are 
              unused and quit

Then i logged in again starting a new kde session. Two kded4 processes were
now running (one old, one new), but still NO cpu-overload issues.

Then i SUSPENDED TO RAM overnight. Upon resume, the kded4 process from the
old crashed session went crazy, bringing CPU load to 100%.


Below the backtrace of all threads.

=================
(gdb) thread apply all bt

Thread 3 (Thread 0x7ffe03f15700 (LWP 23797)):
#0  0x00007ffe1dba7e13 in select () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffe1ef95521 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007ffe1eecd235 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007ffe1b6a1b40 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007ffe1dbae2fd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ffe01ed6700 (LWP 23803)):
#0  0x00007ffe1b6a414f in pthread_mutex_lock () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffe1abd6986 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x00007ffe1abd7879 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007ffe1abd7f1d in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007ffe1efde5cf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQtCore.so.4
#5  0x00007ffe1efb2b82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQtCore.so.4
#6  0x00007ffe1efb2d7f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x00007ffe1eeca81f in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x00007ffe1ef95b6f in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007ffe1eecd235 in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007ffe1b6a1b40 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007ffe1dbae2fd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffe2036a760 (LWP 23792)):
#0  0x00007ffe1b6a62c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffe1eecd6cb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007ffe1eeccf7c in QThread::wait(unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x00007ffe1ef89370 in QFileSystemWatcher::~QFileSystemWatcher() () from /usr/lib/libQtCore.so.4
#4  0x00007ffe1ef89449 in QFileSystemWatcher::~QFileSystemWatcher() () from /usr/lib/libQtCore.so.4
#5  0x00007ffe1efc54a5 in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
#6  0x00007ffe1efcaa49 in QObject::~QObject() () from /usr/lib/libQtCore.so.4
#7  0x00007ffe17c67759 in ?? () from /usr/lib/libsolid.so.4
#8  0x00007ffe1db0fd82 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#9  0x00007ffe1db0fdd5 in exit () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x00007ffe1e3d85d8 in ?? () from /usr/lib/libQtGui.so.4
#11 0x00007ffe1fd5c8c8 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#12 0x00007ffe1f81207e in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#13 0x00007ffe1f80f9bd in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007ffe1f8004ff in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007ffe1e41053c in ?? () from /usr/lib/libQtGui.so.4
#16 0x00007ffe1abd711c in g_main_context_check () from /lib/libglib-2.0.so.0
#17 0x00007ffe1abd7a02 in ?? () from /lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#18 0x00007ffe1abd7f1d in g_main_context_iteration () from /lib/libglib-2.0.so.0
#19 0x00007ffe1efde5cf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQtCore.so.4
#20 0x00007ffe1e41070e in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007ffe1efb2b82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQtCore.so.4
#22 0x00007ffe1efb2d7f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#23 0x00007ffe1efb6f57 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#24 0x00007ffe0e3ae155 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_kded4.so
#25 0x00000000004088fa in _start ()
(gdb) 
=================



Reply to: