Closed
Description
Bug report
Bug description:
We have:
0:04:15 load avg: 7.63 [20/23/2] test_free_threading worker non-zero exit code (Exit code -6 (SIGABRT)) -- running (2): test_socket (1 min 38 sec), test_threading (38.8 sec)
python: Objects/obmalloc.c:1219: void process_queue(struct llist_node *, struct _qsbr_thread_state *, _Bool, delayed_dealloc_cb, void *): Assertion `buf->rd_idx == buf->wr_idx' failed.
Fatal Python error: Aborted
<Cannot show all threads while the GIL is disabled>
Stack (most recent call first):
File "/home/runner/work/cpython/cpython/Lib/test/test_free_threading/test_dict.py", line 184 in writer_func
File "/home/runner/work/cpython/cpython/Lib/threading.py", line 996 in run
File "/home/runner/work/cpython/cpython/Lib/threading.py", line 1054 in _bootstrap_inner
File "/home/runner/work/cpython/cpython/Lib/threading.py", line 1016 in _bootstrap
Extension modules: _testinternalcapi, _testcapi (total: 2)
I'm not sure if it's a real bug or not. Victor suggested me to open an issue for this one. Maybe there's already one that exists though.
See https://github.com/python/cpython/actions/runs/13225352402/job/36915529351?pr=129175#step:12:44 for the log (hopefully it will stay).
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response