New submission from Andrew de Quincey <a...@tvsquared.com>:

We've been having some mysterious hangs in our threaded code. Debugging with 
GDB shows it ends up deadlocking during logging inside logging._acquireLock()

I googled and found someone else with the same issue: 
https://stackoverflow.com/questions/62059975/python-multiprocessing-logging-hangs

I'm able to replicate this on python 3.7.9 on two entirely separate machines 
(one ubuntu, one arch linux), though I had to bump up the number of iterations 
to 1000.

----------
components: Library (Lib)
files: test.py
messages: 379132
nosy: Adq
priority: normal
severity: normal
status: open
title: Python 3.7.9 logging/threading/fork hang
type: behavior
versions: Python 3.7
Added file: https://bugs.python.org/file49531/test.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42097>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to