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....


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to