[Bug 46870] League of Legends 8.12+ fails to start a game in Vista+ mode ( anticheat engine, SystemExtendedProcessInformation)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Apr 9 20:55:33 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=46870

--- Comment #48 from Zebediah Figura <z.figura12 at gmail.com> ---
(In reply to Paul Gofman from comment #47)
> I downloaded LoL client and tested it.
> 
> I could not reproduce any problem with the current Wine Staging (optimized
> build), everything worked out of the box, no overrides, no crash on training
> battle start.
> 
> I could reproduce the crash on training battle start after building with '-g
> -O0'. I figured that the crash goes away for me if to take just
> xaudio2_7.dll from the optimized build. Crash also goes away if I use native
> override for xaudio2_7, or if I take xaudio2_7 from mainstream Wine even
> built with the same '-g -O0' flags (mainstream Wine uses new FAudio based
> xaudio, while Staging is using an old one). If I do an ugly hack defining
> WINAPI with DECLSPEC_HOTPATCH in Staging xaudio, it changes nothing. So it
> doesn't look the problem has anything to do with hotpatching.
> 
> The crash happens from
> 'IXAudio2VoiceCallback_OnVoiceProcessingPassStart(src->cb, underrun);'
> called in do_engine_tick(). I did not track down what exactly goes wrong
> with it with no optimization flags as I am not sure how much it is
> interesting given the old xaudio is being replaced by FAudio one and that
> does not happen there.

Thanks for the extensive debugging.

I guess inasmuch as Staging is still using the old xaudio2 implementation, this
should be fixed at least for Staging. But it's not immediately clear what's
wrong, and since I'd expect anyone who's not specifically interested in doing
debugging to use -O2, I'm inclined to put this somewhere near the bottom of the
priority list, at least until after we switch to the new FAudio-based
implementation :-)

-- 
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.



More information about the wine-bugs mailing list