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.

Author hushp1pt
Recipients hushp1pt, loewis
Date 2008-06-16.18:51:24
SpamBayes Score 0.015167529
Marked as misclassified No
Message-id <1213642290.71.0.879863607295.issue3107@psf.upfronthosting.co.za>
In-reply-to
Content
tried again with
/configure --prefix=/home/tony/root/usr/local/python-2.5.2 --with-tcl
--disable-shared

No change

But I noticed this when it recompiled.  Maybe it is related.

gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o
Objects/obmalloc.o Objects/obmalloc.c
Objects/obmalloc.c: In function `new_arena':
Objects/obmalloc.c:529: warning: comparison is always false due to
limited range of data type

(code fragment)

        /* Double the number of arena objects on each allocation.
         * Note that it's possible for `numarenas` to overflow.
         */
        numarenas = maxarenas ? maxarenas << 1 : INITIAL_ARENA_OBJECTS;
        if (numarenas <= maxarenas)
            return NULL;    /* overflow */
        if (numarenas > PY_SIZE_MAX / sizeof(*arenas)) /* line 529 here */
            return NULL;    /* overflow */
        nbytes = numarenas * sizeof(*arenas);
        arenaobj = (struct arena_object *)realloc(arenas, nbytes);
        if (arenaobj == NULL)
            return NULL;
        arenas = arenaobj;
History
Date User Action Args
2008-06-16 18:51:31hushp1ptsetspambayes_score: 0.0151675 -> 0.015167529
recipients: + hushp1pt, loewis
2008-06-16 18:51:30hushp1ptsetspambayes_score: 0.0151675 -> 0.0151675
messageid: <1213642290.71.0.879863607295.issue3107@psf.upfronthosting.co.za>
2008-06-16 18:51:29hushp1ptlinkissue3107 messages
2008-06-16 18:51:25hushp1ptcreate