This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pablogsal
Recipients Mark.Shannon, christian.heimes, jdemeyer, lukasz.langa, pablogsal, petr.viktorin, pitrou, vstinner
Date 2019-09-02.15:15:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1567437357.54.0.680256782899.issue38006@roundup.psfhosted.org>
In-reply-to
Content
I think the problem is that whatever is weak-referenced by the weak ref (CField_Type or similar) is not on the gc list. Because is not on the gc list, handle_weakrefs (https://github.com/python/cpython/blob/master/Modules/gcmodule.c#L1090) is not acting correctly on the weakreferences, clearing them before the tp_clear calls and therefore producing the crash.
History
Date User Action Args
2019-09-02 15:15:57pablogsalsetrecipients: + pablogsal, pitrou, vstinner, christian.heimes, petr.viktorin, lukasz.langa, Mark.Shannon, jdemeyer
2019-09-02 15:15:57pablogsalsetmessageid: <1567437357.54.0.680256782899.issue38006@roundup.psfhosted.org>
2019-09-02 15:15:57pablogsallinkissue38006 messages
2019-09-02 15:15:57pablogsalcreate