* Thierry Reding wrote:
> * Daniel Stone wrote:
> > 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()?
> 
> Actually I was just using Gtk+, without any explicit calls to the X
> libraries. But grep'ing through the Gtk+ sources yields no matches for
> XInitThreads(). I'll try adding it manually.

Calling XInitThreads() explicitly does indeed seem to solve the problem. I've
been doing some more monkey-testing and wasn't able to reproduce this
particular problem.

Still, in my opinion this should be something for Gtk+ to take care of. Would
you agree that this should be filed as a bug report against Gtk+?

Thanks for your help,
Thierry

Attachment: pgpTeXIox4TTX.pgp
Description: PGP signature

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to