[Xcb] [Bug 54671] Wine locks up when running multithreaded applications that touch both OpenGL and X11

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 12 07:41:19 PDT 2012


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

Erich Hoover <ehoover at mines.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #67048|0                           |1
        is obsolete|                            |

--- Comment #14 from Erich Hoover <ehoover at mines.edu> 2012-09-12 14:41:19 UTC ---
Created attachment 67053
  --> https://bugs.freedesktop.org/attachment.cgi?id=67053
Patch to keep Wine applications from locking up [v2]

(In reply to comment #13)
> ...
> I'm not sure about the idea of the proposed patch. If there are seperate
> reading and writing threads, the reading thread could stop reading and we end
> up without any reading thread. In theory this could cause a dead-lock where the
> server refuses to read until some of the already written data gets handled in
> the client, but this seems quite unlikely.

If the reading thread stops reading then wouldn't the writing thread open up to
being able to read again?

> For the patch itself: fd.fd is not initialized in the "just writing"-case.

My bad, sorry about that - a corrected version is attached (still works for my
test case).

-- 
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