[Python-3000] current status

Walter Dörwald walter at livinglogic.de
Thu Aug 30 17:48:52 CEST 2007


Guido van Rossum wrote:

> [...[
> 
>> * On ia64, test_tarfile.PAXUnicodeTest.test_utf7_filename generates
>> this exception:
>> Objects/exceptions.c:1392: PyUnicodeDecodeError_Create: Assertion
>> `start < 2147483647' failed.
> 
> That's probably an uninitialized variable 'startinpos' in one of the
> functions that calls unicode_decode_call_errorhandler(). It's the 7th
> parameter. The header of that function is 150 characters wide. Yuck!

Seems that a linefeed has gone missing there.

> Someone will need to reproduce the bug and then point gdb at it and it
> should be obvious. :-)

I've added an initialization to the "illegal special character" branch 
of the code.

However test_tarfile.py still segfaults for me in the py3k branch. The 
top of the stacktrace is:

#0  0xb7eec07f in memcpy () from /lib/tls/libc.so.6
#1  0xb7a905bc in s_pack_internal (soself=0xb77dc97c, args=0xb77cddfc, 
offset=0, buf=0x8433c4c "")
     at /var/home/walter/checkouts/Python/py3k/Modules/_struct.c:1667
#2  0xb7a90a32 in s_pack (self=0xb77dc97c, args=0xb77cddfc) at 
/var/home/walter/checkouts/Python/py3k/Modules/_struct.c:1741
#3  0x08085f96 in PyCFunction_Call (func=0xb7a72a0c, arg=0xb77cddfc, 
kw=0x0) at Objects/methodobject.c:73

Servus,
    Walter


More information about the Python-3000 mailing list