Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
0:08:41 load avg: 0.10 [402/491/1] test_weakref worker non-zero exit code (Exit code 2147483651) -- running (7): test_largefile (2 min 38 sec), test_zipimport (2 min 25 sec), test_compileall (2 min 14 sec), test_dbm (1 min 54 sec), test_free_threading (2 min 32 sec), test_regrtest (1 min 36 sec), test_pathlib (2 min 44 sec)...test.test_weakref.MappingTestCase.test_threaded_weak_key_dict_deepcopy) ... C:\Users\Administrator\buildarea\pull_request.itamaro-win64-srv-22-aws.x64.nogil\build\Python\gc_free_threading.c:1081: validate_refcounts: Assertion "op->ob_tid == 0" failed: merged objects should have ob_tid == 0Enable tracemalloc to get the memory block allocation tracebackobject address : 0000020002444810object refcount : 0object type : 00007FFC8D8A1620object type name: weakref.ReferenceTypeobject repr : <refcnt 0 at 0000020002444810>Fatal Python error: _PyObject_AssertFailed: _PyObject_AssertFailedPython runtime state: initializedStack (most recent call first): File "C:\Users\Administrator\buildarea\pull_request.itamaro-win64-srv-22-aws.x64.nogil\build\Lib\test\test_weakref.py", line 1999 in pop_and_collect File "C:\Users\Administrator\buildarea\pull_request.itamaro-win64-srv-22-aws.x64.nogil\build\Lib\threading.py", line 1016 in run File "C:\Users\Administrator\buildarea\pull_request.itamaro-win64-srv-22-aws.x64.nogil\build\Lib\threading.py", line 1074 in _bootstrap_inner File "C:\Users\Administrator\buildarea\pull_request.itamaro-win64-srv-22-aws.x64.nogil\build\Lib\threading.py", line 1036 in _bootstrapLooks like it happens during agc.collect() call:
cpython/Lib/test/test_weakref.py
Lines 1992 to 1999 in1ffe913
| defpop_and_collect(lst): | |
| gc_ctr=0 | |
| whilelst: | |
| i=random.randint(0,len(lst)-1) | |
| gc_ctr+=1 | |
| lst.pop(i) | |
| ifgc_ctr%10000==0: | |
| gc.collect()# just in case |
https://buildbot.python.org/#/builders/1295/builds/591
The test passed on retry, but this seems like a bug.
Seen in main (3.15) on Windows debug build with free threading
Linked PRs
Metadata
Metadata
Assignees
Labels
Projects
Status
Done