Skip Montanaro writes: > > Makes no difference: > > % ulimit -a > stack size (kbytes) unlimited > % ./python Misc/find_recursionlimit.py > Limit of 2400 is fine > repr > Segmentation fault > > Skip This means that you're not hitting the rlimit at all but getting a real segfault! Time to do setrlimit -c unlimited and break out GDB, I'd say.