logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: arch (tla) hanging on get-patch: msg#01779

Subject: Re: arch (tla) hanging on get-patch
On Jul 29 2003, Jan wrote:
> There are no timestamps on the strace output, but tar (process 28854)
> reads 860 bytes from stdin, writes them into the pipe that connects it
> to gzip -d (process 28855) and starts waiting until gzip dies. gzip
> reads 860 bytes, probably buffers it, and blocks trying to read more
> from it's input pipe until it is interrupted.
> 
> I don't really know what or where the bug is. Maybe tar should close
> it's output when it is done writing? But it wrote to stdout and
> processes normally don't close that.
> 
> Perhaps gzip should accept the short read for what it is and dump the
> current decompressed buffer and return, but although short reads are not
> normal, they should be expected.
> 
> It seems to me that something is wrong with tar, and updating that is
> probably a good first step.

Thanks Jan, I will see if I can do that then.

Stig
-- 
brautaset.org


<Prev in Thread] Current Thread [Next in Thread>