Version: (using KDE 4.2.2) OS: Linux Installed from: Ubuntu Packages Once in a while, when debugging another application, kwin freezes: #0 0x00007f54ee85a463 in __select_nocancel () from /lib/libc.so.6 #1 0x00007f54ebfda356 in ?? () from /usr/lib/libxcb.so.1 #2 0x00007f54ebfdbbdd in xcb_wait_for_reply () from /usr/lib/libxcb.so.1 #3 0x00007f54f0b2358e in _XReply () from /usr/lib/libX11.so.6 #4 0x00007f54f0b10b4f in XQueryPointer () from /usr/lib/libX11.so.6 #5 0x00007f54f3741509 in KWin::Workspace::cursorPos (this=0x12440e0) at /build/buildd/kdebase-workspace-4.2.2/kwin/workspace.cpp:2674 #6 0x00007f54f37415fa in KWin::Workspace::checkCursorPos (this=0x8) at /build/buildd/kdebase-workspace-4.2.2/kwin/workspace.cpp:2703 #7 0x00007f54f374741a in KWin::Workspace::qt_metacall (this=0x12440e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffffbbff690) at /build/buildd/kdebase-workspace-4.2.2/obj-x86_64-linux-gnu/kwin/workspace.moc:446 #8 0x00007f54f136e134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #9 0x00007f54f1368a43 in QObject::event () from /usr/lib/libQtCore.so.4 #10 0x00007f54f1a7dc3d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #11 0x00007f54f1a859ba in QApplication::notify () from /usr/lib/libQtGui.so.4 #12 0x00007f54f2eeeabb in KApplication::notify () from /usr/lib/libkdeui.so.5 #13 0x00007f54f1359d61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #14 0x00007f54f1385ab6 in ?? () from /usr/lib/libQtCore.so.4 #15 0x00007f54f13821fd in ?? () from /usr/lib/libQtCore.so.4 #16 0x00007f54ed113d5b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #17 0x00007f54ed11752d in ?? () from /usr/lib/libglib-2.0.so.0 #18 0x00007f54ed1176eb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #19 0x00007f54f138215f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 #20 0x00007f54f1b0fa6f in ?? () from /usr/lib/libQtGui.so.4 #21 0x00007f54f1358682 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #22 0x00007f54f135880d in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #23 0x00007f54f135acbd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4 #24 0x00007f54f375e86f in kdemain (argc=3, argv=0x7ffffbc00588) at /build/buildd/kdebase-workspace-4.2.2/kwin/main.cpp:519 #25 0x00007f54ee799466 in __libc_start_main () from /lib/libc.so.6 #26 0x00000000004007e9 in _start () Killing the other application sometimes unfreezes it, but usually, I have to kill kwin and restart it.
probably related to mouse polling. Can you try to disable the track mouse effect?
Ok, disabled it. I'll see if this still happens.
If it freezes in XQueryPointer() (Which is a blocking call that waits for communication from the X server) then it certainly isn't a KWin problem.
So would this be a bug in the X server? I filed an Ubuntu bug about this: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/400374 But I'm not really sure who is at fault here.