Message346732
It's possible to cause Python child processes to encountered a deadlock and hang on fork by:
1) Spawning one or more threads in a parent process
2) Have one of those threads emit log lines
3) Have the main thread use os.fork()
4) In the child, log immediately
The attached Python script can be used to reproduce this issue in Python 2.7.15 and Python 3.6.5 |
|
Date |
User |
Action |
Args |
2019-06-27 12:39:22 | ryan.petrello | set | recipients:
+ ryan.petrello |
2019-06-27 12:39:22 | ryan.petrello | set | messageid: <1561639162.28.0.948669559671.issue37429@roundup.psfhosted.org> |
2019-06-27 12:39:22 | ryan.petrello | link | issue37429 messages |
2019-06-27 12:39:21 | ryan.petrello | create | |
|