This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author simon.jagoe
Recipients Chris.Farrow, Patrik Dufresne, bquinlan, davin, mark.dickinson, pitrou, simon.jagoe
Date 2017-09-10.15:47:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1505058430.17.0.286877902742.issue21009@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-09-10 15:47:10simon.jagoesetrecipients: + simon.jagoe, bquinlan, mark.dickinson, pitrou, Chris.Farrow, davin, Patrik Dufresne
2017-09-10 15:47:10simon.jagoesetmessageid: <1505058430.17.0.286877902742.issue21009@psf.upfronthosting.co.za>
2017-09-10 15:47:10simon.jagoelinkissue21009 messages
2017-09-10 15:47:10simon.jagoecreate