https://bugs.winehq.org/show_bug.cgi?id=57162
Bug ID: 57162 Summary: 3DXChat: Game does not start in Wine 8.4 to latest Product: Wine Version: 8.4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: winehq-bugs@dnlr.org Distribution: ---
Created attachment 77065 --> https://bugs.winehq.org/attachment.cgi?id=77065 Logfile showing the failed start of the games exe
The game 3DXChat does not start in current versions of Wine as of the game version 450 and upwards. It does, however, still work in Wine up until version 8.3. On the current Wine version, the games launcher starts and updates the game. Afterwards the games .exe starts and you can see it in the process list. However, the game window does not show up.
The game developers have introduced a niche Unity store anti-cheat solution with version 450, so this might be an issue. However, since the game still runs in Wine 8.3, there seems to be a way to also have it run on current versions.
It is possible to download and install the game without having a game account. The error occurs right after the games .exe starts up, before the login window appears.
Game download link: https://3dxchat.com/download.php?id=launcher Unity anti-cheat store link: https://assetstore.unity.com/packages/tools/utilities/warden-il2cpp-anti-che...
https://bugs.winehq.org/show_bug.cgi?id=57162
winehq-bugs@dnlr.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|8.4 |9.16
https://bugs.winehq.org/show_bug.cgi?id=57162
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |ntdll Status|UNCONFIRMED |NEW CC| |etang@codeweavers.com Keywords| |download, regression Regression SHA1| |1833887428f7539681ebbc1c893 | |a4ec85cc1ea88 Ever confirmed|0 |1 Version|9.16 |8.4 URL| |https://3dxchat.com/downloa | |d.php?id=launcher
--- Comment #1 from Andrew Nguyen arethusa26@gmail.com --- I can confirm that the 3DXChat game (build 453) seems to hang with wine-9.17 and wine-8.4 but not with wine-8.3. With wine-8.3, I can see the following indication of hanging on a critical section wait:
01f4:err:sync:RtlpWaitForCriticalSection section 00000000659802C0 "?" wait timed out in thread 01f4, blocked by 0000, retrying (60 sec)
Regression testing identified the following commit:
1833887428f7539681ebbc1c893a4ec85cc1ea88 is the first bad commit commit 1833887428f7539681ebbc1c893a4ec85cc1ea88 (HEAD) Author: Evan Tang etang@codeweavers.com Date: Tue Mar 7 17:13:33 2023 -0600
ntdll: Fix inverted TlsIndex check.
Fixes: a30a5287f06ccf56a1d7184e8c22ea9e79e9efaf Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54539
https://bugs.winehq.org/show_bug.cgi?id=57162
--- Comment #2 from Evan Tang etang@codeweavers.com --- Would you mind testing Wine 7? 1833887428f7539681ebbc1c893a4ec85cc1ea88 fixed an issue that I had introduced earlier, where TLS variables were not getting initialized. If it's broken in Wine 7 (and "fixed" by a30a5287f06ccf56a1d7184e8c22ea9e79e9efaf), then it's probably some unrelated issue that can be worked around by not initializing TLS variables.
https://bugs.winehq.org/show_bug.cgi?id=57162
--- Comment #3 from winehq-bugs@dnlr.org --- I get the same error in Wine 7.0 and 7.22.
https://bugs.winehq.org/show_bug.cgi?id=57162
--- Comment #4 from Andrew Nguyen arethusa26@gmail.com --- (In reply to Evan Tang from comment #2)
Would you mind testing Wine 7? 1833887428f7539681ebbc1c893a4ec85cc1ea88 fixed an issue that I had introduced earlier, where TLS variables were not getting initialized. If it's broken in Wine 7 (and "fixed" by a30a5287f06ccf56a1d7184e8c22ea9e79e9efaf), then it's probably some unrelated issue that can be worked around by not initializing TLS variables.
I can also confirm that the game does not work with wine-7.0.2 but works with Wine built from commit a30a5287f06ccf56a1d7184e8c22ea9e79e9efaf. I agree with your analysis that the commit reported by the regression test isn't really the cause of the underlying issue, but it just happens to expose again some problem that is occurring in a TLS callback.
https://bugs.winehq.org/show_bug.cgi?id=57162
Santiago Mola santi@mola.io changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |santi@mola.io