Author bbrazil
Recipients amaury.forgeotdarc, bbrazil, belopolsky, meador.inge
Date 2011-10-09.14:27:02
SpamBayes Score 3.3438e-05
Marked as misclassified No
Message-id <1318170423.11.0.382880481723.issue13096@psf.upfronthosting.co.za>
In-reply-to
Content
The problem is around line 1734 of callproc.c in tip:

    } else if (PyType_Check(cls)) {
        typ = (PyTypeObject *)cls;
        buf = alloca(strlen(typ->tp_name) + 3 + 1);
        sprintf(buf, "LP_%s", typ->tp_name);   <-- segfault is here

Replacing the alloca with a malloc fixes it, so I presume it's hitting the stack size limit as 2^25 is 32MB (my stack limit is 8MB).
History
Date User Action Args
2011-10-09 14:27:03bbrazilsetrecipients: + bbrazil, amaury.forgeotdarc, belopolsky, meador.inge
2011-10-09 14:27:03bbrazilsetmessageid: <1318170423.11.0.382880481723.issue13096@psf.upfronthosting.co.za>
2011-10-09 14:27:02bbrazillinkissue13096 messages
2011-10-09 14:27:02bbrazilcreate