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.

Title: segfault/assert in tokenizer
Type: Stage:
Components: Unicode Versions:
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: loewis Nosy List: doerwalter, glchapman, loewis
Priority: normal Keywords:

Created on 2004-12-21 22:02 by doerwalter, last changed 2022-04-11 14:56 by admin. This issue is now closed.

File name Uploaded Description Edit doerwalter, 2004-12-21 22:02 doerwalter, 2004-12-21 22:02
Messages (3)
msg23790 - (view) Author: Walter Dörwald (doerwalter) * (Python committer) Date: 2004-12-21 22:02
The attached script (with the attached codec leads to a segfault in both Python 2.3 and 
2.4. With a debug build I get:

python: Parser/tokenizer.c:367: fp_readl: Assertion 
`strlen(str) < (size_t)size' failed.

Assigning to Martin, because this seems to be PEP 263 
msg23791 - (view) Author: Greg Chapman (glchapman) Date: 2005-01-13 15:47
Logged In: YES 

I just posted a patch for this here:

I'd appreciate any comments/corrections.
msg23792 - (view) Author: Walter Dörwald (doerwalter) * (Python committer) Date: 2005-07-12 22:00
Logged In: YES 

OK, patch has been applied.
Date User Action Args
2022-04-11 14:56:08adminsetgithub: 41354
2004-12-21 22:02:08doerwaltercreate