On Fri, Feb 8, 2013 at 11:17:11 +0100, Michal Suchanek wrote: > On 7 February 2013 20:01, Julien Cristau <[email protected]> wrote: > > On Thu, Feb 7, 2013 at 14:37:08 +0000, Michal Suchanek wrote: > > > >> Package: libx11-6 > >> Version: 2:1.5.0-1 > >> Followup-For: Bug #700015 > >> > >> Hello, > >> > >> it seems this problem is fixed by calling XInitThreads(). > >> > > Not a bug then. You don't get to use xlib in threaded programs without > > calling that. > > Except I am not sure who should call that. It's supposed to be the > first Xlib funcion called (as the gdb script does). > > Replacing gnome-shell with the gdb script allows running gnome as normal. > > Presumably gnome-shell runs on platforms with single-threaded GLES > implementation. > > The GLES library is not in position to call XInitThreads because it's > passed a X11 window id which was obtained by the application by a Xlib > call already. > > gnome-shell is not interested in threading so does not call XInitThreads. > Sounds like you're screwed then.
Cheers, Julien -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

