http://bugs.winehq.org/show_bug.cgi?id=31406
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |matteo.mystral@gmail.com
--- Comment #47 from Matteo Bruni matteo.mystral@gmail.com 2012-09-13 09:56:54 CDT --- (In reply to comment #44)
Created attachment 41657 [details] Fix for the libxcb poll() issue
Ok, I've had some help from the XCB folks and it looks like the problem is that a thread with a writing request can snipe the poll() from a thread with a reading request. The attached patch fixes that issue in my case, but there is some concern that it won't work in certain circumstances. Please let me know if this works out ok (for everyone here that is capable of building their own libxcb).
It seems to help in my case, although I don't have a real, specific testcase. At least World of Tanks never deadlocked for me in a couple of hours of play, while usually it would deadlock multiple times in that timeframe.
Still, this isn't something which can really be "tested" as correct, given the nature of the issue. I guess https://bugs.freedesktop.org/show_bug.cgi?id=54671 is the upstream bug?