Mark Dickinson <dicki...@gmail.com> added the comment:

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()

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6035>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to