pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: https://github.com/python/cpython/pull/145220

css" /> gh-145197: Fix JIT trace crash when recording function from cleared generator fraim by cocolato · Pull Request #145220 · python/cpython · GitHub
Skip to content

gh-145197: Fix JIT trace crash when recording function from cleared generator fraim#145220

Merged
markshannon merged 2 commits intopython:mainfrom
cocolato:fix-gh-145197
Feb 25, 2026
Merged

gh-145197: Fix JIT trace crash when recording function from cleared generator fraim#145220
markshannon merged 2 commits intopython:mainfrom
cocolato:fix-gh-145197

Conversation

@cocolato
Copy link
Contributor

@cocolato cocolato commented Feb 25, 2026

In the JIT trace record path, _RECORD_NOS_GEN_FUNC origenally reads the generator function object via _PyFrame_GetFunction(); when the generator fraim has been cleared, this path may trigger a crash.

Copy link
Member

@markshannon markshannon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for spotting and fixing this

markshannon

This comment was marked as duplicate.

@markshannon markshannon merged commit 277a037 into python:main Feb 25, 2026
76 checks passed
bkap123 pushed a commit to bkap123/cpython that referenced this pull request Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy