[Python-Dev] Before 2.5 - More signed integer overflows

"Martin v. Löwis" martin at v.loewis.de
Mon Sep 18 16:02:29 CEST 2006


Neal Norwitz schrieb:
> I'm getting a crash when running test_builtin and test_calendar (at
> least) with gcc 4.1.1 on amd64.  It's happening in pymalloc, though I
> don't know what the cause is.  I thought I tested with gcc 4.1 before,
> but probably would have been in debug mode.

Can't really check right now, but it might be that this is just the
limitation that a debug obmalloc doesn't work on 64-bit systems.
There is a header at each block with a fixed size of 4 bytes, even
though it should be 8 bytes on 64-bit systems. This header is there
only in a debug build.

Regards,
Martin



More information about the Python-Dev mailing list