https://bugs.winehq.org/show_bug.cgi?id=52214
Bug ID: 52214 Summary: Elite Dangerous - Network error, only with WLAN adapter / Not just since 7.0rc1 / Launcher not affected / Ethernet works Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: supreme-ntm@web.de Distribution: ---
Created attachment 71277 --> https://bugs.winehq.org/attachment.cgi?id=71277 WINEDEBUG=+seh,+winhttp,+winsock,+wininet
The ED Launcher, which also requires an internet connection, works ok with my wlan adapter. But when pressing 'Launch' to start ED, I receive an error message from the game stating, that the network could not be initialised.
The error does not occur when I use an ethernet connection!
This happens not just since the 7.0rc1 version. This bug appeared sometime in the latest months, but can't remember the exact wine version... maybe it was 6.18.
Tested wine-staging and wine-devel (7.0rc1) - both are affected.
In wine-stable (6.0.2) the problem does not exist - wlan still works there.
Attached you find the Winedebug log (flags: +seh,+winhttp,+winsock,+wininet)
This bug happens after line 41368 (after pressing the 'Launch' button) - the lines before stem from the (working) launcher.
https://bugs.winehq.org/show_bug.cgi?id=52214
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Elite Dangerous - Network |Elite Dangerous can't |error, only with WLAN |recognize network when |adapter / Not just since |using WLAN adapter |7.0rc1 / Launcher not | |affected / Ethernet works | Keywords| |regression Version|unspecified |7.0-rc1
--- Comment #1 from Gijs Vermeulen gijsvrm@gmail.com --- Since wine-6.0.2 works in all the same conditions, marking this as a regression. It would be a massive help if you could perform a regression test, for which you can find the instructions here: https://wiki.winehq.org/Regression_Testing
https://bugs.winehq.org/show_bug.cgi?id=52214
--- Comment #2 from Mike supreme-ntm@web.de --- Thank you for taking care! Ok, will try and see what I can do regarding the regression test. Need to install and setup everything first. (wine64 is also needed)
In the meantime I already found out that the bug was introduced in version 6.15. So wine-staging-6.14 was the last one working.
https://bugs.winehq.org/show_bug.cgi?id=52214
Mike supreme-ntm@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor CC| |huw@codeweavers.com Distribution|--- |Ubuntu
--- Comment #3 from Mike supreme-ntm@web.de --- Performed the regression test and here is the result:
413eeaead5c584335c979766100f952b1e2f8cd0 is the first bad commit commit 413eeaead5c584335c979766100f952b1e2f8cd0
Author: Huw Davies huw@codeweavers.com
Date: Mon Aug 2 09:19:07 2021 +0100
iphlpapi: Implement AllocateAndGetIpForwardTable() on top of GetIpForwardTable().
Signed-off-by: Huw Davies huw@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
dlls/iphlpapi/iphlpapi_main.c | 37 ++++++ dlls/iphlpapi/ipstats.c | 265 ------------------------------------------ 2 files changed, 37 insertions(+), 265 deletions(-)
https://bugs.winehq.org/show_bug.cgi?id=52214
Mike supreme-ntm@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Elite Dangerous can't |Elite Dangerous game can't |recognize network when |recognize network when |using WLAN adapter |using WLAN adapter, but | |launcher works
https://bugs.winehq.org/show_bug.cgi?id=52214
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|7.0-rc1 |6.15 Regression SHA1| |413eeaead5c584335c979766100 | |f952b1e2f8cd0
https://bugs.winehq.org/show_bug.cgi?id=52214
Huw Davies huw.davies@physics.ox.ac.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |huw.davies@physics.ox.ac.uk
--- Comment #4 from Huw Davies huw.davies@physics.ox.ac.uk --- Mike, could you attach a +seh,+iphlpapi,+nsi log taken while reproducing the error please?
https://bugs.winehq.org/show_bug.cgi?id=52214
--- Comment #5 from Mike supreme-ntm@web.de --- Created attachment 71311 --> https://bugs.winehq.org/attachment.cgi?id=71311 WINEDEBUG=+seh,+iphlpapi,+nsi
https://bugs.winehq.org/show_bug.cgi?id=52214
Mike supreme-ntm@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #71311|0 |1 is obsolete| |
--- Comment #6 from Mike supreme-ntm@web.de --- Created attachment 71312 --> https://bugs.winehq.org/attachment.cgi?id=71312 WINEDEBUG=+seh,+iphlpapi,+nsi
Here you go!
Launcher is up to ~line 840
Lines 840 to 993 is where the actual bug happens. (from the moment of pressing 'launch', to the point when the popup message 'network error...' appears)
After hitting 'OK' the game starts, but fails to connect. This is line 993 to EOF
https://bugs.winehq.org/show_bug.cgi?id=52214
--- Comment #7 from Huw Davies huw.davies@physics.ox.ac.uk --- Created attachment 71314 --> https://bugs.winehq.org/attachment.cgi?id=71314 Add some traces
Mike, many thanks. Could you apply the attached patch and regenerate the log?
Also, could you go back to the commit before the commit that's giving the error (ie 0515480d89e334fba11ecf0b02179e8677569afd), apply the patch (it may need a little fuzzing, but hopefully it's simple enough to figure out) and regenerate the log again?
So I'm after two logs, both with the patch applied, one with the failure and one without.
Many thanks!
https://bugs.winehq.org/show_bug.cgi?id=52214
--- Comment #8 from Mike supreme-ntm@web.de --- Created attachment 71320 --> https://bugs.winehq.org/attachment.cgi?id=71320 WINEDEBUG=+seh,+iphlpapi,+nsi - last good 6.15, patched
https://bugs.winehq.org/show_bug.cgi?id=52214
--- Comment #9 from Mike supreme-ntm@web.de --- Created attachment 71321 --> https://bugs.winehq.org/attachment.cgi?id=71321 WINEDEBUG=+seh,+iphlpapi,+nsi - first bad 6.15, patched
https://bugs.winehq.org/show_bug.cgi?id=52214
--- Comment #10 from Mike supreme-ntm@web.de --- Created attachment 71322 --> https://bugs.winehq.org/attachment.cgi?id=71322 Diff - manual patch
Your patch was for wine7-rc1 and failed for 6.15. I tried to resolve it manually. Attached you find the diff of the changes
https://bugs.winehq.org/show_bug.cgi?id=52214
Huw Davies huw.davies@physics.ox.ac.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #71314|0 |1 is obsolete| | Attachment #71322|0 |1 is obsolete| |
--- Comment #11 from Huw Davies huw.davies@physics.ox.ac.uk --- Created attachment 71324 --> https://bugs.winehq.org/attachment.cgi?id=71324 Add more traces
Thanks Mike, could you apply this to 7.0-rc1 and regenerate the log?
(No need to go back to the working version and no need to keep my last patch applied).
https://bugs.winehq.org/show_bug.cgi?id=52214
--- Comment #12 from Mike supreme-ntm@web.de --- Created attachment 71325 --> https://bugs.winehq.org/attachment.cgi?id=71325 WINEDEBUG=+seh,+iphlpapi,+nsi - wine 7rc1 with 0001-Add-some-more-traces.patch
You're welcome! I rather have to thank you all for your efforts
https://bugs.winehq.org/show_bug.cgi?id=52214
--- Comment #13 from Mike supreme-ntm@web.de --- Comment on attachment 71325 --> https://bugs.winehq.org/attachment.cgi?id=71325 WINEDEBUG=+seh,+iphlpapi,+nsi - wine 7rc1 with 0001-Add-some-more-traces.patch
Launcher: Line 0-785 Bug (network error): Line 785-993
https://bugs.winehq.org/show_bug.cgi?id=52214
--- Comment #14 from Huw Davies huw.davies@physics.ox.ac.uk --- Mike, could you run this command from the shell with your computer set up so that the bug is apparent (i.e. with your wlan connection I believe).
cat /proc/net/route > /tmp/route.txt
and attach the resulting /tmp/route.txt
https://bugs.winehq.org/show_bug.cgi?id=52214
--- Comment #15 from Mike supreme-ntm@web.de --- Created attachment 71343 --> https://bugs.winehq.org/attachment.cgi?id=71343 proc/net/route
https://bugs.winehq.org/show_bug.cgi?id=52214
Huw Davies huw.davies@physics.ox.ac.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #71324|0 |1 is obsolete| |
--- Comment #16 from Huw Davies huw.davies@physics.ox.ac.uk --- Created attachment 71371 --> https://bugs.winehq.org/attachment.cgi?id=71371 Fix off-by-one interface name issue
Could you give this patch a try please? Please ensure that all Wine processes have quit before testing.
https://bugs.winehq.org/show_bug.cgi?id=52214
Mike supreme-ntm@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #17 from Mike supreme-ntm@web.de --- Just tried your fix with wine-7rc1 and also master and can confim it works. Thank you very much for this!
Marking this as bug resolved.
Wish you a merry christmas! Stay safe and healthy
https://bugs.winehq.org/show_bug.cgi?id=52214
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- CC| |o.dierick@piezo-forte.be Ever confirmed|0 |1 Status|RESOLVED |REOPENED
--- Comment #18 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
Please wait for a fix to be committed into Wine before marking a bug fixed.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=52214
Huw Davies huw.davies@physics.ox.ac.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|REOPENED |RESOLVED Fixed by SHA1| |65f04bcc9786296a36a3155c115 | |058d22c49b6ad
--- Comment #19 from Huw Davies huw.davies@physics.ox.ac.uk --- Fixed by commit 65f04bcc9786296a36a3155c115058d22c49b6ad
https://bugs.winehq.org/show_bug.cgi?id=52214
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #20 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.0-rc3.