http://bugs.winehq.org/show_bug.cgi?id=31882
--- Comment #52 from Josh DuBois duboisj@codeweavers.com 2012-10-28 13:23:42 CDT --- I only ran it 200 times, but it resolved the problem with arial32.exe on my Ubnutu 11.10 VM, also.
(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.