Message145257
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:03 | bbrazil | set | recipients:
+ bbrazil, amaury.forgeotdarc, belopolsky, meador.inge |
| 2011-10-09 14:27:03 | bbrazil | set | messageid: <1318170423.11.0.382880481723.issue13096@psf.upfronthosting.co.za> |
| 2011-10-09 14:27:02 | bbrazil | link | issue13096 messages |
| 2011-10-09 14:27:02 | bbrazil | create | |
|