[issue37985] WFERR_UNMARSHALLABLE breaks recursion limit

Davis Herring report at bugs.python.org
Thu Aug 29 20:04:37 EDT 2019


New submission from Davis Herring <herring at lanl.gov>:

Most of the "p->depth--;" lines associated with "p->error = WFERR_UNMARSHALLABLE;" are spurious, and can crash the interpreter if enough of them prevent reaching MAX_MARSHAL_STACK_DEPTH.  (The only exceptions are in 2.7, where some of them are followed by a return that skips another "p->depth--;".)

----------
components: Interpreter Core
messages: 350841
nosy: herring
priority: normal
severity: normal
status: open
title: WFERR_UNMARSHALLABLE breaks recursion limit
type: crash
versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37985>
_______________________________________


More information about the Python-bugs-list mailing list