[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ls: write error: Broken pipe
From: |
Dan Nicolaescu |
Subject: |
Re: ls: write error: Broken pipe |
Date: |
Fri, 09 Nov 2007 21:55:04 -0800 |
Jim Meyering <address@hidden> writes:
> 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.
I built tcsh-6.15 using the F8 rpm, and the problem still occurs with
that one.
When you tested this, did you try from an account that uses tcsh as
the shell? Because if I start tcsh from bash things work...
> > 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.
strace did not show anything about SIGPIPE.
Thanks for your help!
- Re: ls: write error: Broken pipe, (continued)
- 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, 2007/11/09
- Re: ls: write error: Broken pipe,
Dan Nicolaescu <=
- 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