[Bug 31882] Many multithreaded gui apps randomly deadlock in winex11 driver surface section (arial32.exe, Aquanox, Mahaa demo, Total Commander)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Oct 28 14:22:25 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=31882

Ken Thomases <ken at codeweavers.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ken at codeweavers.com

--- Comment #53 from Ken Thomases <ken at codeweavers.com> 2012-10-28 14:22:25 CDT ---
(In reply to comment #49)
> Created attachment 42273 [details]
> patch
> 
> Actually, the attached patch seems fairly good at avoiding the issue. I'm not
> quite familiar enough with all the code to judge how proper this is, but the
> basic idea is to avoid making X11 calls until message handler has had a chance
> to finish.

The problem is that you really do want to flush the surface before waiting on
events.  You can't have unflushed drawing pending for indefinite periods,
especially if the the user is supposed to be reacting to whatever is supposed
to have been drawn.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list