Strange behaviour on 'read' from a pipe

2012-03-31 Thread Lluís Batlle i Rossell
Hello, I have this script, that I've found to never write "DONE" in my systems, with bash 4.0, 4.1, 4.2.. until 4.2-p20, my last test. However, in irc some people told me it prints DONE for them. If I run the script with bash under 'strace -f', it also prints DONE. So there is some kind of race

Re: Bash segmentation fault on startup/ssh

2012-03-31 Thread Chet Ramey
On 3/30/12 3:42 PM, Nitz wrote: > Machine Type: i386-redhat-linux-gnu > > Bash Version: 4.1 > Patch Level: 2 > Release Status: release > > Description: > > I am getting a segmentation fault from bash when I try to SSH to a > remote server (running RHEL 4.4.5-6). After providing my credentials,

Re: Bash segmentation fault on startup/ssh

2012-03-31 Thread Nick Gnazzo
Hi Chet, I was able to solve the problem; I had accidentally set my bashrc file to source itself upon startup, which caused the segmentation fault. Changing the file fixed the problem as far as I can tell. Thanks for following up. Thanks, Nick On Mar 31, 2012, at 8:51 PM, Chet Ramey wrote: >

Re: Strange behaviour on 'read' from a pipe

2012-03-31 Thread Chet Ramey
On 3/31/12 9:19 AM, Lluís Batlle i Rossell wrote: > Hello, > > I have this script, that I've found to never write "DONE" in my systems, with > bash 4.0, 4.1, 4.2.. until 4.2-p20, my last test. > > However, in irc some people told me it prints DONE for them. If I run the > script with > bash unde