Message362822
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. |
|
Date |
User |
Action |
Args |
2020-02-27 17:28:36 | Elad Lahav | set | recipients:
+ Elad Lahav, gvanrossum, pitrou, vstinner, eric.araujo, dstufft, p-ganssle |
2020-02-27 17:28:35 | Elad Lahav | set | messageid: <1582824515.97.0.895378910028.issue39763@roundup.psfhosted.org> |
2020-02-27 17:28:35 | Elad Lahav | link | issue39763 messages |
2020-02-27 17:28:35 | Elad Lahav | create | |
|