[Bug 31438] [EA Origin]Unable to download game since the new version

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jan 30 09:30:35 CST 2013


http://bugs.winehq.org/show_bug.cgi?id=31438

Heiko <zuxez at uni.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zuxez at uni.de

--- Comment #62 from Heiko <zuxez at uni.de> 2013-01-30 09:30:35 CST ---
So, plaqued by the very same problem of failing downloads/updates at the init
state (it doesn't even reach the license popup or the shortcut creation popup),
no matter which version of wine I tried:

$ ls Installation/wine/
1.0.1  1.1.17  1.1.21  1.3.26  1.3.28  1.4.1  1.5.16  1.5.19  git

plus the distro's 1.5.2x.

So, after digging into the network traffic and comparing against native
windows, it seems that the reply from the server somehow isn't answered by the
client, thus no popups occuring and no further actions run.

Running wine with debug output, made me aware of some NtQuerySystemTime()
irregularities, i.e. returned times weren't ordered over all the threads, so I
tested some additional locking here and there, without success.

Some more debunkering revealed, that somehow the calls to WSAAsyncSelect() were
the problem. So I brought in a short timeout. Around 5ms seem to fix most
problems. Though I know this is NOT a solution, it seems to satisfy Origin.
I'll attach the small testing patch I made. Maybe someone can confirm it helps,
so developers might know where to dig deeper. I'd still call it a threading
issue, though. Or wine's just responding too fast eheh -- had that problem with
TOCA2, and timings there.

Unfortunately, EA's released debugging Qt-source/-binaries don't work with the
Origin client, that would've made things easier to debug.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list