http://bugs.winehq.org/show_bug.cgi?id=24963
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW
--- Comment #11 from Anastasius Focht focht@gmx.net --- Hello Vijay,
--- quote --- Does the crash occur with the original staged patch? --- quote ---
You mean this one?
https://github.com/wine-staging/wine-staging/blob/463f0b79360c89b7fbe4eb266b...
That patch probably worked fine at the time when it was introduced in 2016. But then Fabian did a change in 2018 in order to fix bug 46186 - unrelated to this problem:
https://gitlab.winehq.org/wine/wine/-/commit/400dd1596ab7946e68278b3f8dc7c87... ("user32: LoadImage should not only search in the working directory.").
which essentially introduces another path to crash. Calling SearchPathW() with a resource id is not a good idea.
Regards