https://bugs.winehq.org/show_bug.cgi?id=49850
Bug ID: 49850 Summary: No One Lives Forever crashes due to GetMotif stub in dmstyle Product: Wine Version: 5.12 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dmusic Assignee: wine-bugs@winehq.org Reporter: qsniyg@mail.com Distribution: ---
Returning S_FALSE instead of S_OK fixes the crash (though music still fails to play).
Though I haven't used a debugger, I suspect the reason NOLF crashes here is because it will try to access ppSegment (which has not been modified by GetMotif) if it returns S_OK.
I'm not sure if any other lithtech games are affected.
https://bugs.winehq.org/show_bug.cgi?id=49850
qsniyg qsniyg@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #1 from qsniyg qsniyg@mail.com --- Fixed by https://source.winehq.org/git/wine.git/commit/d28c7938c704fe4dcfc8920db494a7...
https://bugs.winehq.org/show_bug.cgi?id=49850
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |d28c7938c704fe4dcfc8920db49 | |4a7175a46fe6b
https://bugs.winehq.org/show_bug.cgi?id=49850
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.18.
https://bugs.winehq.org/show_bug.cgi?id=49850
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |5.0.x
https://bugs.winehq.org/show_bug.cgi?id=49850
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|5.0.x |---
--- Comment #3 from Michael Stefaniuc mstefani@winehq.org --- Removing the 5.0.x milestone from bug fixes included in 5.0.4.