Re: subshell output swallowed (patch)



On Mon, 2 Jan 2006, Egmont Koblinger wrote:

> An "strace -e trace=read,write" of a similar case showed this:
>
> [...]
> read(4, "\33[0mcopy.py\33[0m            \33[0mi"..., 100) = 100
> write(1, "\33[0mcopy.py\33[0m            \33[0mi"..., 100) = 100
> read(4, "m         \33[0m_strptime.py\33[0m  "..., 100) = 62
> write(1, "m         \33[0m_strptime.py\33[0m  "..., 62) = 62
> read(4, "\33[0mcopy_reg.py\33[0m        \33[0mi"..., 100) = 100
> write(1, "\33[0mcopy_reg.py\33[0m        \33[0mi"..., 100) = 53
> --- SIGCHLD (Child exited) @ 0 (0) ---
> read(4, "py\33[0m        \33[0msubprocess.py\33"..., 100) = 100
> write(1, "py\33[0m        \33[0msubprocess.py\33"..., 100) = 100
> read(4, "mghdr.py\33[0m           \33[0mpipes"..., 100) = 100
> write(1, "mghdr.py\33[0m           \33[0mpipes"..., 100) = 100
> [...]

This strace is not convincing - i don't see calls failing with -1.
I'd try to investigate the problem ASAP.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]