Message253148
I think there is no need to run the test in a subprocess. You can trigger the crash by "del obj".
from collections import OrderedDict
obj = None
for _ in range(1000):
obj = OrderedDict([(None, obj)])
del obj
support.gc_collect()
Unfortunately this test is crashed with the patch.
Fatal Python error: Objects/odictobject.c:1443 object at 0xb749ddfc has negative ref count -1
Current thread 0xb7580700 (most recent call first):
File "<stdin>", line 1 in <module>
Aborted (core dumped) |
|
Date |
User |
Action |
Args |
2015-10-18 08:04:27 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, vstinner, eric.snow, martin.panter, nagisa |
2015-10-18 08:04:27 | serhiy.storchaka | set | messageid: <1445155467.88.0.753761224374.issue25395@psf.upfronthosting.co.za> |
2015-10-18 08:04:27 | serhiy.storchaka | link | issue25395 messages |
2015-10-18 08:04:27 | serhiy.storchaka | create | |
|