[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
Sun Sep 30 04:19:59 PDT 2012


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

Uli Schlachter <psychon at znc.in> changed:

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

--- Comment #15 from Uli Schlachter <psychon at znc.in> ---
Sorry for not using your patch, but there must always be a thread reading from
the socket when there is one that writes.

commit 23911a707b8845bff52cd7853fc5d59fb0823cef
Author: Uli Schlachter <psychon at znc.in>
Date:   Mon Sep 24 22:07:51 2012 +0200

    Fix a multi-thread deadlock

    This fixes a deadlock which was seen in-the-wild with wine.

    It could happen that two threads tried to read from the socket at the same
time
    and one of the thread got stuck inside of poll()/select().

    The fix works by making sure that the writing thread doesn't steal the
reading
    thread's reply.

    Debugged-by: Erich Hoover <ehoover at mines.edu>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54671
    Signed-off-by: Uli Schlachter <psychon at znc.in>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20120930/833b8547/attachment.html>


More information about the Xcb mailing list