https://bugs.winehq.org/show_bug.cgi?id=40536
Bug ID: 40536 Summary: Failure to connect to server in TMUnitedForever Product: Wine Version: 1.9.8 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: steveamigauk@yahoo.co.uk Distribution: ---
Trackmania United Forever fails to connect to the server with 1.9.8. Works fine with 1.9.7. Beyond that, I have no clue what may be causing it.
https://bugs.winehq.org/show_bug.cgi?id=40536
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de Keywords| |regression
--- Comment #1 from Sebastian Lackner sebastian@fds-team.de --- Please attach the terminal output with the old and the new version of Wine. Could you also try to run a regression test (see https://wiki.winehq.org/Regression_Testing)?
https://bugs.winehq.org/show_bug.cgi?id=40536
--- Comment #2 from steveamigauk@yahoo.co.uk --- Thank you. It will probably be weekend before I have time to do this. I'll come back to it then.
https://bugs.winehq.org/show_bug.cgi?id=40536
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
--- Comment #3 from Wylda wylda@volny.cz --- I wanted to do the regression test, but "unfortunately" free version of the game works or i tested something else (i had no problem to connect on line).
https://bugs.winehq.org/show_bug.cgi?id=40536
--- Comment #4 from steveamigauk@yahoo.co.uk --- Well, the regression test showed nothing. After installing TmUnitedForever in the test prefix and starting it it hangs during startup. This appears to be when establishing an internet connection to get updates, which would appear to be the same error.
Regresstion test ended at
There are only 'skip'ped commits left to test. The first bad commit could be any of: 3f5e1d1707c922e1ff24f2a452faf171f8fd5a01 c2900cd8bab57451497d3d6431c8600ca1701dad We cannot bisect more!
and terminal output (pardon including here, but there isn't much)
fixme:win:EnumDisplayDevicesW ((null),0,0x33ebc8,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x33edc8,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x33f3c8,0x00000000), stub! fixme:wininet:InternetCheckConnectionW (L"http://nations.trackmaniaforever.com/online_game/patch.php?game=TmForever&am..." 1 0)
https://bugs.winehq.org/show_bug.cgi?id=40536
Côme Chilliet come@chilliet.eu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |come@chilliet.eu
--- Comment #5 from Côme Chilliet come@chilliet.eu --- Hello, I got the same bug but with wine 1.9.9.
I bisected and I got commit 221590213ea12375cb2549afd774855dcc6c46e6 as the first bad one.
Hope this helps.
https://bugs.winehq.org/show_bug.cgi?id=40536
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |221590213ea12375cb2549afd77 | |4855dcc6c46e6
--- Comment #6 from Sebastian Lackner sebastian@fds-team.de --- (In reply to Côme Chilliet from comment #5)
Hello, I got the same bug but with wine 1.9.9.
I bisected and I got commit 221590213ea12375cb2549afd774855dcc6c46e6 as the first bad one.
Hope this helps.
Thanks! The original report was with Wine 1.9.8, so it could also be different issue. However, for now lets assume that this is the same problem.
Could you please also attach output of WINEDEBUG=+wininet ?
https://bugs.winehq.org/show_bug.cgi?id=40536
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |michael@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=40536
--- Comment #7 from Côme Chilliet come@chilliet.eu --- (In reply to Sebastian Lackner from comment #6)
Could you please also attach output of WINEDEBUG=+wininet ?
What do you mean exactly? Where do I put this option? Which version do you want me to test with it? 1.9.9?
https://bugs.winehq.org/show_bug.cgi?id=40536
--- Comment #8 from Sebastian Lackner sebastian@fds-team.de --- (In reply to Côme Chilliet from comment #7)
(In reply to Sebastian Lackner from comment #6)
Could you please also attach output of WINEDEBUG=+wininet ?
What do you mean exactly? Where do I put this option? Which version do you want me to test with it? 1.9.9?
Its an environment variable which can be set before starting the program, see https://wiki.winehq.org/FAQ#How_do_I_get_a_debug_trace.3F . It will output a lot of debug information, so its highly recommended to redirect everything to a file. You can either test with 1.9.9 or with the current git version of wine.
https://bugs.winehq.org/show_bug.cgi?id=40536
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #9 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 54417 --> https://bugs.winehq.org/attachment.cgi?id=54417 +wininet log
I confirm the problem in TrackMania United Forever: the game hangs after start with the "Checking the connection to the game master server. Please wait..." screen. Reverting commit 221590213ea12375cb2549afd774855dcc6c46e6 fixes the issue.
wine-1.9.9-67-g9eaa372
https://bugs.winehq.org/show_bug.cgi?id=40536
--- Comment #10 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 54418 --> https://bugs.winehq.org/attachment.cgi?id=54418 wininet hack to work around the problem
The attached patch was written by Sebastian and it fixed the reported problem for me.
https://bugs.winehq.org/show_bug.cgi?id=40536
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|-unknown |wininet Ever confirmed|0 |1
--- Comment #11 from Bruno Jesus 00cpxxx@gmail.com --- Jacek sent similar patch: https://source.winehq.org/patches/data/122087
https://bugs.winehq.org/show_bug.cgi?id=40536
--- Comment #12 from Sebastian Lackner sebastian@fds-team.de --- (In reply to Bruno Jesus from comment #11)
Jacek sent similar patch: https://source.winehq.org/patches/data/122087
I saw it, it is for a different function though. It would be useful to know if my hack also works without the "refill_read_buffer(req, BLOCKING_DISALLOW, NULL);", then we could solve it in exactly the same way.
https://bugs.winehq.org/show_bug.cgi?id=40536
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |generalacc0001@gmail.com
--- Comment #13 from Michael Müller michael@fds-team.de --- *** Bug 40615 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=40536
--- Comment #14 from Sebastian Lackner sebastian@fds-team.de --- Please test with current wine git, this issue should be fixed with http://source.winehq.org/git/wine.git/commit/a3a572beb07a9072cba9a619eafeae2....
https://bugs.winehq.org/show_bug.cgi?id=40536
--- Comment #15 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Sebastian Lackner from comment #14)
Please test with current wine git, this issue should be fixed with http://source.winehq.org/git/wine.git/commit/ a3a572beb07a9072cba9a619eafeae26ccc8cb63.
Works in wine-1.9.10-67-gaa475ce, thank you Sebastian.
https://bugs.winehq.org/show_bug.cgi?id=40536
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |a3a572beb07a9072cba9a619eaf | |eae26ccc8cb63 Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #16 from Sebastian Lackner sebastian@fds-team.de --- (In reply to Béla Gyebrószki from comment #15)
(In reply to Sebastian Lackner from comment #14)
Please test with current wine git, this issue should be fixed with http://source.winehq.org/git/wine.git/commit/ a3a572beb07a9072cba9a619eafeae26ccc8cb63.
Works in wine-1.9.10-67-gaa475ce, thank you Sebastian.
Thanks for testing, marking as fixed.
https://bugs.winehq.org/show_bug.cgi?id=40536
Maxime maxime@mmorel.eu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maxime@mmorel.eu
--- Comment #17 from Maxime maxime@mmorel.eu --- *** Bug 40645 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=40536
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.11.