[Bug 1198744] [NEW] getaddrinfo returns system error "Connection timed out" instead of "Name or service not known"
Yavor Nikolov
1198744 at bugs.launchpad.net
Sun Jul 7 21:54:38 UTC 2013
Public bug reported:
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.
** Affects: eglibc (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "Sample app which is exposing the described problem"
https://bugs.launchpad.net/bugs/1198744/+attachment/3728546/+files/test_getaddrinfo.cpp
--
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