Author Elad Lahav
Recipients Elad Lahav, dstufft, eric.araujo, gvanrossum, p-ganssle, pitrou, vstinner
Date 2020-02-27.17:28:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1582824515.97.0.895378910028.issue39763@roundup.psfhosted.org>
In-reply-to
Content
OK, but that's not the problem I see. The parent calls fork(), creates a child that then runs the atfork() handlers *before* returning from the os.fork() call (which is the expected behaviour). At least one of those atfork() handlers is the one registered by the logging module (Lib/logging/__init__.py) and that one attempts to acquire a lock. So in my case the child never gets to the point of calling exec(), which is why I didn't notice the bug in the script.
History
Date User Action Args
2020-02-27 17:28:36Elad Lahavsetrecipients: + Elad Lahav, gvanrossum, pitrou, vstinner, eric.araujo, dstufft, p-ganssle
2020-02-27 17:28:35Elad Lahavsetmessageid: <1582824515.97.0.895378910028.issue39763@roundup.psfhosted.org>
2020-02-27 17:28:35Elad Lahavlinkissue39763 messages
2020-02-27 17:28:35Elad Lahavcreate