https://bugs.winehq.org/show_bug.cgi?id=46174
Bug ID: 46174 Summary: Fix for Bug 46066 in Wine 3.20 Breaks Voice Chat Feature in Halo Online Product: Wine-staging Version: 3.20 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: rstrube@gmail.com CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
Created attachment 62832 --> https://bugs.winehq.org/attachment.cgi?id=62832 Output when running Halo Online and crash occurs.
After upgrading to Wine Staging 3.20 I noticed that Halo Online would hang as soon as a I joined any multiplayer match. After some investigation, I noticed that disabling the voice chat feature would cause the game to function correctly.
With Wine Staging 3.19 the voice chat feature worked correctly.
I noticed in the release notes for 3.20 a stub DLL (qwave.dll) was added. This was to fix Bug 46066. I believe this is causing the crash / hang with Halo Online. It might also affect other games with in game voice chat functionality.
I've attached the output from wine when running the game and when the crash occurs.
The key line is:
wine: Call from 0x7b43e10c to unimplemented function qwave.dll.QOSCreateHandle, aborting
Which then calls Audio Read timeouts, which cause the entire game to crash.
Thanks! Rob
https://bugs.winehq.org/show_bug.cgi?id=46174
Robert Strube rstrube@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86 |x86-64
--- Comment #1 from Robert Strube rstrube@gmail.com --- One more note:
I'm not sure if this is unique to Halo Online, or if other games with Voice Chat features will also have problems. It seems as if Halo Online was written to use qwave.dll *if* it exits, and now that it does exist (albeit as a stub) the game crashes.
https://bugs.winehq.org/show_bug.cgi?id=46174
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Fix for Bug 46066 in Wine |Halo Online Voice Chat |3.20 Breaks Voice Chat |crashes on unimplemented |Feature in Halo Online |function | |qwave.dll.QOSCreateHandle CC| |xerox.xerox2000x@gmail.com Regression SHA1| |73c0ec29eb6429f023060d870f1 | |98a9395d8db23 Product|Wine-staging |Wine Component|-unknown |-unknown Keywords| |regression
--- Comment #2 from Gijs Vermeulen gijsvrm@gmail.com --- Moving to the 'Wine' Product, because this is certainly also present with upstream Wine. Changed title, added 'regression' keyword and CC'd Louis Lenders.
https://bugs.winehq.org/show_bug.cgi?id=46174
--- Comment #3 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 62833 --> https://bugs.winehq.org/attachment.cgi?id=62833 quickly fixed up hack
I fixed up a hack in one minute, is it possible you could try the attached hack?
Also: I guess if you disable qwave in winecfg (Libraries tab) it works around the crash?
https://bugs.winehq.org/show_bug.cgi?id=46174
--- Comment #4 from Gijs Vermeulen gijsvrm@gmail.com --- Created attachment 62834 --> https://bugs.winehq.org/attachment.cgi?id=62834 test patch
Here is a slightly better version of Louis' patch.
You can find instructions on how to build wine here: https://wiki.winehq.org/Building_Wine
https://bugs.winehq.org/show_bug.cgi?id=46174
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=46174
--- Comment #5 from Robert Strube rstrube@gmail.com --- I can confirm that disabling qwave in the Libraries tab of winecfg *DID* fix the issue with wine staging 3.20 (and presumably wine 3.20 as well).
I've never built wine from scratch before - previously I was running Ubuntu and this process was pretty challenging (for 32 bit support). I'm running an Arch based system now, so I'll take a closer look at this over the weekend.
https://bugs.winehq.org/show_bug.cgi?id=46174
--- Comment #6 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Gijs Vermeulen from comment #4)
Created attachment 62834 [details] test patch
Hi, to avoid the patch lying resting in this report for several weeks (like i saw in other bugreports), maybe it`s a good idea to ask if the patch can be included in next Staging-release. That comes out next weekend i guess, then it can be tested a bit easier for users, without the need to recompile whole wine. If the patch is sufficient then can be sent upstream afterwards.
https://bugs.winehq.org/show_bug.cgi?id=46174
--- Comment #7 from Zebediah Figura z.figura12@gmail.com --- (In reply to Louis Lenders from comment #6)
(In reply to Gijs Vermeulen from comment #4)
Created attachment 62834 [details] test patch
Hi, to avoid the patch lying resting in this report for several weeks (like i saw in other bugreports), maybe it`s a good idea to ask if the patch can be included in next Staging-release. That comes out next weekend i guess, then it can be tested a bit easier for users, without the need to recompile whole wine. If the patch is sufficient then can be sent upstream afterwards.
Even better, it could be sent directly upstream now ;-)
https://bugs.winehq.org/show_bug.cgi?id=46174
--- Comment #8 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Zebediah Figura from comment #7)
I already sent in the include changes, but I would like to hold off on sending the stub until it is confirmed it helps for this issue.
https://bugs.winehq.org/show_bug.cgi?id=46174
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/qwave-QOSCreateH | |andle Status|UNCONFIRMED |STAGED
https://bugs.winehq.org/show_bug.cgi?id=46174
--- Comment #9 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Robert Strube from comment #5)
I can confirm that disabling qwave in the Libraries tab of winecfg *DID* fix the issue with wine staging 3.20 (and presumably wine 3.20 as well).
I've never built wine from scratch before - previously I was running Ubuntu and this process was pretty challenging (for 32 bit support). I'm running an Arch based system now, so I'll take a closer look at this over the weekend.
If you test, use the patch from wine-staging it fixes something I missed (Thanks Alistair). Is there a download somewhere that I could use to test this myself?
https://bugs.winehq.org/show_bug.cgi?id=46174
--- Comment #10 from Louis Lenders xerox.xerox2000x@gmail.com --- Is there a download somewhere that I could use to test
this myself?
I tested Discord yesterday, is a free download, and installing it requires to work around other wine-bug ( see bugzilla). Will update some info tomorrow, weekend now ;)
https://bugs.winehq.org/show_bug.cgi?id=46174
--- Comment #11 from Robert Strube rstrube@gmail.com --- Hi folks,
Could you kindly clarify what the status of "STAGED" means? Does this mean that this patch will be included in the next version on Wine Staging? If so I can very easily test and confirm whether or not the patch fixes the issue.
Thanks! Rob
https://bugs.winehq.org/show_bug.cgi?id=46174
--- Comment #12 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Robert Strube from comment #11)
Hi folks,
Could you kindly clarify what the status of "STAGED" means? Does this mean that this patch will be included in the next version on Wine Staging? If so I can very easily test and confirm whether or not the patch fixes the issue.
Thanks! Rob
It means the patch is included in wine-staging, so if it's easier for you, you could test with wine-staging 3.21.
https://bugs.winehq.org/show_bug.cgi?id=46174
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Halo Online Voice Chat |Multiple apps (Halo Online |crashes on unimplemented |Voice Chat, Discord, |function |Realtimeboard) crashes on |qwave.dll.QOSCreateHandle |unimplemented function | |qwave.dll.QOSCreateHandle
--- Comment #13 from Louis Lenders xerox.xerox2000x@gmail.com --- Looks like current staging patch forgot to include spec file change.
https://github.com/wine-staging/wine-staging/blob/master/patches/qwave-QOSCr...
So testing will likely not succeed. Found another app:
https://realtimeboard.com/apps/
Will report back if patch helps
https://bugs.winehq.org/show_bug.cgi?id=46174
--- Comment #14 from Robert Strube rstrube@gmail.com --- I can confirm that Wine-Staging 3.21 *did not* solve the problem with qwave.dll. If I enable voice chat for Halo Onlne the application crashes shortly after the match starts.
https://bugs.winehq.org/show_bug.cgi?id=46174
--- Comment #15 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Robert Strube from comment #14)
I can confirm that Wine-Staging 3.21 *did not* solve the problem with qwave.dll. If I enable voice chat for Halo Onlne the application crashes shortly after the match starts.
Could you post the terminal output?
https://bugs.winehq.org/show_bug.cgi?id=46174
--- Comment #16 from Robert Strube rstrube@gmail.com --- Created attachment 62871 --> https://bugs.winehq.org/attachment.cgi?id=62871 Wine Staging 3.21 Halo Online Output
Hi,
Here is the attached output. I noticed that the crash appears to occur a little later than previously. One other thing worth mentioning is that disabling "qwave" in the Libraries tab for winecfg is still a work around, and this allows me to play the game with the voice chat feature enabled. I can also disable the voice chat feature entirely in-game and can play the game.
Thanks! Rob
https://bugs.winehq.org/show_bug.cgi?id=46174
--- Comment #17 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Robert Strube from comment #16)
Created attachment 62871 [details] Wine Staging 3.21 Halo Online Output
Hi,
Here is the attached output. I noticed that the crash appears to occur a little later than previously. One other thing worth mentioning is that disabling "qwave" in the Libraries tab for winecfg is still a work around, and this allows me to play the game with the voice chat feature enabled. I can also disable the voice chat feature entirely in-game and can play the game.
Thanks! Rob
I forgot about comment 13, staging patch is missing some things. Easiest would be if you could still try to compile wine yourself. But thanks for the log.
https://bugs.winehq.org/show_bug.cgi?id=46174
--- Comment #18 from Robert Strube rstrube@gmail.com --- Yup, no problem. I'll build it this evening and report back.
Rob
https://bugs.winehq.org/show_bug.cgi?id=46174
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |qwave
https://bugs.winehq.org/show_bug.cgi?id=46174
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://web.archive.org/web | |/20190415120457/https://dl. | |discordapp.net/apps/win/0.0 | |.305/DiscordSetup.exe CC| |focht@gmx.net
--- Comment #19 from Anastasius Focht focht@gmx.net --- Hello folks,
a patch was committed: https://source.winehq.org/git/wine.git/commitdiff/9c44ef5b565464646063a7bf60... ("qwave: Add stub for QOSCreateHandle and tests.")
Thanks Vijay
Could you check it fixes the issue for Halo/Discord etc.?
I didn't manage to have the Discord app calling 'qwave.QOSCreateHandle' for reproduce ('qwave.dll' is loaded though).
Adding stable download link for testing one of the apps mentioned in summary:
https://web.archive.org/web/20190415120457/https://dl.discordapp.net/apps/wi...
$ sha1sum DiscordSetup.exe 5b76c558c9db88bcc0b1ee6a3c980aa26a5795c5 DiscordSetup.exe
$ du -sh DiscordSetup.exe 59M DiscordSetup.exe
$ wine --version wine-4.6-30-gf9301c2b66
Regards
https://bugs.winehq.org/show_bug.cgi?id=46174
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest@gmail.com
--- Comment #20 from Vijay Kamuju infyquest@gmail.com --- Cannot install the app's as they requires the Token Integrity Patches and related patches from staging. I am trying to get them upstreamed one by one. If the original patch works in staging then we can close the bug.
https://bugs.winehq.org/show_bug.cgi?id=46174
--- Comment #21 from Louis Lenders xerox.xerox2000x@gmail.com --- I cannot get Discord calling this QOSCreateHandle too. Maybe it only happens in older versions, but the application updates itsself immediately so i fear that`s impossible to test. Also I think you have to have a microphone attached; i had that on my laptop but the screen broke so i hardly use that one anymore
More luck with RealtimeBoard; the app is taken over by another company apparently,
When you sign up (just enter name and email) and start the app, then click on "user story map" i can see: 00ae:fixme:powermgnt:PowerCreateRequest (0x34ed08): stub 00ae:fixme:powermgnt:PowerCreateRequest (0x34ed08): stub 00c9:fixme:qwave:QOSCreateHandle 0x693e6d0 0x22ff3c18 stub! 00c9:fixme:qwave:QOSCreateHandle 0x693e6d0 0x2315e390 stub! 00c9:fixme:qwave:QOSCreateHandle 0x693e6d0 0x232a3d60 stub! 00c9:fixme:qwave:QOSCreateHandle 0x693e6d0 0x2331f940 stub! wine: Unhandled exception 0x40000015 in thread a5 at address 0x2a8e379 (thread 00a5), starting debugger... 00eb:fixme:dbghelp:elf_search_auxv can't find symbol in module
Not sure if the crash is related to qwave, I`ll do some testing and report back.
sha1sum /media/louis/aqqa/Miro\ -\ formerly\ RealtimeBoard.exe b2ba69a6745bb8a889175b3f4a5e269762deca77 /media/louis/aqqa/Miro - formerly RealtimeBoard.exe
https://bugs.winehq.org/show_bug.cgi?id=46174
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Summary|Multiple apps (Halo Online |Multiple apps (Halo Online |Voice Chat, Discord, |Voice Chat, Discord, Miro |Realtimeboard) crashes on |Realtimeboard) crashes on |unimplemented function |unimplemented function |qwave.dll.QOSCreateHandle |qwave.dll.QOSCreateHandle Fixed by SHA1| |9c44ef5b565464646063a7bf600 | |654163b92921f Status|STAGED |RESOLVED
--- Comment #22 from Louis Lenders xerox.xerox2000x@gmail.com --- The crash from Miro RealTimeBoard is seemingly not related to qwave***
It happens also when i disable qwave, and i also copied over native qwave from my windows and crash stays the same.
Also when you click ''Mindmap'' the QosCreateHandle stub is called and that part seems to work fine.
fixme:powermgnt:PowerCreateRequest (0x32ed18): stub fixme:powermgnt:PowerCreateRequest (0x32ed18): stub fixme:qwave:QOSCreateHandle 0x693e6d0 0x2d740478 stub! fixme:qwave:QOSCreateHandle 0x693e6d0 0x2d740e58 stub! fixme:qwave:QOSCreateHandle 0x693e6d0 0x2d7c9480 stub! fixme:qwave:QOSCreateHandle 0x693e6d0 0x2d7405b0 stub!
So let`s resolve fixed now. Thanks Vijay
crash: ***: # # Fatal error in d:\build\src\third_party\webrtc\base\platform_thread.cc, line 179 # last system error: 5 # Check failed: queued || GetLastError() == ERROR_GEN_FAILURE # # wine: Unhandled exception 0x40000015 in thread e8 at address 0x2a8e379 (thread 00e8), starting debugger...
https://bugs.winehq.org/show_bug.cgi?id=46174
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.7.
https://bugs.winehq.org/show_bug.cgi?id=46174
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.0.x
https://bugs.winehq.org/show_bug.cgi?id=46174
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.x |---
--- Comment #24 from Michael Stefaniuc mstefani@winehq.org --- Removing 4.0.x milestone, the wine-4.0.x series is closed.