[Bug 35235] New: GoldCoin 0.7.1.7: synchronization with network spams terminal with "fixme:winsock:convert_eai_u2w Unhandled unix EAI_xxx ret 0" messages
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Dec 26 13:38:18 CST 2013
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 at winehq.org
Reporter: focht at 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/c66c14ddda242cee69e8a730310c1855dc85a445:/dlls/ws2_32/socket.c#l5668
--- 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/c66c14ddda242cee69e8a730310c1855dc85a445:/dlls/ws2_32/socket.c#l5365
--- 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
--
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