Re: Bash crashes with trapped SIGCHLD and read -t.

2013-01-25 Thread Chet Ramey
On 1/24/13 12:10 PM, konsolebox wrote: > This doesn't help a lot. How about building bash-4.2.42 with -g so > debugging symbols are preserved, then seeing where the crash is? > > > I compiled 4.2.42 using gcc 4.6.3 (C[XX]FLAGS="-march=native -O2 -g"). It > took longer before the crash oc

Re: Bash crashes with trapped SIGCHLD and read -t.

2013-01-25 Thread konsolebox
I really appreciate that. Thank you very much :) My software would finally work in a loop with no worries. OK, I was able to figure it out. The problem is that the `read -t' > generates SIGALRM, which sometimes arrives and is handled while the SIGCHLD > trap is running (bash-4.2 runs the SIGCHLD