https://bugs.winehq.org/show_bug.cgi?id=40989
Bug ID: 40989 Summary: Adventure Lamp needs ntdll.NtSuspendProcess Product: Wine Version: 1.9.14 Hardware: x86 URL: https://ryguy.itch.io/adventurelamp OS: Linux Status: NEW Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: madewokherd@gmail.com Distribution: ---
Adventure Lamp, from https://ryguy.itch.io/adventurelamp, does a GetProcAddress call to look up NtSuspendProcess, then calls the result. Wine's ntdll doesn't export this function, so currently it crashes on NULL pointer access.
https://bugs.winehq.org/show_bug.cgi?id=40989
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=40989
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
--- Comment #1 from Austin English austinenglish@gmail.com --- Created attachment 55161 --> https://bugs.winehq.org/attachment.cgi?id=55161 stub
Does this help? Or does it need an actual implementation?
https://bugs.winehq.org/show_bug.cgi?id=40989
--- Comment #2 from Vincent Povirk madewokherd@gmail.com --- I don't know. After stubbing that, it goes on to call RtlGetUnloadEventTrace, and NtResumeProcess. With those stubbed, it hangs before showing any windows.
https://bugs.winehq.org/show_bug.cgi?id=40989
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |bd6f749c169ff682f8d11542f66 | |dcd7c354b0aa9 Resolution|--- |FIXED
--- Comment #3 from Austin English austinenglish@gmail.com --- Committed as http://source.winehq.org/git/wine.git/commitdiff/bd6f749c169ff682f8d11542f66...
Other functions should be separate issues.
https://bugs.winehq.org/show_bug.cgi?id=40989
--- Comment #4 from Austin English austinenglish@gmail.com --- FYI, I went ahead and sent a ResumeProcess stub since we have suspend: https://source.winehq.org/patches/data/125766
https://bugs.winehq.org/show_bug.cgi?id=40989
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.17.
https://bugs.winehq.org/show_bug.cgi?id=40989
--- Comment #6 from Austin English austinenglish@gmail.com --- (In reply to Austin English from comment #4)
FYI, I went ahead and sent a ResumeProcess stub since we have suspend: https://source.winehq.org/patches/data/125766
http://source.winehq.org/git/wine.git/commitdiff/08f04c5a6e67dd83850a6b5d3c2...