https://bugs.kde.org/show_bug.cgi?id=366742
--- Comment #5 from Tony <jodr...@live.com> --- Ok, i gave it another try. Had to read about gdb a bit.... The desktop still locks while using gdb though so here is what i did: First i delete .config and .cache from "home" and start the desktop clean. I login to VT3 and VT4. In VT4 have top running, VT3 i used it to run gdb. So i opened 4 torrents with qbitorrent switch to VT4 check that X and kwin are using a lot cpu power. Switch to VT3 and ran gdb, set logging on, and ran bt. I got this on from "gdb.txt" on my home folder: #0 QVector<bool (*)(QXcbConnection*, xcb_generic_event_t*)>::detach (this=0x1470800) at ../../../../include/QtCore/../../src/corelib/tools/qvector.h:384 #1 QVector<bool (*)(QXcbConnection*, xcb_generic_event_t*)>::end (this=0x1470800) at ../../../../include/QtCore/../../src/corelib/tools/qvector.h:208 #2 QXcbConnection::processXcbEvents (this=0x14704f0) at qxcbconnection.cpp:1731 #3 0x00007f54ce159ad9 in QObject::event (this=0x14704f0, e=<optimized out>) at kernel/qobject.cpp:1263 #4 0x00007f54cea1989c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x14704f0, e=0x7f54b4a5aef0) at kernel/qapplication.cpp:3799 #5 0x00007f54cea21296 in QApplication::notify (this=0x7ffc2242e190, receiver=0x14704f0, e=0x7f54b4a5aef0) at kernel/qapplication.cpp:3556 #6 0x00007f54ce12dda8 in QCoreApplication::notifyInternal2 (receiver=0x14704f0, event=event@entry=0x7f54b4a5aef0) at kernel/qcoreapplication.cpp:988 #7 0x00007f54ce13046b in QCoreApplication::sendEvent (event=0x7f54b4a5aef0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #8 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1456d30) at kernel/qcoreapplication.cpp:1649 #9 0x00007f54ce17ddea in QEventDispatcherUNIX::processEvents (this=0x14abdf0, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:461 #10 0x00007f54ba3b287d in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:68 #11 0x00007f54ce12bd9a in QEventLoop::exec (this=this@entry=0x7ffc2242e080, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210 #12 0x00007f54ce1343ac in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261 #13 0x00007f54ce476dbc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1639 #14 0x00007f54cea197f5 in QApplication::exec () at kernel/qapplication.cpp:2975 #15 0x00007f54d0588206 in kdemain (argc=1, argv=0x7ffc2242e318) at /workspace/build/main_x11.cpp:466 #16 0x00007f54d01cf830 in __libc_start_main (main=0x400710 <main(int, char**)>, argc=3, argv=0x7ffc2242e318, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc2242e308) at ../csu/libc-start.c:291 #17 0x0000000000400749 in _start () Detaching from program: /usr/bin/kwin_x11, process 10843 Hopefully it helps. But now i noticed something else, when i ran gdb attached to kwin process the cpu usage from both X and kwin goes down right away, but as soon as i quit it it goes up again. Both spike well above 50% cpu usage on a FX832 up to 90% for X and stay there until i killed qbittorrent. -- You are receiving this mail because: You are watching all bug changes.