Skip to content

[3.15] gh-157605: Accept empty native-thread stacks when sampling - #161784

Open
miss-islington wants to merge 1 commit into
python:3.15from
miss-islington:backport-80f9aa0-3.15
Open

miss-islington wants to merge 1 commit into
python:3.15from
miss-islington:backport-80f9aa0-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Accept empty native-thread stacks when sampling instead of raising an error. Distinguish interpreter-owned C frames from cleared Python frames so frame cleanup cannot produce a false marker.
(cherry picked from commit 80f9aa0)

Co-authored-by: Pablo Galindo Salgado Pablogsal@gmail.com

Accept empty native-thread stacks when sampling instead of raising an error. Distinguish interpreter-owned C frames from cleared Python frames so frame cleanup cannot produce a false <native> marker.
(cherry picked from commit 80f9aa0)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants