[issue33930] Segfault with deep recursion into object().__dir__
Łukasz Langa
report at bugs.python.org
Wed Aug 11 12:37:50 EDT 2021
Łukasz Langa <lukasz at langa.pl> added the comment:
I gotta run for the day. The shortest way for me to reproduce is to focus on the tests that were added in 3.10 and shortening the repetitions a little:
$ time ./python.exe -E -Wd -m test test_exceptions -R3:3 -m 'test_attribute*' -m 'test_getattr*' -m 'test_lineno*' -m 'test_name_error*' -m 'test_recursion*' -m 'test_no_hang*'
0:00:00 load avg: 5.92 Run tests sequentially
0:00:00 load avg: 5.92 [1/1] test_exceptions
beginning 6 repetitions
123456
......
test_exceptions leaked [2, 2, 2] references, sum=6
test_exceptions leaked [2, 2, 2] memory blocks, sum=6
test_exceptions failed (reference leak)
== Tests result: FAILURE ==
1 test failed:
test_exceptions
1 re-run test:
test_exceptions
Total duration: 11.8 sec
Tests result: FAILURE
12.13 real 11.44 user 0.61 sys
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33930>
_______________________________________
More information about the Python-bugs-list
mailing list