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

SourceForge.net noreply at sourceforge.net
Tue Sep 2 21:35:26 EDT 2003


Bugs item #737947, was opened at 2003-05-14 18:51
Message generated for change (Comment added) made by bwarsaw
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: Fred L. Drake, Jr. (fdrake)
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.

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

>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2003-09-02 23:35

Message:
Logged In: YES 
user_id=12800

I obviously didn't get to this for 2.2.3.  Reassigning to

Fred who threatened to be the 2.2.4 RM.



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

Comment By: Neal Norwitz (nnorwitz)
Date: 2003-05-22 17:14

Message:
Logged In: YES 
user_id=33168

Barry, should this be handled for 2.2.3?

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

Comment By: Neal Norwitz (nnorwitz)
Date: 2003-05-14 22:28

Message:
Logged In: YES 
user_id=33168

revision 2.54 in Modules/readline.c fixed this problem. 

Patch #512981: Update readline input stream on sys.stdin/out

change.



The patch must be modified for 2.2.3 because there is an API

change.

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

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



More information about the Python-bugs-list mailing list