Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[3.9] bpo-46070: _PyGC_Fini() untracks objects (GH-30577)#30579

Closed
miss-islington wants to merge 1 commit into
python:3.9python/cpython:3.9from
miss-islington:backport-1a4d1c1-3.9miss-islington/cpython:backport-1a4d1c1-3.9Copy head branch name to clipboard
Closed

[3.9] bpo-46070: _PyGC_Fini() untracks objects (GH-30577)#30579
miss-islington wants to merge 1 commit into
python:3.9python/cpython:3.9from
miss-islington:backport-1a4d1c1-3.9miss-islington/cpython:backport-1a4d1c1-3.9Copy head branch name to clipboard

Conversation

@miss-islington

@miss-islington miss-islington commented Jan 13, 2022

Copy link
Copy Markdown
Contributor

Py_EndInterpreter() now explicitly untracks all objects currently
tracked by the GC. Previously, if an object was used later by another
interpreter, calling PyObject_GC_UnTrack() on the object crashed if
the previous or the next object of the PyGC_Head structure became a
dangling pointer.
(cherry picked from commit 1a4d1c1)

Co-authored-by: Victor Stinner vstinner@python.org

https://bugs.python.org/issue46070

Py_EndInterpreter() now explicitly untracks all objects currently
tracked by the GC. Previously, if an object was used later by another
interpreter, calling PyObject_GC_UnTrack() on the object crashed if
the previous or the next object of the PyGC_Head structure became a
dangling pointer.
(cherry picked from commit 1a4d1c1)

Co-authored-by: Victor Stinner <vstinner@python.org>
@vstinner

Copy link
Copy Markdown
Member

This backport is wrong. I wrote GH-30580.

@vstinner vstinner closed this Jan 13, 2022
@miss-islington miss-islington deleted the backport-1a4d1c1-3.9 branch January 13, 2022 18:31
@miss-islington

Copy link
Copy Markdown
Contributor Author

@vstinner: Status check is done, and it's a failure ❌ .

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.