[Python-bugs-list] [ python-Bugs-482871 ] Segmentation Fault with socket lib.

noreply@sourceforge.net noreply@sourceforge.net
Sat, 17 Nov 2001 19:23:31 -0800


Bugs item #482871, was opened at 2001-11-17 11:48
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=482871&group_id=5470

Category: Python Library
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: charles xavier (cqx)
>Assigned to: Martin v. Löwis (loewis)
Summary: Segmentation Fault with  socket lib.

Initial Comment:
This applies to 2.2 and 2.1.1, I chose 2.2 as the
starting group.  Change if there's  a better way.

Here's the code and example.  Running on:

Linux 2.4.9-13 i686
example:

>>> import socket
>>> s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
>>> s.connect( ('localhost', 25) )
>>> s.recv(-1)
Segmentation fault




----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=482871&group_id=5470