X server not responding when querying X pointer position

Daniel Stone daniel at fooishbar.org
Thu Jul 7 02:59:42 PDT 2011


On Thu, Jul 07, 2011 at 11:46:43AM +0200, Thierry Reding wrote:
> * Daniel Stone wrote:
> > The two most pertinent questions I can think of are:
> >     * are you using threads at all?
> 
> I try to keep the number of threads used to a minimum, but since WebKit is
> involved and the program also uses libvlc as well, several threads will be in
> use.

Heh, threads are always problematic.  Are you calling XInitThreads()
before your first call to XOpenDisplay()? Does an all-threads backtrace
from shortly before or during this deadlock show any other Xlib activity
from other threads?

Cheers,
Daniel


More information about the xorg-devel mailing list