[Python-bugs-list] [ python-Bugs-737947 ] Failed assert in stringobject.c

SourceForge.net noreply@sourceforge.net
Wed, 14 May 2003 15:51:41 -0700


Bugs item #737947, was opened at 2003-05-14 22:51
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=737947&group_id=5470

Category: Python Interpreter Core
Group: Python 2.2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Fernando Pérez (fer_perez)
Assigned to: Nobody/Anonymous (nobody)
Summary: Failed assert in stringobject.c

Initial Comment:
Here's how to reproduce the problem:

[~]> cat test.py
import readline
readline.get_completer_delims()

[~]> echo 'execfile("test.py");print 10' | python
python: Objects/stringobject.c:111:
PyString_FromString: Assertion `str !=((void *)0)' failed.
Abort

This was tested with 2.2.1 under RedHat 8.0. On c.l.py,
a Mandrake 9.0 (py2.2.2) user reported a segfault with
the same.

Martin reported not seeing the problem with 2.3b1. 
However, others suggested still filing it for a
possible backport, and also in case the fix was accidental.

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

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