Message346732
| Author |
ryan.petrello |
| Recipients |
ryan.petrello |
| Date |
2019年06月27日.12:39:21 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1561639162.28.0.948669559671.issue37429@roundup.psfhosted.org> |
| In-reply-to |
| Content |
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 |
|
History
|
|---|
| 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 |
|