http://bugs.winehq.org/show_bug.cgi?id=31056
Bug #: 31056 Summary: .NET Framework 3.x/4.x WPF Media Integration Layer deadlocks between ui and render thread when calling SetPixelFormat Product: Wine Version: 1.5.7 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: winex11.drv AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net Classification: Unclassified
Hello,
with bug 18640 fixed, .NET 3.x/4.x WPF based apps now run into a message deadlock between main UI app thread and renderer thread.
When the d3d9 device is created, the window handle created by main UI thread is passed. The pixel format is propagated synchronously to target window. Because the target thread waits for event without pumping messages (by design) it deadlocks.
Easy to reproduce with small example app:
http://stuff.hamstersoft.com/software/hamsterfreeburningstudio.exe
Prerequisite: clean WINEPREFIX and 'winetricks -q dotnet30'
Regards