FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-116510: Fix crash during sub-interpreter shutdown by nascheme · Pull Request #124645 · python/cpython · GitHub

/ cpython Public

gh-116510: Fix crash during sub-interpreter shutdown - #124645

Merged
nascheme merged 1 commit into
python:mainfrom
nascheme:fix_subinterp_crash_gc_head_main
Sep 27, 2024
Merged

gh-116510: Fix crash during sub-interpreter shutdown#124645
nascheme merged 1 commit into
python:mainfrom
nascheme:fix_subinterp_crash_gc_head_main

Conversation

nascheme commented Sep 27, 2024
edited by bedevere-app Bot
Loading

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 added type-crash A hard crash of the interpreter, possibly with a core dump 3.13 bugs and security fixes 3.14 bugs and security fixes needs backport to 3.13 bugs and security fixes labels Sep 27, 2024
nascheme merged commit 6f9525d into python:main Sep 27, 2024

Copy link
Copy Markdown

Thanks @nascheme for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 27, 2024
…124645)

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.
(cherry picked from commit 6f9525d)

Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>

bedevere-app Bot commented Sep 27, 2024

Copy link
Copy Markdown

GH-124649 is a backport of this pull request to the 3.13 branch.

bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Sep 27, 2024
Yhg1s pushed a commit that referenced this pull request Sep 27, 2024
… (#124649)

gh-116510: Fix crash during sub-interpreter shutdown (gh-124645)

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.
(cherry picked from commit 6f9525d)

Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.13 bugs and security fixes 3.14 bugs and security fixes type-crash A hard crash of the interpreter, possibly with a core dump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL