http://bugs.winehq.org/show_bug.cgi?id=34971
Bug #: 34971 Summary: Volvo The Game crashes when selecting competition mode Product: Wine Version: 1.7.6 Platform: Other OS/Version: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: ipickert55@gmail.com Classification: Unclassified
Created attachment 46600 --> http://bugs.winehq.org/attachment.cgi?id=46600 Terminal Output
After selecting the competition mode, the game crashes and gives an error message from the games crash reporter. It also gives a .dmp file which I will upload in case it is useful.
http://bugs.winehq.org/show_bug.cgi?id=34971
--- Comment #1 from Ian ipickert55@gmail.com 2013-11-21 18:48:30 CST --- Created attachment 46601 --> http://bugs.winehq.org/attachment.cgi?id=46601 .dmp file created by the crash reporter
http://bugs.winehq.org/show_bug.cgi?id=34971
--- Comment #2 from Austin English austinenglish@gmail.com 2013-11-21 19:09:10 CST --- Does native wininet help?
http://bugs.winehq.org/show_bug.cgi?id=34971
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com 2013-11-21 19:14:26 CST --- Since I don't have OSX I'm not sure how wine is installed. The last log line shows : Users/ianpickert/Desktop/Volvo The Game.app/Contents/Frameworks/wswine.bundle/bin/wine
This suggests to me that this is a 3rd party wine wrapper, please correct me if I'm wrong.
http://bugs.winehq.org/show_bug.cgi?id=34971
--- Comment #4 from Ian ipickert55@gmail.com 2013-11-21 19:57:59 CST --- Thanks for the quick replies. The crash is still present when I set native wininet. Also, yes I used a third party wine wrapper for the log, however i have tested this with plain wine and the issue is present, and the logs are identical (except for the path difference when I force quit the game obviously). It was just more convenient for me to upload that log.
http://bugs.winehq.org/show_bug.cgi?id=34971
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW URL| |http://www.gamershell.com/d | |ownload_46140.shtml CC| |gyebro69@gmail.com Ever Confirmed|0 |1
--- Comment #5 from GyB gyebro69@gmail.com 2013-11-23 03:20:18 CST --- The game is freely available from the above url, and I can confirm the reported problem under Fedora 19, Wine 1.7.7. Winedbg produces the following backtrace:
Backtrace: =>0 0x7e70e329 ws_sockaddr_ws2u+0x9(wsaddr=(nil), wsaddrlen=0, uaddr=0x33f970) [/home/gyebro/sources/wine-git/dlls/ws2_32/socket.c:1292] in ws2_32 (0x0033f948) 1 0x7e70e9e2 do_connect+0x31(fd=0x37, name=(nil), namelen=0) [/home/gyebro/sources/wine-git/dlls/ws2_32/socket.c:2648] in ws2_32 (0x0033fa08) 2 0x7e71ecd2 WS_connect+0x81(s=<couldn't compute location>, name=<couldn't compute location>, namelen=<couldn't compute location>) [/home/gyebro/sources/wine-git/dlls/ws2_32/socket.c:2685] in ws2_32 (0x0033fa98) 3 0x006e2b72 in volvo (+0x2e2b71) (0x0dab54e0) 4 0x00794b4c in volvo (+0x394b4b) (0x00794b54) 5 0x006697c0 in volvo (+0x2697bf) (0x006688a0) 6 0x8114246c (0x8b555351) 0x7e70e329 ws_sockaddr_ws2u+0x9 [/home/gyebro/sources/wine-git/dlls/ws2_32/socket.c:1292] in ws2_32: movzwl 0x0(%eax),%ecx 1292 switch (wsaddr->sa_family)
http://bugs.winehq.org/show_bug.cgi?id=34971
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com 2013-11-25 12:01:33 CST --- Created attachment 46636 --> http://bugs.winehq.org/attachment.cgi?id=46636 hack
The game does not run here, it quits silently. Can you please get a +winsock in plain wine? And after that try the attached patch.
http://bugs.winehq.org/show_bug.cgi?id=34971
--- Comment #7 from GyB gyebro69@gmail.com 2013-11-25 13:15:15 CST --- Created attachment 46637 --> http://bugs.winehq.org/attachment.cgi?id=46637 +winsock log
Hi Bruno,
Here's a +winsock debug log using plain Wine 1.7.7. With your hack the game no longer crashes when entering the competition menu, but I still can't register or login the game ('connecting' is displayed in the menu but nothing happens). Do you need a +winsock log with your hack applied to see what's happening?
http://bugs.winehq.org/show_bug.cgi?id=34971
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #8 from Bruno Jesus 00cpxxx@gmail.com 2013-11-25 13:46:33 CST --- Thanks for the reply. No need for other logs for now.
0009:trace:winsock:WS_getaddrinfo "84.244.178.114", (null) 0x32f864 -> 0x32f894 -7 0009:trace:winsock:WS_connect socket 01a0, ptr (nil) (nil), length 0
The call to getaddrinfo is failing but the application ignores that and tries to connect sending a NULL address. We need to figure out why it's failing.
In linux that -7 return means #define EAI_SOCKTYPE -7
I need to add more debug messages to getaddrinfo, I'll attach a new patch soon.
http://bugs.winehq.org/show_bug.cgi?id=34971
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #46636|0 |1 is obsolete| |
--- Comment #9 from Bruno Jesus 00cpxxx@gmail.com 2013-11-25 14:33:19 CST --- Created attachment 46638 --> http://bugs.winehq.org/attachment.cgi?id=46638 hack 2
Please get a new +winsock with this patch.
http://bugs.winehq.org/show_bug.cgi?id=34971
--- Comment #10 from GyB gyebro69@gmail.com 2013-11-25 15:03:29 CST --- Created attachment 46639 --> http://bugs.winehq.org/attachment.cgi?id=46639 +winsock debug log (hack2 applied)
http://bugs.winehq.org/show_bug.cgi?id=34971
--- Comment #11 from Bruno Jesus 00cpxxx@gmail.com 2013-11-25 15:09:12 CST --- Thanks, the game is really asking the wrong question but that may work in windows. Now I know how to replicate and test.
http://bugs.winehq.org/show_bug.cgi?id=34971
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wine-bugs@winehq.org |00cpxxx@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=34971
Ian ipickert55@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |winsock
http://bugs.winehq.org/show_bug.cgi?id=34971
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #46638|0 |1 is obsolete| |
--- Comment #12 from Bruno Jesus 00cpxxx@gmail.com 2013-11-25 19:11:00 CST --- Created attachment 46641 --> http://bugs.winehq.org/attachment.cgi?id=46641 first attempt
It will take a while to test all cases required before sending a correct fix. For now please try the attached patch.
http://bugs.winehq.org/show_bug.cgi?id=34971
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #46641|0 |1 is patch| |
http://bugs.winehq.org/show_bug.cgi?id=34971
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |17747
https://bugs.winehq.org/show_bug.cgi?id=34971
--- Comment #13 from Bruno Jesus 00cpxxx@gmail.com --- Should be fixed by 719715c77426c7cb759a012d24f898622db5db6b, please try again.
http://bugs.winehq.org/show_bug.cgi?id=34971
--- Comment #14 from GyB gyebro69@gmail.com --- (In reply to comment #13)
Should be fixed by 719715c77426c7cb759a012d24f898622db5db6b, please try again.
Confirming, the game doesn't crash in competition mode using wine-1.7.9-143-g33132ce. Thanks, Bruno for fixing this bug.
http://bugs.winehq.org/show_bug.cgi?id=34971
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |719715c77426c7cb759a012d24f | |898622db5db6b Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #15 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to comment #14)
Confirming, the game doesn't crash in competition mode using wine-1.7.9-143-g33132ce. Thanks, Bruno for fixing this bug.
Resolving fixed, thanks for testing.
https://bugs.winehq.org/show_bug.cgi?id=34971
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.10.