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.

classification
Title: Segmentation Fault with socket lib.
Type: Stage:
Components: Library (Lib) Versions: Python 2.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: loewis Nosy List: cqx, loewis
Priority: normal Keywords:

Created on 2001-11-17 19:48 by cqx, last changed 2022-04-10 16:04 by admin. This issue is now closed.

Messages (2)
msg7593 - (view) Author: allan bailey (cqx) Date: 2001-11-17 19:48
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


msg7594 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2001-11-19 10:42
Logged In: YES 
user_id=21627

Thanks for the report. Fixed in socketmodule.c 1.196.
History
Date User Action Args
2022-04-10 16:04:38adminsetgithub: 35540
2001-11-17 19:48:44cqxcreate