Skip to content

test_interpreters fails when running with -R 3:3 argument #116099

Closed
@Eclips4

Description

@Eclips4

Bug report

Bug description:

./python.exe -m test -R 3:3 test_interpreters
Using random seed: 922541786
0:00:00 load avg: 2.79 Run 1 test sequentially
0:00:00 load avg: 2.79 [1/1] test_interpreters
beginning 6 repetitions. Showing number of leaks (. for 0 or less, X for 10 or more)
123:456
XX. .../Include/object.h:1030: _Py_NegativeRefcount: Assertion failed: object has negative ref count
<object at 0x104847bc0 is freed>
Fatal Python error: _PyObject_AssertFailed: _PyObject_AssertFailed
Python runtime state: initialized

Current thread 0x00000001e11dd000 (most recent call first):
  <no Python frame>

Extension modules: _xxsubinterpreters, _xxinterpqueues (total: 2)
zsh: abort      ./python.exe -m test -R 3:3 test_interpreters

CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS

Linked PRs

Metadata

Metadata

Assignees

Labels

3.13bugs and security fixestestsTests in the Lib/test dirtopic-subinterpreterstype-bugAn unexpected behavior, bug, or error

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions