Skip to content

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

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: Aborted

Current 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

Activity

  1. added
    testsTests in the Lib/test dir
    type-crashA hard crash of the interpreter, possibly with a core dump
    on Jun 27, 2024
  2. furkanonder commented on Jun 28, 2024

    @furkanonder
    ContributorAuthor
  3. ericsnowcurrently commented on Jul 1, 2024

    @ericsnowcurrently
    Member

    FYI, I plan on taking care of this, but probably won't be available to do so until the end of the week at the soonest. In the meantime I'm disabling the test.

  4. added
    3.13only security fixes
    3.14bugs and security fixes
    interpreter-core(Objects, Python, Grammar, and Parser dirs)
    and removed
    testsTests in the Lib/test dir
    on Jul 1, 2024
  5. added a commit that references this issue on Jul 1, 2024
  6. added a commit that references this issue on Jul 1, 2024
  7. added a commit that references this issue on Jul 1, 2024
  8. added a commit that references this issue on Jul 3, 2024
  9. added a commit that references this issue on Jul 8, 2024
  10. added a commit that references this issue on Jul 8, 2024
  11. added a commit that references this issue on Jul 8, 2024
  12. added 2 commits that reference this issue on Jul 11, 2024
  13. added 2 commits that reference this issue on Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13only 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

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions