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

noreply@sourceforge.net noreply@sourceforge.net
Mon, 19 Nov 2001 02:42:07 -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: Closed
>Resolution: Fixed
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




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

>Comment By: Martin v. Löwis (loewis)
Date: 2001-11-19 02:42

Message:
Logged In: YES 
user_id=21627

Thanks for the report. Fixed in socketmodule.c 1.196.

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

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