[Bug 53321] snakeqr: Unhandled page fault on write access in A_SHAFinal
WineHQ Bugzilla
wine-bugs at winehq.org
Fri Jul 8 15:26:03 CDT 2022
https://bugs.winehq.org/show_bug.cgi?id=53321
Bernhard Übelacker <bernhardu at mailbox.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bernhardu at mailbox.org
--- Comment #3 from Bernhard Übelacker <bernhardu at 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.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list