https://bugs.winehq.org/show_bug.cgi?id=53321
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org
--- Comment #3 from Bernhard Übelacker bernhardu@mailbox.org --- It looks like doing the link step with Crinkler adds a custom dll loader to the executable. That loader seems to try to lookup ntdll.NtdllDefWindowProc_A but cannot find it and erroneously takes the first export of ntdll, which is A_SHAFinal.
Therefore A_SHAFinal gets called later with wrong parameter and therefore crashes.
This can be seen by adding this stub entry to dlls/ntdll/ntdll.spec: +@ stub NtdllDefWindowProc_A
Then the output of snake.exe changes to: wine: Call from 7BC243E0 to unimplemented function ntdll.dll.NtdllDefWindowProc_A, aborting
Unfortunately I have currently no Idea how either forwarding this call from ntdll to user32 can/should work.