[Bug 1198744] Re: getaddrinfo returns system error "Connection timed out" instead of "Name or service not known"
Thomas Hood
1198744 at bugs.launchpad.net
Mon Jul 8 08:55:34 UTC 2013
*** This bug is a duplicate of bug 1154599 ***
https://bugs.launchpad.net/bugs/1154599
** This bug has been marked a duplicate of bug 1154599
getaddrinfo() returns -11 (EAI_SYSTEM) instead of -2
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to eglibc in Ubuntu.
https://bugs.launchpad.net/bugs/1198744
Title:
getaddrinfo returns system error "Connection timed out" instead of
"Name or service not known"
Status in “eglibc” package in Ubuntu:
New
Bug description:
Runnint following on top of invalid hostname
hints.ai_family = AF_INET;
// This fails with odd error on Ubuntu 13.04
int err = getaddrinfo(myhost, NULL, &hints, &result);
returns system error "Connection timed out"
Expected behaviour: -2 (Name or service not known).
This breaks a Python 3.3.2 build test as described here:
http://bugs.python.org/issue17759
Problem is reproduced with 32-bit and 64-bit Ubuntu 13.04 - in various
flavours: 64-bit, 32-bit; up-to date system and a vanilla 13.04 Live
CD.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1198744/+subscriptions
More information about the foundations-bugs
mailing list