Brian Brazil <brian.bra...@gmail.com> added the comment:

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).

----------
nosy: +bbrazil

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13096>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to