Issue 737947: Failed assert in stringobject.c (original) (raw)
Issue737947
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.
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/38503
classification
Title: | Failed assert in stringobject.c | ||
---|---|---|---|
Type: | Stage: | ||
Components: | Interpreter Core | Versions: | Python 2.2 |
process
Status: | closed | Resolution: | fixed |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | fdrake | Nosy List: | barry, facundobatista, fdrake, fer_perez, nnorwitz |
Priority: | normal | Keywords: |
Created on 2003-05-14 22:51 by fer_perez, last changed 2022-04-10 16:08 by admin. This issue is now closed.
Messages (5) | ||
---|---|---|
msg16009 - (view) | Author: Fernando Pérez (fer_perez) | Date: 2003-05-14 22:51 |
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. | ||
msg16010 - (view) | Author: Neal Norwitz (nnorwitz) * ![]() |
Date: 2003-05-15 02:28 |
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. | ||
msg16011 - (view) | Author: Neal Norwitz (nnorwitz) * ![]() |
Date: 2003-05-22 21:14 |
Logged In: YES user_id=33168 Barry, should this be handled for 2.2.3? | ||
msg16012 - (view) | Author: Barry A. Warsaw (barry) * ![]() |
Date: 2003-09-03 03:35 |
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. | ||
msg16013 - (view) | Author: Facundo Batista (facundobatista) * ![]() |
Date: 2004-12-26 15:06 |
Logged In: YES user_id=752496 It's fixed in Py2.3.4. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-10 16:08:46 | admin | set | github: 38503 |
2003-05-14 22:51:41 | fer_perez | create |