https://bugs.winehq.org/show_bug.cgi?id=46724
Bug ID: 46724 Summary: Call of Juarez: Bound in Blood crashes on startup when using FAudio Product: Wine Version: 4.2 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: xaudio2 Assignee: wine-bugs@winehq.org Reporter: andrey.goosev@gmail.com Distribution: ---
Created attachment 63695 --> https://bugs.winehq.org/attachment.cgi?id=63695 backtrace
wine-4.2-195-gf784cabd34
https://bugs.winehq.org/show_bug.cgi?id=46724
Ethan Lee flibitijibibo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |flibitijibibo@gmail.com
--- Comment #1 from Ethan Lee flibitijibibo@gmail.com --- Created attachment 63705 --> https://bugs.winehq.org/attachment.cgi?id=63705 Uninitialized memory fix for XAUDIO2_VOICE_SENDS*
I believe the crash is due to an uninitialized pointer sending bogus data to our send wrappers, does the attached patch fix the issue? It works for me, but I could be missing more variables...
https://bugs.winehq.org/show_bug.cgi?id=46724
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=46724
--- Comment #2 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Ethan Lee from comment #1)
Created attachment 63705 [details] Uninitialized memory fix for XAUDIO2_VOICE_SENDS*
I believe the crash is due to an uninitialized pointer sending bogus data to our send wrappers, does the attached patch fix the issue? It works for me, but I could be missing more variables...
I tested the demo (requires native d3dcompiler_47) and can confirm the crash. Your patch fixes the issue for me.
https://bugs.winehq.org/show_bug.cgi?id=46724
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |ac8be6a1a24d49e1e32806b05dc | |f4591de5c691e
--- Comment #3 from Andrey Gusev andrey.goosev@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/commit/ac8be6a1a24d49e1e32806b05dcf45...
https://bugs.winehq.org/show_bug.cgi?id=46724
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.3.