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

SourceForge.net noreply at sourceforge.net
Sun Dec 26 16:06:08 CET 2004


Bugs item #737947, was opened at 2003年05月14日 19:51
Message generated for change (Comment added) made by facundobatista
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: Closed
>Resolution: Fixed
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: Facundo Batista (facundobatista)
Date: 2004年12月26日 12:06
Message:
Logged In: YES 
user_id=752496
It's fixed in Py2.3.4.
----------------------------------------------------------------------
Comment By: Barry A. Warsaw (bwarsaw)
Date: 2003年09月03日 00: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日 18: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日 23: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

AltStyle によって変換されたページ (->オリジナル) /