http://bugs.winehq.org/show_bug.cgi?id=29262
Bug #: 29262 Summary: Creating windows in threads may deadlock Product: Wine Version: 1.3.34 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: kgbricola@web.de Classification: Unclassified
Created attachment 37846 --> http://bugs.winehq.org/attachment.cgi?id=37846 testcase (source + binary - w32)
Creating windows in threads may deadlock at gdi_section and X11DRV_CritSection. This doesn't seem to happen on win xp. Though I'd expect that it should be possible to create windows from a thread. Attached is a small test case.
Howto: - run graphics.exe - hit the button "start" a couple of times and the deadlock may appear (sometimes it takes ages to trigger it, sometimes the first hit will make it happen)
Log: err:ntdll:RtlpWaitForCriticalSection section 0x688ef580 "../../../git/dlls/winex11.drv/x11drv_main.c: X11DRV_CritSection" wait timed out in thread 0009, blocked by 002f, retrying (60 sec) err:ntdll:RtlpWaitForCriticalSection section 0x68e2d960 "../../../git/dlls/gdi32/gdiobj.c: gdi_section" wait timed out in thread 002f, blocked by 0009, retrying (60 sec)
http://bugs.winehq.org/show_bug.cgi?id=29262
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2011-12-07 07:32:47 CST --- Please attach the backtrace of the deadlocked threads.
http://bugs.winehq.org/show_bug.cgi?id=29262
--- Comment #2 from Rico kgbricola@web.de 2011-12-07 09:09:51 CST --- Created attachment 37848 --> http://bugs.winehq.org/attachment.cgi?id=37848 backtrace for the deadlocked threads
http://bugs.winehq.org/show_bug.cgi?id=29262
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase
http://bugs.winehq.org/show_bug.cgi?id=29262
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b036c8a38d8f86ef797d39a2c0a | |a2b4d4ff827c0 Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2011-12-07 13:59:27 CST --- Thanks, should be fixed now.
http://bugs.winehq.org/show_bug.cgi?id=29262
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2011-12-16 13:29:16 CST --- Closing bugs fixed in 1.3.35.
http://bugs.winehq.org/show_bug.cgi?id=29262
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |winex11.drv