]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-116510: Fix crash during sub-interpreter shutdown (gh-124645) (#124649)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 27 Sep 2024 18:11:02 +0000 (20:11 +0200)
committerGitHub <noreply@github.com>
Fri, 27 Sep 2024 18:11:02 +0000 (11:11 -0700)
commit1cd2b97113f7514f1925b2538c7d55b3421c3abd
treedb385713620341c7c871a10d10d83272eb36131b
parentcaaf939fe2d296473940d1109fcd1025425b2d3f
[3.13] gh-116510: Fix crash during sub-interpreter shutdown (gh-124645) (#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 6f9525dd3f0ef5809106ca0923a7512d666a04bb)

Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
Misc/NEWS.d/next/Core_and_Builtins/2024-09-26-17-55-34.gh-issue-116510.dhn8w8.rst [new file with mode: 0644]
Python/gc.c