gdb -p ...
(gdb) thread apply all bt
Thread 2 (Thread 0xb56c1b70 (LWP 7392)):
#0 0x00449416 in __kernel_vsyscall ()
#1 0x0090ee06 in poll () from /lib/libc.so.6
#2 0x0262f97b in g_qsort_with_data (pbase=0xb4d01480, total_elems=2, size=4294967295, compare_func=0xb4d01480, user_data=0x2)
at /build/buildd/glib2.0-2.28.3/./glib/gqsort.c:158
#3 0x0261f2df in g_main_context_iterate (context=0x8405934, block=40040784, dispatch=1, self=<value optimised out>)
at /build/buildd/glib2.0-2.28.3/./glib/gmain.c:3076
#4 0x0261f654 in g_main_loop_ref (loop=0x8405930) at /build/buildd/glib2.0-2.28.3/./glib/gmain.c:3200
#5 0x015c954c in QEventDispatcherGlib::processEvents (this=0x83fb8b0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#6 0x0159b299 in QEventLoop::processEvents (this=0xb56c1290, flags=...) at kernel/qeventloop.cpp:149
#7 0x0159b532 in QEventLoop::exec (this=0xb56c1290, flags=...) at kernel/qeventloop.cpp:201
#8 0x014a52a0 in QThread::exec (this=0x84049e8) at thread/qthread.cpp:492
#9 0x0157cfeb in QInotifyFileSystemWatcherEngine::run (this=0x84049e8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x014a7da2 in QThreadPrivate::start (arg=0x84049e8) at thread/qthread_unix.cpp:320
#11 0x05a08e99 in start_thread () from /lib/libpthread.so.0
#12 0x0091d5ce in clone () from /lib/libc.so.6
Thread 1 (Thread 0xb77a7ac0 (LWP 7387)):
#0 0x00449416 in __kernel_vsyscall ()
#1 0x05a0d48c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x0092b28d in pthread_cond_wait () from /lib/libc.so.6
#3 0x014a8467 in wait (this=0x84044e8, mutex=0x84044d0, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4 QWaitCondition::wait (this=0x84044e8, mutex=0x84044d0, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5 0x014a74cf in QThread::wait (this=0x84049e8, time=4294967295) at thread/qthread_unix.cpp:722
#6 0x0156fc87 in QFileSystemWatcher::~QFileSystemWatcher (this=0x83fa888, __in_chrg=<value optimised out>) at io/qfilesystemwatcher.cpp:446
#7 0x0156fd52 in QFileSystemWatcher::~QFileSystemWatcher (this=0x83fa888, __in_chrg=<value optimised out>) at io/qfilesystemwatcher.cpp:462
#8 0x015afb97 in QObjectPrivate::deleteChildren (this=0x8404910) at kernel/qobject.cpp:1964
#9 0x015b43af in QObject::~QObject (this=0x8404398, __in_chrg=<value optimised out>) at kernel/qobject.cpp:946
#10 0x00204e5b in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x8404398, __in_chrg=<value optimised out>)
at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:48
#11 0x00204e92 in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x8404398, __in_chrg=<value optimised out>)
at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:51
#12 0x00204d05 in destroy () at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:30
#13 0x0018dfbb in Solid::CleanUpGlobalStatic::~CleanUpGlobalStatic (this=0x2218c8, __in_chrg=<value optimised out>)
at ../../../solid/solid/soliddefs_p.h:67
#14 0x0087ca1f in ?? () from /lib/libc.so.6
#15 0x0087ca7f in exit () from /lib/libc.so.6
#16 0x00b6cd8b in ?? () from /usr/lib/libQtGui.so.4
#17 0x0068311a in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#18 0x00683156 in ?? () from /usr/lib/libkdeui.so.5
#19 0x07c9d1f6 in _XIOError () from /usr/lib/libX11.so.6
#20 0x07c9a90f in _XEventsQueued () from /usr/lib/libX11.so.6
#21 0x07c8b50b in XEventsQueued () from /usr/lib/libX11.so.6
#22 0x00bab555 in ?? () from /usr/lib/libQtGui.so.4
#23 0x0261e84d in g_main_context_check (context=0x839d270, max_priority=<value optimised out>, fds=0x8411620, n_fds=4)
at /build/buildd/glib2.0-2.28.3/./glib/gmain.c:2995
#24 0x0261f16a in g_main_context_iterate (context=0x839d270, block=40040784, dispatch=1, self=<value optimised out>)
at /build/buildd/glib2.0-2.28.3/./glib/gmain.c:3049
#25 0x0261f654 in g_main_loop_ref (loop=0x839d270) at /build/buildd/glib2.0-2.28.3/./glib/gmain.c:3200
#26 0x015c954c in QEventDispatcherGlib::processEvents (this=0x837d440, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#27 0x00bab775 in ?? () from /usr/lib/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
#28 0x0159b299 in QEventLoop::processEvents (this=0xbfc28b84, flags=...) at kernel/qeventloop.cpp:149
#29 0x0159b532 in QEventLoop::exec (this=0xbfc28b84, flags=...) at kernel/qeventloop.cpp:201
#30 0x0159fedc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#31 0x00af58e7 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#32 0x0804f5dd in _start ()
http:// forums. opensuse. org/application s/415387- knotify4- consuming- 100-cpu. html
gdb -p ... func=0xb4d01480 , user_data=0x2) buildd/ glib2.0- 2.28.3/ ./glib/ gqsort. c:158 context_ iterate (context=0x8405934, block=40040784, dispatch=1, self=<value optimised out>) buildd/ glib2.0- 2.28.3/ ./glib/ gmain.c: 3076 buildd/ glib2.0- 2.28.3/ ./glib/ gmain.c: 3200 rGlib:: processEvents (this=0x83fb8b0, flags=...) at kernel/ qeventdispatche r_glib. cpp:422 :processEvents (this=0xb56c1290, flags=...) at kernel/ qeventloop. cpp:149 qeventloop. cpp:201 qthread. cpp:492 temWatcherEngin e::run (this=0x84049e8) at io/qfilesystemw atcher_ inotify. cpp:248 :start (arg=0x84049e8) at thread/ qthread_ unix.cpp: 320 .so.0
(gdb) thread apply all bt
Thread 2 (Thread 0xb56c1b70 (LWP 7392)):
#0 0x00449416 in __kernel_vsyscall ()
#1 0x0090ee06 in poll () from /lib/libc.so.6
#2 0x0262f97b in g_qsort_with_data (pbase=0xb4d01480, total_elems=2, size=4294967295, compare_
at /build/
#3 0x0261f2df in g_main_
at /build/
#4 0x0261f654 in g_main_loop_ref (loop=0x8405930) at /build/
#5 0x015c954c in QEventDispatche
#6 0x0159b299 in QEventLoop:
#7 0x0159b532 in QEventLoop::exec (this=0xb56c1290, flags=...) at kernel/
#8 0x014a52a0 in QThread::exec (this=0x84049e8) at thread/
#9 0x0157cfeb in QInotifyFileSys
#10 0x014a7da2 in QThreadPrivate:
#11 0x05a08e99 in start_thread () from /lib/libpthread
#12 0x0091d5ce in clone () from /lib/libc.so.6
Thread 1 (Thread 0xb77a7ac0 (LWP 7387)): cond_wait@ @GLIBC_ 2.3.2 () from /lib/libpthread .so.0 qwaitcondition_ unix.cpp: 88 :wait (this=0x84044e8, mutex=0x84044d0, time=4294967295) at thread/ qwaitcondition_ unix.cpp: 160 qthread_ unix.cpp: 722 her::~QFileSyst emWatcher (this=0x83fa888, __in_chrg=<value optimised out>) at io/qfilesystemw atcher. cpp:446 her::~QFileSyst emWatcher (this=0x83fa888, __in_chrg=<value optimised out>) at io/qfilesystemw atcher. cpp:462 :deleteChildren (this=0x8404910) at kernel/ qobject. cpp:1964 qobject. cpp:946 Backends: :Fstab: :FstabWatcher: :~FstabWatcher (this=0x8404398, __in_chrg=<value optimised out>) ./solid/ solid/backends/ fstab/fstabwatc her.cpp: 48 Backends: :Fstab: :FstabWatcher: :~FstabWatcher (this=0x8404398, __in_chrg=<value optimised out>) ./solid/ solid/backends/ fstab/fstabwatc her.cpp: 51 ./solid/ solid/backends/ fstab/fstabwatc her.cpp: 30 CleanUpGlobalSt atic::~ CleanUpGlobalSt atic (this=0x2218c8, __in_chrg=<value optimised out>) ./solid/ solid/soliddefs _p.h:67 libQtGui. so.4 :xioErrhandler( _XDisplay* ) () from /usr/lib/ libkdeui. so.5 libkdeui. so.5 libX11. so.6 libX11. so.6 libX11. so.6 libQtGui. so.4 context_ check (context=0x839d270, max_priority=<value optimised out>, fds=0x8411620, n_fds=4) buildd/ glib2.0- 2.28.3/ ./glib/ gmain.c: 2995 context_ iterate (context=0x839d270, block=40040784, dispatch=1, self=<value optimised out>) buildd/ glib2.0- 2.28.3/ ./glib/ gmain.c: 3049 buildd/ glib2.0- 2.28.3/ ./glib/ gmain.c: 3200 rGlib:: processEvents (this=0x837d440, flags=...) at kernel/ qeventdispatche r_glib. cpp:422 libQtGui. so.4 :processEvents (this=0xbfc28b84, flags=...) at kernel/ qeventloop. cpp:149 qeventloop. cpp:201 n::exec () at kernel/ qcoreapplicatio n.cpp:1008 :exec() () from /usr/lib/ libQtGui. so.4
#0 0x00449416 in __kernel_vsyscall ()
#1 0x05a0d48c in pthread_
#2 0x0092b28d in pthread_cond_wait () from /lib/libc.so.6
#3 0x014a8467 in wait (this=0x84044e8, mutex=0x84044d0, time=4294967295) at thread/
#4 QWaitCondition:
#5 0x014a74cf in QThread::wait (this=0x84049e8, time=4294967295) at thread/
#6 0x0156fc87 in QFileSystemWatc
#7 0x0156fd52 in QFileSystemWatc
#8 0x015afb97 in QObjectPrivate:
#9 0x015b43af in QObject::~QObject (this=0x8404398, __in_chrg=<value optimised out>) at kernel/
#10 0x00204e5b in Solid::
at ../../.
#11 0x00204e92 in Solid::
at ../../.
#12 0x00204d05 in destroy () at ../../.
#13 0x0018dfbb in Solid::
at ../../.
#14 0x0087ca1f in ?? () from /lib/libc.so.6
#15 0x0087ca7f in exit () from /lib/libc.so.6
#16 0x00b6cd8b in ?? () from /usr/lib/
#17 0x0068311a in KApplication:
#18 0x00683156 in ?? () from /usr/lib/
#19 0x07c9d1f6 in _XIOError () from /usr/lib/
#20 0x07c9a90f in _XEventsQueued () from /usr/lib/
#21 0x07c8b50b in XEventsQueued () from /usr/lib/
#22 0x00bab555 in ?? () from /usr/lib/
#23 0x0261e84d in g_main_
at /build/
#24 0x0261f16a in g_main_
at /build/
#25 0x0261f654 in g_main_loop_ref (loop=0x839d270) at /build/
#26 0x015c954c in QEventDispatche
#27 0x00bab775 in ?? () from /usr/lib/
---Type <return> to continue, or q <return> to quit---
#28 0x0159b299 in QEventLoop:
#29 0x0159b532 in QEventLoop::exec (this=0xbfc28b84, flags=...) at kernel/
#30 0x0159fedc in QCoreApplicatio
#31 0x00af58e7 in QApplication:
#32 0x0804f5dd in _start ()