[Bug 46727] New: Alekhine's Gun crashes on startup when using FAudio
https://bugs.winehq.org/show_bug.cgi?id=46727 Bug ID: 46727 Summary: Alekhine's Gun 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(a)winehq.org Reporter: andrey.goosev(a)gmail.com Distribution: --- Created attachment 63702 --> https://bugs.winehq.org/attachment.cgi?id=63702 backtrace err:xaudio2:impl_from_IXAudio2Voice invalid IXAudio2Voice pointer: 0x114a242c wine-4.2-195-gf784cabd34 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=46727 Ethan Lee <flibitijibibo(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |flibitijibibo(a)gmail.com --- Comment #1 from Ethan Lee <flibitijibibo(a)gmail.com> --- This is looking to be the same issue as https://bugs.winehq.org/show_bug.cgi?id=46724. See if the patch I posted over there fixes this game too! -- 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.
https://bugs.winehq.org/show_bug.cgi?id=46727 --- Comment #2 from Ethan Lee <flibitijibibo(a)gmail.com> --- Created attachment 63707 --> https://bugs.winehq.org/attachment.cgi?id=63707 Patch to work around startup crash Tracing around a bit, it seems that the original error message is right. When the engine creates a source voice, it passes in a send list with 1 output voice, which is a pointer that doesn't come from XAudio2 at all! I have no idea what this pointer is or where it's from, so this temporary patch just returns an error for those voices. I have no idea if this is the correct behavior or if those pointers actually DO mean something and I'm not seeing the source of them. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=46727 --- Comment #3 from Andrey Gusev <andrey.goosev(a)gmail.com> --- Now game launches with no sound at all and hangs after a while with 'err:ntdll:RtlpWaitForCriticalSection section 0x9e02c9c "../xaudio2_7/xaudio_dll.c: XA2VoiceImpl.lock" wait timed out in thread 012c, blocked by 0121, retrying (60 sec)' -- 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.
https://bugs.winehq.org/show_bug.cgi?id=46727 pattietreutel <katyaberezyaka(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka(a)gmail.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=46727 --- Comment #4 from Ethan Lee <flibitijibibo(a)gmail.com> --- Created attachment 63719 --> https://bugs.winehq.org/attachment.cgi?id=63719 Fix crash due to struct misalignment Turns out the 2.2->2.3 update's subtleties got the best of me! This patch should fix it without going silent (and without the clumsy hang on exit). There will be at least 2 compiler warnings from this patch; I'll do a proper fix once this is verified. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=46727 --- Comment #5 from Ethan Lee <flibitijibibo(a)gmail.com> --- Fixed in master: https://source.winehq.org/git/wine.git/commit/b49b78db49d79bdd1358f2244a87d7... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=46727 Andrey Gusev <andrey.goosev(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b49b78db49d79bdd1358f2244a8 | |7d74db6350b73 Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #6 from Andrey Gusev <andrey.goosev(a)gmail.com> --- Fixed by https://source.winehq.org/git/wine.git/commit/b49b78db49d79bdd1358f2244a87d7... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=46727 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #7 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 4.3. -- 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.
participants (1)
-
wine-bugs@winehq.org