[kwin] [Bug 415008] KWin-5.17.4 hangs inside loop in QXcbConnection::getTimestamp()
https://bugs.kde.org/show_bug.cgi?id=415008 postix changed: What|Removed |Added Resolution|WAITINGFORINFO |NOT A BUG Status|NEEDSINFO |RESOLVED -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 415008] KWin-5.17.4 hangs inside loop in QXcbConnection::getTimestamp()
https://bugs.kde.org/show_bug.cgi?id=415008 --- Comment #10 from Jaak Ristioja --- A lot has changed since, but I don't remember seeing this issue for a very long while now. Might have been fixed by those merge requests. Thanks! :) -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 415008] KWin-5.17.4 hangs inside loop in QXcbConnection::getTimestamp()
https://bugs.kde.org/show_bug.cgi?id=415008 postix changed: What|Removed |Added Status|REPORTED|NEEDSINFO CC||pos...@posteo.eu Resolution|--- |WAITINGFORINFO --- Comment #9 from postix --- Can you still reproduce it with some more recent Plasma version, like 5.24.5? -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 415008] KWin-5.17.4 hangs inside loop in QXcbConnection::getTimestamp()
https://bugs.kde.org/show_bug.cgi?id=415008 --- Comment #8 from ivz hh --- I have put two merge requests: * https://invent.kde.org/plasma/kwin/-/merge_requests/438 * https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/439 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 415008] KWin-5.17.4 hangs inside loop in QXcbConnection::getTimestamp()
https://bugs.kde.org/show_bug.cgi?id=415008 --- Comment #7 from ivz hh --- I have found a solution, I will submit a pull request soon. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 415008] KWin-5.17.4 hangs inside loop in QXcbConnection::getTimestamp()
https://bugs.kde.org/show_bug.cgi?id=415008 ivz hh changed: What|Removed |Added CC||shng...@gmail.com --- Comment #6 from ivz hh --- (In reply to Vojtěch Král from comment #5) > Hi, > it seems I'm having a very similar problem on my system. > However, in my case, this only happens upon logout and there's no noticeable > CPU comsumption. > After I log out of KDE, sometimes (about 10% cases) there will be a hanging > kwin_x11 process left behind, which is stuck in > QXcbConnection::getTimestamp() and needs to be SIGKILLed (SIGTERM won't > help). If not killed, the next login will lead to botched session where kwin > and plasma fail to start, but krunner and other session components work. > > Backtrace of kwin_x11 when stuck after logout: > > #0 0x7f456f3fcf04 in QXcbConnection::getTimestamp() () at > /usr/lib/libQt5XcbQpa.so.5 > #1 0x7f456f418663 in QXcbNativeInterface::getTimestamp(QXcbScreen > const*) () at /usr/lib/libQt5XcbQpa.so.5 > #2 0x7f456f4194e4 in > QXcbNativeInterface::nativeResourceForScreen(QByteArray const&, QScreen*) () > at /usr/lib/libQt5XcbQpa.so.5 > #3 0x7f457651b9c7 in QX11Info::getTimestamp() () at > /usr/lib/libQt5X11Extras.so.5 > #4 0x7f45768e4619 in KWin::Platform::updateXTime() () at > /usr/lib/libkwin.so.5 > #5 0x7f457689f2ec in > KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at > /usr/lib/libkwin.so.5 > #6 0x7f457550ec67 in > QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) > () at /usr/lib/libQt5Core.so.5 > #7 0x7f456f3fb703 in > QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at > /usr/lib/libQt5XcbQpa.so.5 > #8 0x7f456f3fcc79 in > QXcbConnection::processXcbEvents(QFlags) () > at /usr/lib/libQt5XcbQpa.so.5 > #9 0x7f456f42006e in () at /usr/lib/libQt5XcbQpa.so.5 > #10 0x7f457551013c in > QEventLoop::exec(QFlags) () at > /usr/lib/libQt5Core.so.5 > #11 0x7f45755185c4 in QCoreApplication::exec() () at > /usr/lib/libQt5Core.so.5 > #12 0x55e39cfc6412 in () > #13 0x7f4574eb5002 in __libc_start_main () at /usr/lib/libc.so.6 > #14 0x55e39cfc694e in _start () I have the same: "kwin_x11 runs infinitely on getTimestamp()". The reason is the DISPLAY is closed but `peek` cannot be notified on DISPLAY being invalidated. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 415008] KWin-5.17.4 hangs inside loop in QXcbConnection::getTimestamp()
https://bugs.kde.org/show_bug.cgi?id=415008 Vojtěch Král changed: What|Removed |Added CC||vojt...@kral.hk --- Comment #5 from Vojtěch Král --- Hi, it seems I'm having a very similar problem on my system. However, in my case, this only happens upon logout and there's no noticeable CPU comsumption. After I log out of KDE, sometimes (about 10% cases) there will be a hanging kwin_x11 process left behind, which is stuck in QXcbConnection::getTimestamp() and needs to be SIGKILLed (SIGTERM won't help). If not killed, the next login will lead to botched session where kwin and plasma fail to start, but krunner and other session components work. Backtrace of kwin_x11 when stuck after logout: #0 0x7f456f3fcf04 in QXcbConnection::getTimestamp() () at /usr/lib/libQt5XcbQpa.so.5 #1 0x7f456f418663 in QXcbNativeInterface::getTimestamp(QXcbScreen const*) () at /usr/lib/libQt5XcbQpa.so.5 #2 0x7f456f4194e4 in QXcbNativeInterface::nativeResourceForScreen(QByteArray const&, QScreen*) () at /usr/lib/libQt5XcbQpa.so.5 #3 0x7f457651b9c7 in QX11Info::getTimestamp() () at /usr/lib/libQt5X11Extras.so.5 #4 0x7f45768e4619 in KWin::Platform::updateXTime() () at /usr/lib/libkwin.so.5 #5 0x7f457689f2ec in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib/libkwin.so.5 #6 0x7f457550ec67 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib/libQt5Core.so.5 #7 0x7f456f3fb703 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib/libQt5XcbQpa.so.5 #8 0x7f456f3fcc79 in QXcbConnection::processXcbEvents(QFlags) () at /usr/lib/libQt5XcbQpa.so.5 #9 0x7f456f42006e in () at /usr/lib/libQt5XcbQpa.so.5 #10 0x7f457551013c in QEventLoop::exec(QFlags) () at /usr/lib/libQt5Core.so.5 #11 0x7f45755185c4 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5 #12 0x55e39cfc6412 in () #13 0x7f4574eb5002 in __libc_start_main () at /usr/lib/libc.so.6 #14 0x55e39cfc694e in _start () -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 415008] KWin-5.17.4 hangs inside loop in QXcbConnection::getTimestamp()
https://bugs.kde.org/show_bug.cgi?id=415008 Sébastien P. changed: What|Removed |Added CC|sebastien.pica...@gmail.com | -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 415008] KWin-5.17.4 hangs inside loop in QXcbConnection::getTimestamp()
https://bugs.kde.org/show_bug.cgi?id=415008 Sébastien P. changed: What|Removed |Added CC||sebastien.pica...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 415008] KWin-5.17.4 hangs inside loop in QXcbConnection::getTimestamp()
https://bugs.kde.org/show_bug.cgi?id=415008 --- Comment #4 from Alexander Potashev --- (In reply to Alexander Potashev from comment #3) > Same problem on Fedora 31: kwin_x11 hangs on start, consuming 100% CPU (1 > CPU core). > > KDE Plasma Version: 5.17.4 > KDE Frameworks Version: 5.64.0 Cannot reproduce upon reboot. Before reboot I tried to restart kwin_x11 from command line and it hanged again. After a while I got an error like this on the command line: """ Couldn't start kglobalaccel from org.kde.kglobalaccel.service: QDBusError("org.freedesktop.DBus.Error.NoReply", "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.") """ ...however according to GDB kwin_x11 was still stuck on line 335 in kglobalaccel.cpp inside method KGlobalAccelPrivate::updateGlobalShortcut() here: const QList scResult(shortcutFromIntList(result)); -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 415008] KWin-5.17.4 hangs inside loop in QXcbConnection::getTimestamp()
https://bugs.kde.org/show_bug.cgi?id=415008 Alexander Potashev changed: What|Removed |Added CC||aspotas...@gmail.com --- Comment #3 from Alexander Potashev --- Same problem on Fedora 31: kwin_x11 hangs on start, consuming 100% CPU (1 CPU core). KDE Plasma Version: 5.17.4 KDE Frameworks Version: 5.64.0 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 415008] KWin-5.17.4 hangs inside loop in QXcbConnection::getTimestamp()
https://bugs.kde.org/show_bug.cgi?id=415008 --- Comment #2 from Jaak Ristioja --- (In reply to David Edmundson from comment #1) > But it is active inside peekQueue? When I attached to the process with GDB I got this backtrace, and ran some number of "finish" commands, until it the command no longer returned. The stack frame which did not return was QXcbConnection::getTimestamp() unless I misinterpreted the output. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 415008] KWin-5.17.4 hangs inside loop in QXcbConnection::getTimestamp()
https://bugs.kde.org/show_bug.cgi?id=415008 David Edmundson changed: What|Removed |Added CC||k...@davidedmundson.co.uk --- Comment #1 from David Edmundson --- >Investigation of the hanged kwin_x11 process with GDB has shown that >QXcbConnection::getTimestamp() never returns. But it is active inside peekQueue? -- You are receiving this mail because: You are watching all bug changes.