Message301811
In the script attached to the original issue, the weakref callback that causes the hang is the callback defined in ThreadPoolExecutor._adjust_thread_count
Attached is a faulthandler stack captured from Python 3.6.1. The script submitted here uses a patched queue.get() method to force garbage collection to reliably trigger the issue, but this deadlock was observed in a real application using threadpool executors. |
|
Date |
User |
Action |
Args |
2017-09-10 15:47:10 | simon.jagoe | set | recipients:
+ simon.jagoe, bquinlan, mark.dickinson, pitrou, Chris.Farrow, davin, Patrik Dufresne |
2017-09-10 15:47:10 | simon.jagoe | set | messageid: <1505058430.17.0.286877902742.issue21009@psf.upfronthosting.co.za> |
2017-09-10 15:47:10 | simon.jagoe | link | issue21009 messages |
2017-09-10 15:47:10 | simon.jagoe | create | |
|