Serhiy Storchaka added the comment:
Thank you for your report Anselm. Seems this bug is fixed in issue22851.
--
nosy: +serhiy.storchaka
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> 2.7 core crashes with generator.gi_frame.f_restricted
New submission from Anselm Kruis:
If you store a reference to a frame from a dead thread and then access
frame.f_restricted python eventually crashed.
I didn't investigate this bug in depth. Here is my preliminary explanation.
The access of frame.f_restricted causes a call of