https://bugs.winehq.org/show_bug.cgi?id=51610
--- Comment #3 from Fabian Maurer dark.shadow4@web.de --- Created attachment 70475 --> https://bugs.winehq.org/attachment.cgi?id=70475 Stack test program with source
For easier debugging, I attached a simplified version of the problematic code as a testcase.
This example copies the problematic code from cygwin, and then tries to open a messagebox. For some reason, that cygwin function doesn't work under wine and messes up the stack.