This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tibbe
Recipients tibbe
Date 2013-02-21.23:31:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1361489513.5.0.894275569557.issue17269@psf.upfronthosting.co.za>
In-reply-to
Content
The following call to getaddrinfo makes Python segfault:

$ python
Python 2.7.2 (default, Jun 20 2012, 16:23:33) 
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
>>> socket.getaddrinfo("localhost", None, 0, 0, 0, socket.AI_NUMERICSERV)
Segmentation fault: 11

The combination of no port (None) and socket.AI_NUMERICSERV makes no sense (I used it by mistake) but we probably don't want to segfault anyway.
History
Date User Action Args
2013-02-21 23:31:53tibbesetrecipients: + tibbe
2013-02-21 23:31:53tibbesetmessageid: <1361489513.5.0.894275569557.issue17269@psf.upfronthosting.co.za>
2013-02-21 23:31:53tibbelinkissue17269 messages
2013-02-21 23:31:53tibbecreate