http://bugs.winehq.org/show_bug.cgi?id=7105
------- Additional Comments From mikolaj.zalewski@gmail.com 2007-15-02 15:26 ------- Created an attachment (id=4951) --> (http://bugs.winehq.org/attachment.cgi?id=4951&action=view) a patch to see who destroys the icon
The problem is that someone frees the standard IDC_WAIT cursor. Could you run wine with this patch applied and provide the WINEDEBUG=+relay log? The expected behaviour is a crash but the stack trace will show who is freeing the cursor. After you have the log remove the patch as it will result in random crashes in other programs.
I'm not sure that I will be able to fix the bug as I have little expirience in user32 code but even if not these logs and comments will be helpful for someone other trying to fix it.