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 <>
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).
Date User Action Args
2011-10-09 14:27:03bbrazilsetrecipients: + bbrazil, amaury.forgeotdarc, belopolsky, meador.inge
2011-10-09 14:27:03bbrazilsetmessageid: <>
2011-10-09 14:27:02bbrazillinkissue13096 messages
2011-10-09 14:27:02bbrazilcreate