[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ls: write error: Broken pipe
From: |
Jim Meyering |
Subject: |
Re: ls: write error: Broken pipe |
Date: |
Fri, 09 Nov 2007 16:14:19 +0100 |
Dan Nicolaescu <address@hidden> wrote:
...
> I created a new account with /bin/tcsh as a shell, deleted all the dot
> files in that new account, logged in on a linux console and run the
> perl command above. It prints IGNORE.
>
> tcsh is: tcsh-6.14-15
> perl is: perl-5.8.8-23.fc7
Finally! So that version of tcsh may be at fault.
> So I have an older version of tcsh than you do.
>
> I looked at the src.rpm for my version of tcsh and it has a patch that
> tinkers with signal handling (not with SIGPIPE, but still...). I'll
> try to install your version of tcsh tonight, and maybe build my
> version without any patches.
>
> > If you could reproduce the problem by starting tcsh manually,
> > I'd suggest debugging (or just using strace) tcsh to see where
> > it's misbehaving.
>
> What should I look for?
In source, look for calls to signal, sigaction, sigprocmask.
On recent Linux, they show up in strace output as calls to
rt_sigaction and rt_sigprocmask.
- Re: ls: write error: Broken pipe, (continued)
- Re: ls: write error: Broken pipe, Dan Nicolaescu, 2007/11/09
- Re: ls: write error: Broken pipe, Bob Proulx, 2007/11/09
- Re: ls: write error: Broken pipe, Dan Nicolaescu, 2007/11/09
- Re: ls: write error: Broken pipe, Jim Meyering, 2007/11/09
- Re: ls: write error: Broken pipe, Dan Nicolaescu, 2007/11/09
- Re: ls: write error: Broken pipe, Jim Meyering, 2007/11/09
- Re: ls: write error: Broken pipe, Dan Nicolaescu, 2007/11/09
- Re: ls: write error: Broken pipe, Jim Meyering, 2007/11/09
- Re: ls: write error: Broken pipe, Jim Meyering, 2007/11/09
- Re: ls: write error: Broken pipe, Dan Nicolaescu, 2007/11/09
- Re: ls: write error: Broken pipe,
Jim Meyering <=
- Re: ls: write error: Broken pipe, Dan Nicolaescu, 2007/11/10
- Re: ls: write error: Broken pipe, Jim Meyering, 2007/11/10
- Re: ls: write error: Broken pipe, Dan Nicolaescu, 2007/11/11
- Re: ls: write error: Broken pipe, Dan Nicolaescu, 2007/11/18
- Re: ls: write error: Broken pipe, Jim Meyering, 2007/11/19
- Re: ls: write error: Broken pipe, Dan Nicolaescu, 2007/11/19
- Re: ls: write error: Broken pipe, Jim Meyering, 2007/11/20
- Re: ls: write error: Broken pipe, Micah Cowan, 2007/11/02
- Re: ls: write error: Broken pipe, Jim Meyering, 2007/11/02