Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

faulthandler'sdump_traceback doesn't handle case where top-most frame isFRAME_OWNED_BY_CSTACK #123967

Closed
Labels
3.12only security fixes3.13bugs and security fixes3.14bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error
@colesbury

Description

@colesbury

Bug report

We properly skip trampoline frames when they are not the top-most frame:

if (frame->owner==FRAME_OWNED_BY_CSTACK) {
/* Trampoline frame */
frame=frame->previous;
}

But iftstate->current_frame is a trampoline frame (i.e.,FRAME_OWNED_BY_CSTACK) thendump_traceback will crash if faulthandler is triggered when executing a trampoline frame.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only security fixes3.13bugs and security fixes3.14bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp