GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — multiprocessing test_processes: test_thread_safety() fails with: Assertion failed: gc_list_is_empty(to) || gc_old_space(to_tail) == gc_old_space(from_tail) · Issue #117252 · python/cpython

multiprocessing test_processes: test_thread_safety() fails with: Assertion failed: gc_list_is_empty(to) || gc_old_space(to_tail) == gc_old_space(from_tail) #117252

New issue
Copy link
New issue
Copy link
Closed
Closed
multiprocessing test_processes: test_thread_safety() fails with: Assertion failed: gc_list_is_empty(to) || gc_old_space(to_tail) == gc_old_space(from_tail)#117252
Copy link
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtopic-multiprocessing

Description

@vstinner
vstinner
opened on Mar 26, 2024
Issue body actions

Example on Windows: https://buildbot.python.org/all/#/builders/146/builds/8146

test_thread_safety (test.test_multiprocessing_spawn.test_processes.WithProcessesTestFinalize.test_thread_safety) ... 
Assertion failed: gc_list_is_empty(to) || gc_old_space(to_tail) == gc_old_space(from_tail), file d:\buildarea\3.x.bolen-windows10\build\python\gc.c, line 322
Fatal Python error: Aborted

Current thread 0x00002a64 (most recent call first):
  Garbage-collecting
  File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\_test_multiprocessing.py", line 4631 in __init__
  File "__init__", line ??? in __init__
  File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\_test_multiprocessing.py", line 4657 in make_finalizers
  File "D:\buildarea\3.x.bolen-windows10\build\Lib\threading.py", line 990 in run
  File "D:\buildarea\3.x.bolen-windows10\build\Lib\threading.py", line 1039 in _bootstrap_inner
  File "D:\buildarea\3.x.bolen-windows10\build\Lib\threading.py", line 1010 in _bootstrap

It may be related to the change: #117120

See: #117120 (comment)

The change PR gh-117213 should fix this issue.

Activity

  1. vstinner
    added
    testsTests in the Lib/test dirTests in the Lib/test dir
    topic-multiprocessing
    on Mar 26, 2024
  2. vstinner
    changed the title [-]multiprocessing test_processes() fails with: Assertion failed: gc_list_is_empty(to) || gc_old_space(to_tail) == gc_old_space(from_tail)[/-] [+]multiprocessing test_processes: test_thread_safety() fails with: Assertion failed: gc_list_is_empty(to) || gc_old_space(to_tail) == gc_old_space(from_tail)[/+] on Mar 26, 2024
  3. vstinner commented on Mar 26, 2024

    @vstinner
    vstinner
    on Mar 26, 2024
    MemberAuthor
    More actions

    Should be fixed by the change 8bef34f

  4. vstinner
    closed this as completedon Mar 26, 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

    testsTests in the Lib/test dirTests in the Lib/test dirtopic-multiprocessing

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.