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
Description
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
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, 2024vstinner commented on Mar 26, 2024
Should be fixed by the change 8bef34f
Metadata
Metadata
Development
No branches or pull requestsIssue actions