[Python-Dev] Python 2.6 on AMD64 recusion crash

Antoine Pitrou solipsis at pitrou.net
Thu Aug 21 19:16:50 CEST 2008


Mark Hammond <mhammond <at> skippinet.com.au> writes:
> 
> However, test_cpickle takes a different path and doesn't see this doubling of
> the count - therefore dieing at the depth of 629 that I can see.

629 is a very low number, far lower than the default recursion limit of 1000.
Please open a bug for the problem.

> My solution to this was to simply double the stack size for the executables
> in 64bit builds, from 2MB to 4MB (2.1 and 4.2 for debug builds.)  Is this an
> appropriate fix?

Unless this can be set in the configure script for all affected architectures,
I'm not sure this is ok.

Regards

Antoine.




More information about the Python-Dev mailing list