Closed
Description
Bug report
Error whlie testing the main branch. May be similar to:
The problem
When running ./python -m test
:
0:18:59 load avg: 0.72 [187/433] test_imp
Modules/gcmodule.c:113: gc_decref: Assertion "gc_get_refs(g) > 0" failed: refcount is too small
Enable tracemalloc to get the memory block allocation traceback
Your environment
- CPython versions tested on: "main" branch from git repo.
- Operating system and architecture: Void LInux, x86_64, gcc 10.2.1.
Message log
0:18:59 load avg: 0.72 [187/433] test_imp
Modules/gcmodule.c:113: gc_decref: Assertion "gc_get_refs(g) > 0" failed: refcount is too small
Enable tracemalloc to get the memory block allocation traceback
object address : 0x7f3dcdf877d0
object refcount : 96
object type : 0x5573e22fc880
object type name: module
object repr : <module 'builtins' (built-in)>
Fatal Python error: _PyObject_AssertFailed: _PyObject_AssertFailed
Python runtime state: initialized
Current thread 0x00007f3dce3c32c0 (most recent call first):
Garbage-collecting
File "/usr/local/src/cpython/Lib/test/support/__init__.py", line 738 in gc_collect
File "/usr/local/src/cpython/Lib/test/libregrtest/save_env.py", line 314 in __exit__
File "/usr/local/src/cpython/Lib/test/libregrtest/runtest.py", line 312 in _runtest_inner2
File "/usr/local/src/cpython/Lib/test/libregrtest/runtest.py", line 360 in _runtest_inner
File "/usr/local/src/cpython/Lib/test/libregrtest/runtest.py", line 235 in _runtest
File "/usr/local/src/cpython/Lib/test/libregrtest/runtest.py", line 265 in runtest
File "/usr/local/src/cpython/Lib/test/libregrtest/main.py", line 455 in run_tests_sequential
File "/usr/local/src/cpython/Lib/test/libregrtest/main.py", line 572 in run_tests
File "/usr/local/src/cpython/Lib/test/libregrtest/main.py", line 750 in _main
File "/usr/local/src/cpython/Lib/test/libregrtest/main.py", line 709 in main
File "/usr/local/src/cpython/Lib/test/libregrtest/main.py", line 773 in main
File "/usr/local/src/cpython/Lib/test/__main__.py", line 2 in <module>
File "/usr/local/src/cpython/Lib/runpy.py", line 88 in _run_code
File "/usr/local/src/cpython/Lib/runpy.py", line 198 in _run_module_as_main
Extension modules: _testcapi, _xxsubinterpreters, _testinternalcapi, _testbuffer, _testmultiphase, _ctypes_test, xxsubtype (total: 7)
Activity