Skip to content

Tracemalloc should skip incomplete frames when creating traceback. #96612

Closed
@markshannon

Description

@markshannon

In the process of implementing #96421, I discovered that tracemalloc doesn't filter out incomplete frames. This might be an issue when allocating in the RETURN_GENERATOR instruction.

This might only be a hypothetical problem, but it should be fixed anyway.

Metadata

Metadata

Assignees

Labels

3.11only security fixes3.12bugs and security fixestype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions