Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Some GC types can crash during destruction if a GC runs executes #95324

Closed
Labels
3.11only security fixestype-bugAn unexpected behavior, bug, or error
@pablogsal

Description

@pablogsal

We have been bitten a couple of times already if C extension types that implement the GC interface don't callPyObject_GC_UnTrack in theirtp_dealloc slot. The last issue was#95045

Although this is technically not always an error (thetp_free slot untracks the object from the GC), if the GC executes during the deallocator is possible that it will see an object with 0 reference count.

To avoid this in the future, we should add a warning if this happens so we can fix it within CPython

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.11only security fixestype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp