http://bugs.winehq.org/show_bug.cgi?id=23970
Summary: EVE Online (build 173012) crashes on startup Product: Wine Version: unspecified Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: phoenix@mail.ru
Created an attachment (id=30101) --> (http://bugs.winehq.org/attachment.cgi?id=30101) Log of the startup attempt
Current client for Tranquility (live) server is fine, but there's upcoming patch on Singularity (test) server which will break compatibility with wine. You can get patch from live to test version here:
http://content.eveonline.com/test/evepremiumpatch167296-173012_m.exe
Or, if test server client will be updated to some version newer than 173012, use this link for reference:
http://games.chruker.dk/eve_online/server_status.php
Client crashes only after following commit:
4d6982e6845d69070ed05baf157a59ebb5ba0347 is the first bad commit commit 4d6982e6845d69070ed05baf157a59ebb5ba0347 Author: Mike Kaplinskiy mike.kaplinskiy@gmail.com Date: Sat Jul 31 23:21:34 2010 -0400
ws2_32: Implement ConnectEx.
:040000 040000 ea3ad910fc7542a61af627651314bb7f98b104a1 5532d93a29030478cc58c7f9247e9ff9274b60e1 M dlls
Basic log (mixed game client and wine output) is attached.
http://bugs.winehq.org/show_bug.cgi?id=23970
Anton Vorobyov phoenix@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mike.kaplinskiy@gmail.com
--- Comment #1 from Anton Vorobyov phoenix@mail.ru 2010-08-11 09:54:00 --- Adding commit author to the cc list
http://bugs.winehq.org/show_bug.cgi?id=23970
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Version|unspecified |1.3.0
http://bugs.winehq.org/show_bug.cgi?id=23970
Anton Vorobyov phoenix@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|regression | Version|1.3.0 |unspecified
--- Comment #2 from Anton Vorobyov phoenix@mail.ru 2010-08-11 10:00:06 --- Debian Squeeze x86-64, wine compiled from git, detailed system profile attached.
http://bugs.winehq.org/show_bug.cgi?id=23970
--- Comment #3 from Anton Vorobyov phoenix@mail.ru 2010-08-11 10:00:25 --- Created an attachment (id=30103) --> (http://bugs.winehq.org/attachment.cgi?id=30103) System profile
http://bugs.winehq.org/show_bug.cgi?id=23970
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.3.0
http://bugs.winehq.org/show_bug.cgi?id=23970
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=23970
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #30101|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=23970
--- Comment #4 from Mike Kaplinskiy mike.kaplinskiy@gmail.com 2010-08-12 10:12:30 --- A +winsock log would be nice. A stack trace would be too.
http://bugs.winehq.org/show_bug.cgi?id=23970
--- Comment #5 from Anton Vorobyov phoenix@mail.ru 2010-08-12 13:04:47 --- Created an attachment (id=30114) --> (http://bugs.winehq.org/attachment.cgi?id=30114) +winsock log
http://bugs.winehq.org/show_bug.cgi?id=23970
--- Comment #6 from Anton Vorobyov phoenix@mail.ru 2010-08-12 13:09:44 --- I don't know how to generate stack trace (and didn't find any man), so if you want to get it please explain what should i do.
http://bugs.winehq.org/show_bug.cgi?id=23970
--- Comment #7 from Mike Kaplinskiy mike.kaplinskiy@gmail.com 2010-08-12 22:51:00 --- Wow I didn't think someone would intentionally misuse the API. Shame on me. MSDN clearly states and windows thoroughly enforces that ConnectEx can only be called on _bound_ sockets. Eve doesn't bind it's socket that it uses so the call fails on windows, but it succeeds on wine and leads to some crazy behavior that they probably didn't even test on windows yet.
Could you see if adding something like:
union generic_unix_sockaddr uaddr; unsigned int uaddrlen = sizeof(uaddr);
if (getsockname(fd, &uaddr.addr, &uaddrlen) != 0) { release_sock_fd(s, fd); SetLastError(wsaErrno()); return FALSE; } else if (!is_sockaddr_bound(&uaddr.addr, uaddrlen)) { release_sock_fd(s, fd); SetLastError(WSAEINVAL); return FALSE; }
instead of the FIXME comment inside WS2_ConnectEx helps? I don't have a git instance nearby to give you a diff, sorry. I'll give a proper patch on the weekend if noone else will.
http://bugs.winehq.org/show_bug.cgi?id=23970
--- Comment #8 from Anton Vorobyov phoenix@mail.ru 2010-08-13 00:21:11 --- Created an attachment (id=30124) --> (http://bugs.winehq.org/attachment.cgi?id=30124) +winsock log with proposed changes
Didn't help.
As for misuse - CCP (developer of EVE) has to take care about Cider compatibility, and this patch introduces few changes, one of which:
Mac Version - Stackless IO support, Cider now supports some of the more advanced networking features recently added to the client. This should help with socket closure problems.
http://bugs.winehq.org/show_bug.cgi?id=23970
--- Comment #9 from Denis Misiurca infoman1985@gmail.com 2010-08-13 17:40:56 --- Created an attachment (id=30129) --> (http://bugs.winehq.org/attachment.cgi?id=30129) WINEDEBUG=+winsock log
Confirming this on wine GIT (commit 277040d92454b7cc32d668b49a9bbf95df2796d6)
http://bugs.winehq.org/show_bug.cgi?id=23970
Denis Misiurca infoman1985@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |infoman1985@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=23970
--- Comment #10 from Mike Kaplinskiy mike.kaplinskiy@gmail.com 2010-08-14 19:15:51 --- (In reply to comment #8)
Created an attachment (id=30124)
--> (http://bugs.winehq.org/attachment.cgi?id=30124) [details]
+winsock log with proposed changes
Didn't help.
As for misuse - CCP (developer of EVE) has to take care about Cider compatibility, and this patch introduces few changes, one of which:
Mac Version
- Stackless IO support, Cider now supports some of the more advanced networking
features recently added to the client. This should help with socket closure problems.
Hmm, looks like they attempt the wrong behavior, fail and then do it correctly. That's nice of them. Regardless, I'm the idiot who forgot to zero out memory. See if http://source.winehq.org/patches/data/64826 helps.
http://bugs.winehq.org/show_bug.cgi?id=23970
--- Comment #11 from Denis Misiurca infoman1985@gmail.com 2010-08-14 22:25:53 --- Created an attachment (id=30152) --> (http://bugs.winehq.org/attachment.cgi?id=30152) +winsock log with a patch
I can start the client with this patch, but the server status displays as "Unknown" and I can't connect. The server status page at http://games.chruker.dk/eve_online/server_status.php says that it's online.
Log attached
http://bugs.winehq.org/show_bug.cgi?id=23970
--- Comment #12 from Denis Misiurca infoman1985@gmail.com 2010-08-14 22:35:14 --- Created an attachment (id=30153) --> (http://bugs.winehq.org/attachment.cgi?id=30153) The log of a Tranquility client
The Tranquility client started on the same wine setup connects sucsessfully both to tq and sisi servers, and correctly displays a message about incompatible protocol and a messagebox asking to download a patch when connecting to Singularity.
Here is the log of a tq client startup when trying to connect to sisi.
http://bugs.winehq.org/show_bug.cgi?id=23970
--- Comment #13 from Denis Misiurca infoman1985@gmail.com 2010-08-14 22:43:06 --- Created an attachment (id=30154) --> (http://bugs.winehq.org/attachment.cgi?id=30154) EVE LogServer log of sisi client
http://bugs.winehq.org/show_bug.cgi?id=23970
--- Comment #14 from Anton Vorobyov phoenix@mail.ru 2010-08-15 05:40:13 --- (In reply to comment #10)
Hmm, looks like they attempt the wrong behavior, fail and then do it correctly. That's nice of them. Regardless, I'm the idiot who forgot to zero out memory. See if http://source.winehq.org/patches/data/64826 helps.
Patch helped. Tyvm :)
http://bugs.winehq.org/show_bug.cgi?id=23970
--- Comment #15 from Anton Vorobyov phoenix@mail.ru 2010-08-15 09:54:33 --- Some additional notes:
Patch helped to launch game, but connection to server (according to comments above) seems to be broken, i'll check myself later. I'm not sure if exactly this commit broke it; do you want to open new issue or continue resolving in this one?
http://bugs.winehq.org/show_bug.cgi?id=23970
--- Comment #16 from Anton Vorobyov phoenix@mail.ru 2010-08-15 09:56:59 --- Aha, actually when server is up (http://games.chruker.dk/eve_online/server_status.php, Singularity status is online atm) EVE client launched with following line:
dfx@Kreo:~/src/wine$ ./wine explorer /desktop=EVE_test,1920x1080 "C:\Program Files\CCP\EVE (Singularity)\eve.exe" /server:singularity
Cannot see it (shows status: unknown on login screen).
This is for patched wine, wine from git is unable to launch Singularity client at all.
http://bugs.winehq.org/show_bug.cgi?id=23970
--- Comment #17 from Mike Kaplinskiy mike.kaplinskiy@gmail.com 2010-08-15 11:46:56 --- Ok, try http://source.winehq.org/patches/data/64849 as well as the first one.
http://bugs.winehq.org/show_bug.cgi?id=23970
--- Comment #18 from Denis Misiurca infoman1985@gmail.com 2010-08-15 16:07:21 --- Seems that all works with the last patch, thank you.
http://bugs.winehq.org/show_bug.cgi?id=23970
--- Comment #19 from Anton Vorobyov phoenix@mail.ru 2010-08-15 17:20:20 --- It helped, thanks
http://bugs.winehq.org/show_bug.cgi?id=23970
evanh evanh@clear.net.nz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |evanh@clear.net.nz
--- Comment #20 from evanh evanh@clear.net.nz 2010-08-16 09:00:28 --- Just tested with build 174282, no longer crashing. CCP would appear to have fixed their end.
http://bugs.winehq.org/show_bug.cgi?id=23970
Christoph Hohmann reboot@gmx.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |reboot@gmx.ch
--- Comment #21 from Christoph Hohmann reboot@gmx.ch 2010-08-19 11:59:02 --- EVE Online still does not work for me with the current version from git (703ab02), which includes both patches that have been posted in the comments.
Also it does not crash it only shows
Unable to connect to 87.237.38.200 on port 26000
on the welcome screen instead of the server status and i'm unable to login.
If i revert the change 4d6982e it works fine again.
http://bugs.winehq.org/show_bug.cgi?id=23970
--- Comment #22 from Anton Vorobyov phoenix@mail.ru 2010-08-19 13:01:52 --- EVE has changed some network functionality and it's know to cause multiple issues on Windows (but primarily on machines that use some special network-related tools like sniffers or NetLimiter), so problem may be complex. For me - it works like a charm.
Could you please describe your network configuration and list network-related software?
http://bugs.winehq.org/show_bug.cgi?id=23970
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sanya10@list.ru
--- Comment #23 from Dmitry Timoshkov dmitry@codeweavers.com 2010-08-20 00:00:36 --- *** Bug 24049 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=23970
hash HASH.DuOrden@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #24 from hash HASH.DuOrden@gmail.com 2010-08-20 21:34:06 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=23970
Anton Vorobyov phoenix@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #25 from Anton Vorobyov phoenix@mail.ru 2010-08-24 04:19:49 --- I think this may be closed, as eve's problems when it doesn't work with certain network configurations/network-related software should be fixed on side of CCP, not wine.
http://bugs.winehq.org/show_bug.cgi?id=23970
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED Resolution|FIXED |INVALID
--- Comment #26 from Dmitry Timoshkov dmitry@codeweavers.com 2010-08-24 04:36:04 --- Invalid then. Closing.
http://bugs.winehq.org/show_bug.cgi?id=23970
--- Comment #27 from Anton Vorobyov phoenix@mail.ru 2010-08-24 13:19:52 --- Original issue was fixed, actually. Issue described in comment #21 is invalid.
http://bugs.winehq.org/show_bug.cgi?id=23970
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |RESOLVED Resolution|INVALID |FIXED
--- Comment #28 from Dmitry Timoshkov dmitry@codeweavers.com 2010-08-26 01:50:26 --- Marking as fixed then.
http://bugs.winehq.org/show_bug.cgi?id=23970
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #29 from Alexandre Julliard julliard@winehq.org 2010-09-03 14:05:53 CDT --- Closing bugs fixed in 1.3.2.