http://bugs.winehq.org/show_bug.cgi?id=10979
--- Comment #7 from Jeff Zaroyko jeffzaroyko@gmail.com 2008-05-02 03:24:07 --- (In reply to comment #6)
One small remark which might be useful for this bug. Age of Empiress II (when setting DirectDrawRenderer to opengl; some frames are flipped right now, but ignore that) crashes when you enter the game itself UNLESS SetDisplayMode in wined3d/swapchain.c SwapChainImpl_Destroy is disabled. Not sure but it might be a similar issue, so when it is a possible fix should likely have to fix both issues.
as you said on irc, it isn't the same bug.
This is simply a matter of Wine calling a function in SetDisplayMode which expects a message to always be processed - but the application has suspended the thread which processes messages, this does not give Wine the chance to process an internal message so it waits forever and never returns from SetDisplayMode.