[pypy-issue] [issue1186] threading.stack_size() doesn't work for big sizes of stack
tracker at bugs.pypy.org
Thu Jun 21 09:48:35 CEST 2012
Roman Vorushin <roman.vorushin at gmail.com> added the comment:
I changed MAX_STACK_SIZE in stack.h to 64 MB
# define MAX_STACK_SIZE (64 << 20) /* 64 MB */
I did retranslation of pypy after it:
pypy translate.py -Ojit
python package.py ../../.. pypy64
It fails with the same error. I tried different values for the depth limit in the
function and discovered that both pre-built pypy and my modified version get
'Segmentation fault: 11' on depth 19000, but work without errors on depth 18000.
It seems that changing MAX_STACK_SIZE in stack.h is not enough to fix this bug.
PyPy bug tracker <tracker at bugs.pypy.org>
More information about the pypy-issue