[3.12] gh-116510: Fix crash during sub-interpreter shutdown by nascheme · Pull Request #124536 · python/cpython · GitHub
Skip to content

[3.12] gh-116510: Fix crash during sub-interpreter shutdown - #124536

Merged
nascheme merged 1 commit into
python:3.12from
nascheme:fix_subinterp_crash_gc_head
Sep 27, 2024
Merged

[3.12] gh-116510: Fix crash during sub-interpreter shutdown#124536
nascheme merged 1 commit into
python:3.12from
nascheme:fix_subinterp_crash_gc_head

Conversation

@nascheme

@nascheme nascheme commented Sep 25, 2024

Copy link
Copy Markdown
Member

Fix a bug that can cause a crash when sub-interpreters use "basic" single-phase extension modules. Shared objects could refer to PyGC_Head nodes that had been freed as part of interpreter shutdown.

Fix a bug that can cause a crash when sub-interpreters use "basic"
single-phase extension modules.  Shared objects could refer to PyGC_Head
nodes that had been freed as part of interpreter shutdown.
@nascheme

Copy link
Copy Markdown
Member Author

@ericsnowcurrently ericsnowcurrently left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.12 only security fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants