Re: problems with traps

2015-08-13 Thread Chet Ramey
On 8/12/15 9:55 PM, isabella parakiss wrote: > This segfaults when it receives a SIGUSR1: > > #!/bin/bash > trap ': $(:) < <(:)' USR1 > while :; do sleep 1; done Thanks for the report. The problem is the process substitution in the trap. I will fix it for the next version of bash. Chet -- ``

problems with traps

2015-08-12 Thread isabella parakiss
This segfaults when it receives a SIGUSR1: #!/bin/bash trap ': $(:) < <(:)' USR1 while :; do sleep 1; done I also received a bunch of scary errors like these: *** Error in `/bin/bash': munmap_chunk(): invalid pointer: 0x02680f80 *** *** Error in `/bin/bash': corrupted double-linked list: