Skip to content

test_basic_multiple_interpreters_reset_each: _PyRefchain_Remove: Assertion `value == REFCHAIN_VALUE' failed#121110

@furkanonder

Description

@furkanonder

Crash report

What happened?

Configuration

./configure --with-trace-refs --with-pydebug

Test:

./python -m test -v -m test_basic_multiple_interpreters_reset_each test_import

Output:

== CPython 3.14.0a0 (heads/main:1a2e7a7475, Jun 28 2024, 02:37:08) [GCC 14.1.1 20240522] == Linux-6.9.6-arch1-1-x86_64-with-glibc2.39 little-endian == Python build: debug TraceRefs == cwd: /home/arf/cpython/build/test_python_worker_246671æ == CPU count: 16 == encodings: locale=UTF-8 FS=utf-8 == resources: all test resources are disabled, use -u option to unskip tests Using random seed: 4201083195 0:00:00 load avg: 2.50 Run 1 test sequentially in a single process 0:00:00 load avg: 2.50 [1/1] test_import test_basic_multiple_interpreters_reset_each (test.test_import.SinglephaseInitTests.test_basic_multiple_interpreters_reset_each) ... python: Objects/object.c:195: _PyRefchain_Remove: Assertion `value == REFCHAIN_VALUE' failed.Fatal Python error: AbortedCurrent thread 0x00007cde0f816740 (most recent call first): File "<string>", line 54 in <module>Extension modules: _testinternalcapi, _testmultiphase, _testcapi (total: 3)[1] 246671 IOT instruction (core dumped) ./python -m test -v -m test_basic_multiple_interpreters_reset_each test_impor

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Output from running 'python -VV' on the command line:

Python 3.14.0a0 (heads/main:1a2e7a7475, Jun 28 2024, 02:37:08) [GCC 14.1.1 20240522]

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13bugs and security fixes3.14bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)topic-subinterpreterstype-crashA hard crash of the interpreter, possibly with a core dump

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions