Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gc_decref: Assertion "gc_get_refs(g) > 0" failed #99578

Closed
Labels
type-bugAn unexpected behavior, bug, or error
@LeamHall

Description

@LeamHall

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_impModules/gcmodule.c:113: gc_decref: Assertion "gc_get_refs(g) > 0" failed: refcount is too smallEnable 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_impModules/gcmodule.c:113: gc_decref: Assertion "gc_get_refs(g) > 0" failed: refcount is too smallEnable tracemalloc to get the memory block allocation tracebackobject address  : 0x7f3dcdf877d0object refcount : 96object type     : 0x5573e22fc880object type name: moduleobject repr     : <module 'builtins' (built-in)>Fatal Python error: _PyObject_AssertFailed: _PyObject_AssertFailedPython runtime state: initializedCurrent 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_mainExtension modules: _testcapi, _xxsubinterpreters, _testinternalcapi, _testbuffer, _testmultiphase, _ctypes_test, xxsubtype (total: 7)

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp