http://bugs.winehq.org/show_bug.cgi?id=29039
Bug #: 29039 Summary: League Of Legends game client crashes after champion selection Product: Wine Version: 1.3.32 Platform: x86 URL: http://www.leagueoflegends.com OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: spindler.matej@gmail.com Classification: Unclassified
Created attachment 37401 --> http://bugs.winehq.org/attachment.cgi?id=37401 Eroor message
League Of Legends game client crashes shortly after champion selection, right before game loading screen should pop up. In screenshot you can see the pop up with the error message.
native msvcrt doesn't help.
TO reproduce: use ACE client or the original clent.
ACE client needs a patch from Bug 25624 to start.
Original rads launcher has problems to Bug 26924, but at least for me it is working sometimes.
Once you are in the PVP.net start any game even tutorial and game will crash.
For some debuging info look at next post!
http://bugs.winehq.org/show_bug.cgi?id=29039
--- Comment #1 from Matej Spindler spindler.matej@gmail.com 2011-11-09 12:36:43 CST --- Created attachment 37403 --> http://bugs.winehq.org/attachment.cgi?id=37403 hact to make game client start
I have tracked the assertion to a this line in relay log: 003d:Call ws2_32.getaddrinfo(009bde84 "",0032ef98 "0",0032ef00,0032ef20)
This call obviously fails, game checks the return and is not happy with it.
The strings "" and "0" come from somewhere in msvcr. String "0" comes from a call to "itoa" call few lines above the getaddrinfo call. 009bde84 pointer is all over the logs. Mainly Game keeps checking ntldr.strlen(009bde84 ""), but is always zero.
Relay log is 750MB so no way to attach it:(
Attached hack lets the game client run. I could even start and play a custom game with bots.
Hope this info helps someone find the real problem. My brain power is running out at this point.
http://bugs.winehq.org/show_bug.cgi?id=29039
Matej Spindler spindler.matej@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=29039
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=29039
K1773R K1773R@darkgamex.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |K1773R@darkgamex.ch
http://bugs.winehq.org/show_bug.cgi?id=29039
--- Comment #2 from K1773R K1773R@darkgamex.ch 2011-11-09 21:12:09 CST --- thanks alot Matej, good work!
http://bugs.winehq.org/show_bug.cgi?id=29039
Erich Hoover ehoover@mines.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ehoover@mines.edu
--- Comment #3 from Erich Hoover ehoover@mines.edu 2011-11-11 12:05:26 CST --- (In reply to comment #1)
... The strings "" and "0" come from somewhere in msvcr. String "0" comes from a call to "itoa" call few lines above the getaddrinfo call. ...
In this case "0" refers to a service/port, which is a relatively standard way of saying "give me a port, I don't care which one." It appears that the Windows version of getaddrinfo can handle this scenario, whereas the Unix version doesn't understand what to do. The way to resolve this would be to see exactly what Windows places in the "result" ADDRINFO structure and figure out a way to generate the same information when a service/port of "0" is passed to the routine.
http://bugs.winehq.org/show_bug.cgi?id=29039
--- Comment #4 from Hans Leidekker hans@meelstraat.net 2011-11-11 13:29:33 CST --- Created attachment 37449 --> http://bugs.winehq.org/attachment.cgi?id=37449 ws2_32: Handle NULL and empty hostname correctly in getaddrinfo.
It turns out that getaddrinfo/GetAddrInfoW treat NULL hostname as "localhost" and an empty hostname as the machine's hostname.
Try this patch.
http://bugs.winehq.org/show_bug.cgi?id=29039
--- Comment #5 from Matej Spindler spindler.matej@gmail.com 2011-11-11 13:47:48 CST --- (In reply to comment #4)
Created attachment 37449 [details] ws2_32: Handle NULL and empty hostname correctly in getaddrinfo.
It turns out that getaddrinfo/GetAddrInfoW treat NULL hostname as "localhost" and an empty hostname as the machine's hostname.
Try this patch.
LOL game client is working with this patch.
http://bugs.winehq.org/show_bug.cgi?id=29039
--- Comment #6 from K1773R K1773R@darkgamex.ch 2011-11-12 08:48:36 CST --- (In reply to comment #4)
Created attachment 37449 [details] ws2_32: Handle NULL and empty hostname correctly in getaddrinfo.
It turns out that getaddrinfo/GetAddrInfoW treat NULL hostname as "localhost" and an empty hostname as the machine's hostname.
Try this patch.
nice work! thanks, tested and works
http://bugs.winehq.org/show_bug.cgi?id=29039
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |winsock
http://bugs.winehq.org/show_bug.cgi?id=29039
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #7 from Bruno Jesus 00cpxxx@gmail.com 2011-11-15 13:24:45 CST --- Patch commited.
http://source.winehq.org/git/wine.git/commit/75be2284e13d327d93a9665eb32cd90...
http://bugs.winehq.org/show_bug.cgi?id=29039
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |75be2284e13d327d93a9665eb32 | |cd901cbed7234 Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #8 from Austin English austinenglish@gmail.com 2011-11-15 14:34:36 CST --- Fixed.
http://bugs.winehq.org/show_bug.cgi?id=29039
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org 2011-11-18 13:04:53 CST --- Closing bugs fixed in 1.3.33.
http://bugs.winehq.org/show_bug.cgi?id=29039
volker.groeschel@sap.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |volker.groeschel@sap.com
http://bugs.winehq.org/show_bug.cgi?id=29039
nospam5@local.se changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nospam5@local.se
--- Comment #10 from nospam5@local.se 2011-12-01 00:30:02 CST --- I actually got the standard LoL client to work just fine using wine-1.3.32 WITHOUT the "ws2_32: Handle NULL and empty hostname correctly in getaddrinfo" patch attached in this bug (the patch that has now been comitted to wine-1.3.33).
When applying this patch to wine-1.3.32 the error mentioned below actually STARTS appearing.
Same exact same error happens if I run wine-1.3.33, it also fails to join games with the aforementioned assertion error.
LoL is _NOT_ working with this patch, it actually breaks it.
http://bugs.winehq.org/show_bug.cgi?id=29039
--- Comment #11 from nospam5@local.se 2011-12-01 00:31:44 CST --- Created attachment 37720 --> http://bugs.winehq.org/attachment.cgi?id=37720 wine 1.3.32 with patch (or wine 1.3.33 with commited patch) assertion error
http://bugs.winehq.org/show_bug.cgi?id=29039
volker.groeschel@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |volker.groeschel@web.de
--- Comment #12 from volker.groeschel@web.de 2011-12-01 02:52:24 CST --- (In reply to comment #11)
Created attachment 37720 [details] wine 1.3.32 with patch (or wine 1.3.33 with commited patch) assertion error
I guess you need to open a new bug since this one is "Closed fixed"?!
http://bugs.winehq.org/show_bug.cgi?id=29039
--- Comment #13 from Bruno Jesus 00cpxxx@gmail.com 2011-12-01 05:34:16 CST --- (In reply to comment #10)
I actually got the standard LoL client to work just fine using wine-1.3.32 WITHOUT the "ws2_32: Handle NULL and empty hostname correctly in getaddrinfo" patch attached in this bug (the patch that has now been comitted to wine-1.3.33).
There was already a new bug and already a fix in git. http://bugs.winehq.org/show_bug.cgi?id=29145
Fix: http://source.winehq.org/git/wine.git/commit/8e5d5bf58aa4ad9ac638f0b6e6473b4...
If after testing in git you still have a problem you can open a new bug as the previous comment suggests.
http://bugs.winehq.org/show_bug.cgi?id=29039
--- Comment #14 from perdouille@gmail.com 2013-10-24 09:52:44 CDT --- Created attachment 46398 --> http://bugs.winehq.org/attachment.cgi?id=46398 Debug
http://bugs.winehq.org/show_bug.cgi?id=29039
perdouille@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |perdouille@gmail.com
--- Comment #15 from perdouille@gmail.com 2013-10-24 09:53:06 CDT --- I got the same problem ... My hosts file is edited, but it doesn't fix anything : the logo "League of legends" is still froze ...
My /etc/hosts is like that : 127.0.0.1 localhost.localdomain ArchLinux
(ArchLinux is my Hostname)
Tried to remove the /etc/hosts or edit the line, when I do that, the game doesn't froze but crash (with a message "The game has crashed, press retry" or something like that
Any idea ? Thanks !
http://bugs.winehq.org/attachment.cgi?id=46398