https://bugs.winehq.org/show_bug.cgi?id=52820
Bug ID: 52820 Summary: Pokemon TCG Live Crashes During Login within Vuplex Webview Product: Wine Version: 7.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: algebro@tuta.io Distribution: ---
Created attachment 72202 --> https://bugs.winehq.org/attachment.cgi?id=72202 Vuplex backtrace
Pokemon TCG Live crashes during the authentication flow when the program tries to open a login page in a WebView created by Vuplex (which seems to be a proprietary Unity plugin). Backtrace is attached to this ticket.
https://bugs.winehq.org/show_bug.cgi?id=52820
--- Comment #1 from algebro@tuta.io --- Created attachment 72203 --> https://bugs.winehq.org/attachment.cgi?id=72203 Decompiled code near crash
Poking around in a debugger/Ghidra, the crash occurs in a function call near some code dealing with shared resources. No idea if it's related, but I believe shared resources are currently only available in proton. I've attached the relevant decompiled code from Vuplex WebView.vuplex in case that's helpful.
https://bugs.winehq.org/show_bug.cgi?id=52820
--- Comment #2 from algebro@tuta.io --- Does anyone know what ChromiumGraphicsManager::getDevice() is? The return value is what should populate local_88 in the Vuplex code but is triggering a null dereference when the virtual function is called `(**(code **)*local_88[0])();`, but I can't find that object/function anywhere after googling around.
https://bugs.winehq.org/show_bug.cgi?id=52820
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- Could be something internal to this plugin. Do you get any trace messages prior to the crash, anything from d3d11/d3d9? Running with WINEDEBUG=+d3d11,+d3d9,+d3d will give more information.
https://bugs.winehq.org/show_bug.cgi?id=52820
--- Comment #4 from algebro@tuta.io --- Thanks for the tip--I'm attaching the resulting output. Fair warning, it's huge and I'm not seeing any obvious culprit in it but maybe you'll be able to spot something?
Note that the process that crashes isn't the main application process--vuplex is a separate executable that is spun up in a child process and crashes. The main game continues looping trying to load the webview. Not sure if that would impact debugging/logging.
https://bugs.winehq.org/show_bug.cgi?id=52820
--- Comment #5 from algebro@tuta.io --- Created attachment 72204 --> https://bugs.winehq.org/attachment.cgi?id=72204 Output with WINEDEBUG=+d3d11,+d3d9,+d3d
https://bugs.winehq.org/show_bug.cgi?id=52820
--- Comment #6 from algebro@tuta.io --- So I've confirmed Vuplex is the only thing holding this back. I extracted the refresh token used for authentication from a Windows machine and wrote it into the Wine prefix with CredWrite() which bypasses the login window. Afterwards, the game runs fine.
As far as Vuplex, I tried running the game with Proton experimental (which I believe has support for shared resources now) and was getting the same crash, so I'm wondering if its due to shared resources at all.
https://bugs.winehq.org/show_bug.cgi?id=52820
--- Comment #7 from algebro@tuta.io --- I just tested with https://github.com/GloriousEggroll/wine-ge-custom which includes the shared resource patches and the game runs fine without any issues, so it definitely appears related to that.
https://bugs.winehq.org/show_bug.cgi?id=52820
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hellholesystem@protonmail.c | |om
--- Comment #8 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- *** Bug 53824 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=52820
Neko-san nekoNexus@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nekoNexus@protonmail.ch
https://bugs.winehq.org/show_bug.cgi?id=52820
naberuz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |naberuz@gmail.com
--- Comment #9 from naberuz@gmail.com --- Created attachment 74898 --> https://bugs.winehq.org/attachment.cgi?id=74898 backtrace of crash
app crashes after select the preferred language fedora 36. wine-8.6
https://bugs.winehq.org/show_bug.cgi?id=52820
--- Comment #10 from naberuz@gmail.com --- Created attachment 74911 --> https://bugs.winehq.org/attachment.cgi?id=74911 same error on windows 10
The same error happens in windows 10, I had to change that configuration that made it works.
https://bugs.winehq.org/show_bug.cgi?id=52820
Lars Ivar Igesund larsivi@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |larsivi@gmail.com
--- Comment #11 from Lars Ivar Igesund larsivi@gmail.com --- A webview used for some tournaments and events (at least) in Raid: Shadow Legends (played via Plarium Play), also crashes.
Using Wine 8.12-staging (I suppose it is no longer staging, but haven't updated).
Will upload the stacktrace it created.
https://bugs.winehq.org/show_bug.cgi?id=52820
--- Comment #12 from Lars Ivar Igesund larsivi@gmail.com --- Created attachment 74970 --> https://bugs.winehq.org/attachment.cgi?id=74970 Vuplex Webview crash backtrace from Raid: Shadow Legends
https://bugs.winehq.org/show_bug.cgi?id=52820
luca.finizio@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |luca.finizio@protonmail.com
--- Comment #13 from luca.finizio@protonmail.com --- I have the same issue, game hangs after language selection. I'm using LMDE 6 with Kernel Linux 6.1.0-21-amd64 x86_64