http://bugs.winehq.org/show_bug.cgi?id=33586
--- Comment #5 from Artem S. Tashkinov t.artem@mailcity.com 2013-05-14 11:16:36 CDT --- (In reply to comment #3)
I'm aware of that. I'll probably agree that wine could avoid a crash in this case, if that's what you're thinking, but there's no way to match behaviour until some official patch is released.
Yes, I believe Wine either should exit gracefully, ignore this invalid API call or show a message saying that the user is insane. ;-)