Skip to content

[Free Threading] Python/gc_free_threading.c:1121: validate_gc_objects: Assertion "gc_is_unreachable(op)" failed on RISC-V 64-bit Ubuntu NoGIL 3.15 #163071

Backlog

Description

@vstinner

Bug report

RISC-V 64-bit Ubuntu NoGIL 3.15: https://buildbot.python.org/#/builders/2249/builds/323

Error: Python/gc_free_threading.c:1121: validate_gc_objects: Assertion "gc_is_unreachable(op)" failed

Logs:

0:38:25 load avg: 3.61 [268/560/1] test.test_concurrent_futures.test_interpreter_pool worker non-zero exit code (Exit code -6 (SIGABRT)) -- running (2): test_site (10 min 21 sec), test.test_multiprocessing_spawn.test_misc (3 min 13 sec)
test_default_executor (test.test_concurrent_futures.test_interpreter_pool.AsyncioTest.test_default_executor) ... ok
test_run_in_executor (test.test_concurrent_futures.test_interpreter_pool.AsyncioTest.test_run_in_executor) ... ok
test_run_in_executor_cancel (test.test_concurrent_futures.test_interpreter_pool.AsyncioTest.test_run_in_executor_cancel) ... ok
test_blocking (test.test_concurrent_futures.test_interpreter_pool.InterpreterPoolExecutorTest.test_blocking) ... ok
test_blocking_with_limited_workers (test.test_concurrent_futures.test_interpreter_pool.InterpreterPoolExecutorTest.test_blocking_with_limited_workers) ...

Python/gc_free_threading.c:1121: validate_gc_objects: Assertion "gc_is_unreachable(op)" failed
Enable tracemalloc to get the memory block allocation traceback

object address  : 0x3fc8020090
object refcount : 1
object type     : 0x2ae44339b0
object type name: dict
object repr     : {'__subclasses__': '__subclasses__', '__basicsize__': '__basicsize__', (...), 'resobj': 'resobj'}

Fatal Python error: _PyObject_AssertFailed: _PyObject_AssertFailed
Python runtime state: initialized

Stack (most recent call first):

CPython versions tested on:

3.15

Operating systems tested on:

Linux

Activity

  1. added
    type-bug
    on Dec 3, 2026
  2. added
    interpreter-core
    on Dec 3, 2026
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

    OS-risc-vinterpreter-coretopic-free-threadingtype-bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions