http://bugs.winehq.org/show_bug.cgi?id=30254
--- Comment #2 from John Doe fossw00t@gmail.com 2012-03-25 01:38:40 CDT --- Created attachment 39532 --> http://bugs.winehq.org/attachment.cgi?id=39532 patch
The loop is caused by dlls/user32/focus.c lines 97-98:
SendMessageW( previous, WM_ACTIVATE, MAKEWPARAM( WA_INACTIVE, IsIconic(previous) ), (LPARAM)hwnd );
I wonder why the program calls EndDialog when the dialog is deactivated...
The patch fixes the crash for me. I'm not sure it is correct though...