-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Closed
Labels
3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
We properly skip trampoline frames when they are not the top-most frame:
Lines 979 to 982 in 3bd942f
if (frame->owner == FRAME_OWNED_BY_CSTACK) { | |
/* Trampoline frame */ | |
frame = frame->previous; | |
} |
But if tstate->current_frame
is a trampoline frame (i.e., FRAME_OWNED_BY_CSTACK
) then dump_traceback
will crash if faulthandler is triggered when executing a trampoline frame.
Linked PRs
Metadata
Metadata
Assignees
Labels
3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error