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 serhiy.storchaka
Recipients eric.snow, jdemeyer, matrixise, pitrou, scoder, serhiy.storchaka
Date 2019-03-27.17:25:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1553707535.5.0.821230535265.issue35983@roundup.psfhosted.org>
In-reply-to
Content
Disabling the trashcan mechanism returns the problem for solving which the trashcan mechanism was introduced.

>>> from _testcapi import MyList
>>> L = None
>>> for i in range(1000000):
...     L = MyList((L,))
... 
>>> del L
Segmentation fault (core dumped)

I think we need better way to resolve this issue.

For example, setting the object type to the parent type should solve this issue.
History
Date User Action Args
2019-03-27 17:25:35serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, scoder, eric.snow, jdemeyer, matrixise
2019-03-27 17:25:35serhiy.storchakasetmessageid: <1553707535.5.0.821230535265.issue35983@roundup.psfhosted.org>
2019-03-27 17:25:35serhiy.storchakalinkissue35983 messages
2019-03-27 17:25:35serhiy.storchakacreate