http://bugs.winehq.org/show_bug.cgi?id=17650
--- Comment #7 from François Gouget fgouget@codeweavers.com 2009-03-10 07:24:36 --- I have rechecked this part of the patch and I really see nothing wrong. So I think what happens is that the stack gets corrupted somewhere, and that because WINAPI and CDECL pop the stack in different ways one causes a crash and not the other. If that's the case, then you need to find what causes the stack corruption.