[New-bugs-announce] [issue29792] "Fatal Python error: Cannot recover from stack overflow." from pure Python code

David MacIver report at bugs.python.org
Sat Mar 11 06:33:02 EST 2017


New submission from David MacIver:

When run under Python 3.6.0 or 3.5.1 (and presumably other versions of Python 3) the attached code fails with "Fatal Python error: Cannot recover from stack overflow." then aborts with a core dump and an error code indicating it got a SIGABRT.

On Python 2.7 it instead hangs indefinitely.

Obviously this code is stupid and shouldn't be expected to do anything very reasonable - It's shrunk down from what was probably just a bug on my end in a larger example - but it seemed like it might be symptomatic of a more general class of problems.

----------
files: recursionerror.py
messages: 289441
nosy: David MacIver
priority: normal
severity: normal
status: open
title: "Fatal Python error: Cannot recover from stack overflow." from pure Python code
versions: Python 3.5, Python 3.6
Added file: http://bugs.python.org/file46720/recursionerror.py

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


More information about the New-bugs-announce mailing list