[Xcb] [Bug 22082] X Application hangs randomly, has reproduce step

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 16 12:07:43 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=22082

Jamey Sharp <jamey at minilop.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |NOTOURBUG

--- Comment #15 from Jamey Sharp <jamey at minilop.net> 2011-03-16 12:07:43 PDT ---
(In reply to comment #14)
> I had found that if either "glutMainLoopEvent" or "glutWarpPointer" is deleted,
> then this bug would never show up. So I think maybe it's a freeglut
> multi-threads problem or something else. Also I have tried to put
> "glutMainLoopEvent" and "glutWarpPointer" into one thread, in that case, our
> program is running well.

Ahh. A quick Google search suggests that yes, freeglut is not aware of threads.
In that case, it sounds like you need to either make sure that all your glut
calls are from the same thread, or use a mutex to ensure that you only call
glut from one thread at a time.

Assuming that's actually your problem, I'm marking the bug resolved. If you
find evidence that this really is an X bug, feel free to reopen this.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the Xcb mailing list