Public bug reported:

If an application stops in the middle of a call to XQueryPointer - e.g., hits a 
breakpoint in gdb - the whole X server freezes until the application is 
resumed. That also makes it difficult to resume the application.
It looks like XQueryPointer acquires some kind of a global lock in X. So if 
another application - such as the window manager - makes a call to 
XQueryPointer, the call won't return until the first application finishes 
executing it.

Steps to reproduce:
1. Start Firefox
2. Attach gdb to it
3. Set a breakpoint in XQueryService.
4. When the breakpoint gets hit, set another one at xcb_wait_for_reply
5. When the second breakpoint is hit, X will be frozen

I'm using Kubuntu 9.04.

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
X server freezes while the application is executing XQueryPointer
https://bugs.launchpad.net/bugs/400374
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to