Message170193
| Author |
neologix |
| Recipients |
Denis.Bilenko, neologix, vitaly |
| Date |
2012年09月10日.14:53:06 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1347288786.8.0.891403529442.issue15896@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Looks like - another - OS-X bug.
What happens if you reduce the size argument when reading from the error pipe? Try setting it to a value like 512 (minimum guaranteed PIPE_BUF):
"""
newData = os.read(errpipe_read, min(512, rSize))
"""
You could also try to put a short sleep before exiting the child process (after pickling the exception) to see what happens if the reader reads before the pipe is closed by the other end (that would be a huge bug, but hey, who knows...). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年09月10日 14:53:06 | neologix | set | recipients:
+ neologix, vitaly, Denis.Bilenko |
| 2012年09月10日 14:53:06 | neologix | set | messageid: <1347288786.8.0.891403529442.issue15896@psf.upfronthosting.co.za> |
| 2012年09月10日 14:53:06 | neologix | link | issue15896 messages |
| 2012年09月10日 14:53:06 | neologix | create |
|