bug-coreutils
[Top][All Lists]
Advanced

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

Re: ls: write error: Broken pipe


From: Bob Proulx
Subject: Re: ls: write error: Broken pipe
Date: Thu, 8 Nov 2007 23:11:29 -0700
User-agent: Mutt/1.5.13 (2006-08-11)

Dan Nicolaescu wrote:
> Paul Eggert writes:
>   > bash -c '(while echo foo; do :; done); echo status=$? >&2' | head
>   > 
>   > If it eventually outputs "write error: Broken pipe", you have SIGPIPE
>   > trapped, and that would explain your problem (which you need to track
>   > down).  If it prints "status=141" you do not have SIGPIPE trapped and
>   > we need to investigate the issue further.
> 
> The output is "write error: Broken pipe".

Then that is a pretty strong indication that your session is trapping
SIGPIPE.  You will have to debug that to root cause.  Something,
somewhere in the start path for you is trapping that and it will cause
endless problems until it is found and fixed.

> If I execute the same thing in a Linux console it never stops.

Do you mean that on the console that you do not get that error and
everything seems to be working properly?  That is what we would expect
and should be the normal behavior in your other terminals too, but
apparently is not.

Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]