[issue27277] Fatal Python error: Segmentation fault in test_exceptions

Jelle Zijlstra report at bugs.python.org
Fri Jun 10 03:33:07 EDT 2016


Jelle Zijlstra added the comment:

This test asserts that indefinite recursion causes a RecursionError, but such recursion can instead segfault if the amount of stack space available is less than Python's recursion limit (sys.getrecursionlimit()).

Are you using any unusual settings for the recursion limit? Perhaps the solution here is to have CPython use a lower default recursion limit on your platform.

----------
nosy: +Jelle Zijlstra

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27277>
_______________________________________


More information about the Python-bugs-list mailing list