You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3.10 (EOL)end of life3.11only security fixes3.12only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-crashA hard crash of the interpreter, possibly with a core dump
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--;".)
It should be against master or the the newest version in which the problem exists. After merging this pull request the changes will be backported to older versions.
3.10 (EOL)end of life3.11only security fixes3.12only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-crashA hard crash of the interpreter, possibly with a core dump
Activity
opensdh commentedon Aug 30, 2019
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--;".)
opensdh commentedon Aug 30, 2019
I can easily make a patch or pull request, but against which version(s) should I do so? (Will such a trivial change require a CLA?)
serhiy-storchaka commentedon Aug 30, 2019
It should be against master or the the newest version in which the problem exists. After merging this pull request the changes will be backported to older versions.
3.6 and 3.5 are open for security fixes only.
shihai1991 commentedon Apr 12, 2020
If I understand correctly,
p->depth--associated withp->errorcould be removed?serhiy-storchaka commentedon Jan 12, 2023
Please provide an example that can crash the interpreter.
serhiy-storchaka commentedon Aug 16, 2026
Closed as non-reproducible.