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 mark.dickinson
Recipients mark.dickinson
Date 2009-05-16.11:48:26
SpamBayes Score 1.20879e-08
Marked as misclassified No
Message-id <1242474508.65.0.87532492519.issue6035@psf.upfronthosting.co.za>
In-reply-to
Content
More information:  gcc-mp-4.4 is GCC 4.4 from macports.  For
some reason the macports version of gcc is having problems, but
not the regular Apple version.

When I compile with gcc-4.2 from Apple, test_poplib.py passes.
When I compile with gcc-4.2 from macports, test_poplib.py fails as above.

Here's a small script, cut down from test_poplib.py, that generates the 
Bus error.  I'm still trying to work out whether the bug is in gcc, 
Python, or libssl.


import socket, ssl
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
ssl_sock = ssl.wrap_socket(s)
ssl_sock.connect(('www.verisign.com', 443))
file = ssl_sock.makefile('rb')
file.close()
ssl_sock.close()
History
Date User Action Args
2009-05-16 11:48:28mark.dickinsonsetrecipients: + mark.dickinson
2009-05-16 11:48:28mark.dickinsonsetmessageid: <1242474508.65.0.87532492519.issue6035@psf.upfronthosting.co.za>
2009-05-16 11:48:27mark.dickinsonlinkissue6035 messages
2009-05-16 11:48:26mark.dickinsoncreate