← 输入框|github.com|刷新
Skip to content

Multiprocessing Test Issue - Dangling Threads #6699

Open

Description

@terryluan12

Summary

When running the test_multiprocessing_* suite, there are differences in test output that, while not impeding the tests, are output while running the suite, but are in CPython.

Details

After some tests are run, this warning pops up:
Warning -- Dangling threads: {<DummyProcess(Thread-181 (worker), stopped daemon 201)>, <DummyProcess(Thread-182 (worker), stopped daemon 202)>, <DummyProcess(Thread-183 (worker), stopped daemon 203)>, <Thread(Thread-184 (_handle_workers), stopped daemon 204)>, <Thread(Thread-185 (_handle_tasks), stopped daemon 205)>, <Thread(Thread-186 (_handle_results), stopped daemon 206)>}

These tests include but are not limited to:

  • test.test_multiprocessing_fork.test_processes.WithProcessesTestValue.test_value
  • test.test_multiprocessing_fork.test_processes.WithProcessesTestPool.test_wrapped_exception

Activity

  1. changed the title [-]Multiprocessing Test Issues - Dangling Threads[/-] [+]Multiprocessing Test Issue - Dangling Threads[/+] on Jan 10, 2026
  2. youknowone commented on Feb 11, 2026

    @youknowone
    Member

    This is mainly due to we don't have a full GC support yet. Does #6849 fix this problem?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions