← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 400374] [NEW] X server freezes while the application is executing XQueryPointer

 

You have been subscribed to a public bug:

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: xorg (Ubuntu)
     Importance: Undecided
         Status: New

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