[issue44393] segfault with sys.setrecursionlimit

2021-07-28 Thread Jack DeVries
Jack DeVries added the comment: What about low recursion limits? This program causes a segfault for me:: import sys sys.setrecursionlimit(4) print('goodbye, world') -- nosy: +jack__d ___ Python tracker

[issue44393] segfault with sys.setrecursionlimit

2021-06-11 Thread Eric V. Smith
Eric V. Smith added the comment: That's the documented behavior: "A user may need to set the limit higher when they have a program that requires deep recursion and a platform that supports a higher limit. This should be done with care, because a too-high limit can lead to a crash."

[issue44393] segfault with sys.setrecursionlimit

2021-06-11 Thread Alex Hall
New submission from Alex Hall : Found on: Python 3.9.5 GCC 11.1 on Linux (x86_64) Reproduced on: Python 3.9.5 Clang 9.0.8 Linux (arm) When setting the recursion limit to a high enough amount, trying to reach that recursion limit ends in a segmentation fault (stack overflow?) code: ```py