https://bugs.winehq.org/show_bug.cgi?id=48357
Bug ID: 48357 Summary: RC2 prevents Origin client from connecting to servers Product: Wine-staging Version: 5.0-rc2 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: amathor929@gmail.com CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
Created attachment 66097 --> https://bugs.winehq.org/attachment.cgi?id=66097 Terminal output using rc1-7.1
Updating WINE from staging-5.0-rc1-7.1 to staging-5.0-rc2-1.1 prevents the Origin launcher client from being able to connect/login.
Upon upgrading to rc2 (from the Fedora winehq staging repo) Origin, when launched, cannot connect to the servers and login to a user account.
Immediately upon downgrading back to rc1-7.1 (from the same repo) the problem no longer exists.
Tried multiple times, tried on an existing aswell as fresh wineprefix, and tried multiple user accounts, all with the exact same results.
https://bugs.winehq.org/show_bug.cgi?id=48357
--- Comment #1 from amathor929@gmail.com --- Created attachment 66098 --> https://bugs.winehq.org/attachment.cgi?id=66098 Terminal output using rc2-1.1
https://bugs.winehq.org/show_bug.cgi?id=48357
--- Comment #2 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Maybe a duplicate of 48349?
https://bugs.winehq.org/show_bug.cgi?id=48357
maniikarabera@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maniikarabera@protonmail.ch
https://bugs.winehq.org/show_bug.cgi?id=48357
Alexandr Oleynikov sashok.olen@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sashok.olen@gmail.com
--- Comment #3 from Alexandr Oleynikov sashok.olen@gmail.com --- It's not a duplicate, I can still reproduce the issue even with the patch from 48349.
https://bugs.winehq.org/show_bug.cgi?id=48357
--- Comment #4 from Alexandr Oleynikov sashok.olen@gmail.com --- I ran a bisect and it's caused by b4a1d80ae35d35f5c170e101922bf1563488be18 ( wineserver: Avoid spurious FD_WRITE on repeated calls to WSAEventSelect(). )
https://bugs.winehq.org/show_bug.cgi?id=48357
Alexandr Oleynikov sashok.olen@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=48357
--- Comment #5 from Damjan Jovanovic damjan.jov@gmail.com --- Is this with plain wine or wine-staging?
https://bugs.winehq.org/show_bug.cgi?id=48357
--- Comment #6 from Alexandr Oleynikov sashok.olen@gmail.com --- Issue happens both with staging and plain.
https://bugs.winehq.org/show_bug.cgi?id=48357
--- Comment #7 from Damjan Jovanovic damjan.jov@gmail.com --- The terminal output doesn't show much, please attach a +winsock log.
https://bugs.winehq.org/show_bug.cgi?id=48357
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Regression SHA1| |b4a1d80ae35d35f5c170e101922 | |bf1563488be18
https://bugs.winehq.org/show_bug.cgi?id=48357
--- Comment #8 from Alexandr Oleynikov sashok.olen@gmail.com --- Created attachment 66103 --> https://bugs.winehq.org/attachment.cgi?id=66103 +winsock
+winsock log made with plain Wine 5.0-rc2
https://bugs.winehq.org/show_bug.cgi?id=48357
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|leslie_alistair@hotmail.com | |, z.figura12@gmail.com | Product|Wine-staging |Wine Component|-unknown |winsock
https://bugs.winehq.org/show_bug.cgi?id=48357
--- Comment #9 from Alexandr Oleynikov sashok.olen@gmail.com --- Ignore the crash in the beginning - that's "normal" and happens with old versions too.
https://bugs.winehq.org/show_bug.cgi?id=48357
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|RC2 prevents Origin client |Wine 5.0-rc2 prevents |from connecting to servers |Origin client from | |connecting to servers CC| |o.dierick@piezo-forte.be
https://bugs.winehq.org/show_bug.cgi?id=48357
--- Comment #10 from Damjan Jovanovic damjan.jov@gmail.com --- It creates 41 sockets, IPv4 and IPv6, TCP and UDP, and calls select(), WSAEventSelect() and WSAAsyncSelect() on them. Could you have found a more complex sample application lol?
The commit changed wineserver's set_socket_event(), which is called from WSAEventSelect() and WSAAsyncSelect(). We know WSAEventSelect() improved, but maybe WSAAsyncSelect() broke. Origins uses both of them.
https://bugs.winehq.org/show_bug.cgi?id=48357
--- Comment #11 from Damjan Jovanovic damjan.jov@gmail.com --- Created attachment 66124 --> https://bugs.winehq.org/attachment.cgi?id=66124 WSAAsyncSelect FD_WRITE hack
This hack makes WSAAsyncSelect() work more like it used to before. The results should tell us where to look further. If it helps, the regression is in WSAAsyncSelect(), otherwise it's in WSAEventSelect(). Please test.
https://bugs.winehq.org/show_bug.cgi?id=48357
--- Comment #12 from Alexandr Oleynikov sashok.olen@gmail.com --- With that patch, Origin just gets stuck when trying to connect to its servers and doesn't even try to switch to offline mode, which it used to do without the patch.
https://bugs.winehq.org/show_bug.cgi?id=48357
--- Comment #13 from Damjan Jovanovic damjan.jov@gmail.com --- (In reply to Alexandr Oleynikov from comment #12)
With that patch, Origin just gets stuck when trying to connect to its servers and doesn't even try to switch to offline mode, which it used to do without the patch.
Please try replacing my: _enable_event( SOCKET2HANDLE(s), lEvent, FD_WRITE, 0 ); with: _enable_event( SOCKET2HANDLE(s), lEvent, 0, 0 );
https://bugs.winehq.org/show_bug.cgi?id=48357
--- Comment #14 from Alexandr Oleynikov sashok.olen@gmail.com --- It no longer gets stuck on "Connecting" screen, but it still can't log in and fallsback to offline mode, which is what happens for me without this patch.
https://bugs.winehq.org/show_bug.cgi?id=48357
--- Comment #15 from Damjan Jovanovic damjan.jov@gmail.com --- Created attachment 66128 --> https://bugs.winehq.org/attachment.cgi?id=66128 WSAEventSelect hack
What about this one?
https://bugs.winehq.org/show_bug.cgi?id=48357
--- Comment #16 from Alexandr Oleynikov sashok.olen@gmail.com --- Same behaviour as without the patch.
https://bugs.winehq.org/show_bug.cgi?id=48357
gukin arichter@lobo.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |arichter@lobo.net
--- Comment #17 from gukin arichter@lobo.net --- I don't know if it's any help but rc3 has the same problem but wine 4.21 works without issue. I hate to butt in but it's important for wine 5 to work as well as possible.
https://bugs.winehq.org/show_bug.cgi?id=48357
--- Comment #18 from Damjan Jovanovic damjan.jov@gmail.com --- Can this be tested without buying games?
Is there a download link and how exactly do you reproduce this?
https://bugs.winehq.org/show_bug.cgi?id=48357
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #19 from joaopa jeremielapuree@yahoo.fr --- A regression test would be the better way to see this bug fixed.
https://bugs.winehq.org/show_bug.cgi?id=48357
--- Comment #20 from joaopa jeremielapuree@yahoo.fr --- Did not see the regression commit.... :(
https://bugs.winehq.org/show_bug.cgi?id=48357
--- Comment #21 from Alexandr Oleynikov sashok.olen@gmail.com ---
Can this be tested without buying games?
You don't need to buy anything at all, and possibly even log into Origin. Just install wine-staging, install arial verb into the wine prefix with winetricks and use this Origin installer: https://download.dm.origin.com/origin/live/OriginThinSetup.exe Although I'm not sure whether the installer works with current regression, so I would suggest to install the client using a version that isn't affected by this bug.
https://bugs.winehq.org/show_bug.cgi?id=48357
--- Comment #22 from Alexandr Oleynikov sashok.olen@gmail.com --- Seems like there's another app affected by the same commit: https://bugs.winehq.org/show_bug.cgi?id=48411
https://bugs.winehq.org/show_bug.cgi?id=48357
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sutupud@yahoo.com
--- Comment #23 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- *** Bug 48411 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=48357
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |a34ypool3voiz@t-online.de
--- Comment #24 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- *** Bug 48388 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=48357
--- Comment #25 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
Affects Dungeons and Dragons Online (DDO) and Lord of The Rings Online (LOTRO) login clients.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=48357
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Wine 5.0-rc2 prevents |Wine 5.0-rc2 prevents |Origin client from |multiple apps from |connecting to servers |connecting to servers | |(Origin; Dungeons and | |Dragons Online; Lord Of the | |Rings Online)
https://bugs.winehq.org/show_bug.cgi?id=48357
--- Comment #26 from gukin arichter@lobo.net --- It looks like 5.0 RC4 still has the problem, I was able to log into origin, after quite some delay, but upon launching a game (Dead Space 3), a box popped up saying that cloud saves were not available.
There are still some holes with accessing Origin.
Wine 5.0 RC4 staging.
https://bugs.winehq.org/show_bug.cgi?id=48357
--- Comment #27 from RayCaster a34ypool3voiz@t-online.de --- Btw. LOTRO and DDO are both free-to-play games, so no purchase needed to test with those ether.
LOTRO Download: http://live.lotro.com/sites/clientdl/lotro/lotrolive.exe LOTRO Signup: https://signup.lotro.com/lotro.php?ftui=LOTROWeathertopHCVideo&cl=75&...
DDO Download: http://live.ddo.com/sites/clientdl/ddo/ddolive.exe DDO Signup: https://signup.ddo.com/ddo.php?ftui=DDOBlackDragon&abrs=100_1578497445
https://bugs.winehq.org/show_bug.cgi?id=48357
--- Comment #28 from Damjan Jovanovic damjan.jov@gmail.com --- This regression should be fixed in the next release because the bad commit was reverted in 37dec9f144501fb93e173214578b759122ac999a for the time being.
https://bugs.winehq.org/show_bug.cgi?id=48357
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |jacek@codeweavers.com Resolution|--- |FIXED Fixed by SHA1| |37dec9f144501fb93e173214578 | |b759122ac999a
--- Comment #29 from Jacek Caban jacek@codeweavers.com --- Fixed in git.
https://bugs.winehq.org/show_bug.cgi?id=48357
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #30 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.0-rc5.
https://bugs.winehq.org/show_bug.cgi?id=48357
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wereturtledev@gmail.com
--- Comment #31 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- *** Bug 48448 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=48357
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jaap.aarts1@gmail.com
--- Comment #32 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- *** Bug 48459 has been marked as a duplicate of this bug. ***