[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fatal bug with redirection
From: |
Yang |
Subject: |
Fatal bug with redirection |
Date: |
Wed, 4 Oct 2006 15:38:12 -0400 |
On my FC5 box, when I try certain things in bash 3.1.7(1)-release
involving redirection, such as the following, bash crashes
(immediately exits):
{ echo a >&3 ; } 3> >( echo b )
I've only tried this from an interactive shell. Unfortunately I don't
have bashbug or bashversion, as I'm using the FC5 RPM version, but
here is some info:
$ uname -a
Linux harvard.csail.mit.edu 2.6.17-1.2174_FC5smp #1 SMP Tue Aug 8
16:00:39 EDT 2006 i686 i686 i386 GNU/Linux
Some other info from IRC, suggesting this may be a memory corruption
issue or some other nondeterministic bug:
<zeeeee> whoa! does this crash your bash? { echo a >&3 ; } 3> >( echo b )
<zeeeee> i'm using GNU bash, version 3.1.7(1)-release (i386-redhat-linux-gnu)
<greycat> zeeeee: on HP-UX, that prints "b" and then hangs.
<zeeeee> greycat: yikes...that's a bad bug
<greycat> On Debian, it prints the next shell prompt, then it prints "b".
<greycat> That's why I had a "sleep 1" in my earlier attempts....
- Fatal bug with redirection,
Yang <=