http://bugs.winehq.org/show_bug.cgi?id=35235
Bug ID: 35235 Summary: GoldCoin 0.7.1.7: synchronization with network spams terminal with "fixme:winsock:convert_eai_u2w Unhandled unix EAI_xxx ret 0" messages Product: Wine Version: 1.7.9 Hardware: x86 OS: Linux Status: NEW Severity: minor Priority: P2 Component: winsock Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Classification: Unclassified
Hello folks,
with bug 35061 fixed the app starts fine.
The annoying bit: there is a constant flood of messages in terminal during initial synchronization with network.
Trace log:
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/GoldCoin (GLD)
$ WINEDEBUG=+tid,+seh,+relay,+winsock wine ./goldcoin-qt.exe >>log.txt 2>&1 ... 0029:Call ws2_32.getnameinfo(0834e950,00000010,0834e54f,00000401,00000000,00000000,00000002) ret=004202c8 ... 0029:trace:winsock:WS_getnameinfo { family AF_INET, address 111.111.111.111, port 0 } 16 0x834e54f 1025 (nil) 0 2 ... 0029:fixme:winsock:convert_eai_u2w Unhandled unix EAI_xxx ret 0 ... 0029:Ret ws2_32.getnameinfo() retval=00000000 ret=004202c8 ... 0029:Call msvcrt.vfprintf(7edfe420,00932974 "GetMyExternalIP() returned %s\n",0834ea24) ret=0073f748 --- snip ---
With +timestamp to show the rate:
--- snip --- ... 32104.177:fixme:winsock:convert_eai_u2w Unhandled unix EAI_xxx ret 0 32104.183:fixme:winsock:convert_eai_u2w Unhandled unix EAI_xxx ret 0 32104.185:fixme:winsock:convert_eai_u2w Unhandled unix EAI_xxx ret 0 32104.185:fixme:winsock:convert_eai_u2w Unhandled unix EAI_xxx ret 0 32104.185:fixme:winsock:convert_eai_u2w Unhandled unix EAI_xxx ret 0 32104.185:fixme:winsock:convert_eai_u2w Unhandled unix EAI_xxx ret 0 32104.185:fixme:winsock:convert_eai_u2w Unhandled unix EAI_xxx ret 0 32104.187:fixme:winsock:convert_eai_u2w Unhandled unix EAI_xxx ret 0 32104.191:fixme:winsock:convert_eai_u2w Unhandled unix EAI_xxx ret 0 ... --- snip ---
getnameinfo() returning 0 = 'success' should be exempt from error code translation.
Source: http://source.winehq.org/git/wine.git/blob/c66c14ddda242cee69e8a730310c1855d...
--- snip --- 5668 int WINAPI WS_getnameinfo(const SOCKADDR *sa, WS_socklen_t salen, PCHAR host, 5669 DWORD hostlen, PCHAR serv, DWORD servlen, INT flags) 5670 { 5671 #ifdef HAVE_GETNAMEINFO ... 5685 ret = getnameinfo(&sa_u.addr, size, host, hostlen, serv, servlen, convert_niflag_w2u(flags)); 5686 return convert_eai_u2w(ret); 5687 #else 5688 FIXME("getnameinfo() failed, not found during buildtime.\n"); 5689 return EAI_FAIL; 5690 #endif 5691 } --- snip ---
Source: http://source.winehq.org/git/wine.git/blob/c66c14ddda242cee69e8a730310c1855d...
--- snip --- 5365 static int convert_eai_u2w(int unixret) { 5366 int i; 5367 5368 for (i=0;ws_eai_map[i][0];i++) 5369 if (ws_eai_map[i][1] == unixret) 5370 return ws_eai_map[i][0]; 5371 5372 if (unixret == EAI_SYSTEM) 5373 /* There are broken versions of glibc which return EAI_SYSTEM 5374 * and set errno to 0 instead of returning EAI_NONAME. 5375 */ 5376 return errno ? sock_get_error( errno ) : WS_EAI_NONAME; 5377 5378 FIXME("Unhandled unix EAI_xxx ret %d\n", unixret); 5379 return unixret; 5380 } --- snip ---
$ sha1sum goldcoin-0.7.1.7-win32-setup.exe b7f714096bee9c766c5c656e9ffddfd95c9e2026 goldcoin-0.7.1.7-win32-setup.exe
$ du -sh goldcoin-0.7.1.7-win32-setup.exe 9.4M goldcoin-0.7.1.7-win32-setup.exe
$ wine --version wine-1.7.9-183-g919e620
Regards
http://bugs.winehq.org/show_bug.cgi?id=35235
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://gldcoin.com/download | |s/goldcoin-0.7.1.7-win32-se | |tup.exe
http://bugs.winehq.org/show_bug.cgi?id=35235
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com --- I have sent a patch for this: http://source.winehq.org/patches/data/101198
http://bugs.winehq.org/show_bug.cgi?id=35235
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |fc5884c23296c0f121442d0832b | |0187074e95a10 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit http://source.winehq.org/git/wine.git/commitdiff/fc5884c23296c0f121442d0832b...
Thanks Bruno
Regards
https://bugs.winehq.org/show_bug.cgi?id=35235
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.10.
https://bugs.winehq.org/show_bug.cgi?id=35235
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download link via Internet Archive for documentation.
https://web.archive.org/web/20140403064912/http://gldcoin.com/downloads/gold...
https://www.virustotal.com/gui/file/cee77d74638d49401464e03bbf103f1019bf0331...
$ sha1sum goldcoin-0.7.1.7-win32-setup.exe 648e8a8c1c65ffbc8752a4e5ecde708fc31df0cf goldcoin-0.7.1.7-win32-setup.exe
$ du -sh goldcoin-0.7.1.7-win32-setup.exe 9.4M goldcoin-0.7.1.7-win32-setup.exe
Regards
https://bugs.winehq.org/show_bug.cgi?id=35235
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://gldcoin.com/download |https://web.archive.org/web |s/goldcoin-0.7.1.7-win32-se |/20140403064912/http://gldc |tup.exe |oin.com/downloads/goldcoin- | |0.7.1.7-win32-setup.exe