Re: Segfault when SIGPIPE and SIGINT used together

2017-10-07 Thread Chet Ramey
On 10/6/17 6:58 PM, ANDERSON, CRAIG wrote: > Repeat-By: > Running the following script: > > #!/bin/bash > > exec >& >(while read line; do echo "$line"; done) > > trap 'echo sigpipe' SIGPIPE > trap 'echo sigint' SIGINT > > echo 'Sleeping 60 seconds, press Ctrl+C to segfault!' > sleep 60

Segfault when SIGPIPE and SIGINT used together

2017-10-06 Thread ANDERSON, CRAIG
From: craig.ander...@att.com<mailto:craig.ander...@att.com> To: bug-bash@gnu.org<mailto:bug-bash@gnu.org> Subject: Segfault when SIGPIPE and SIGINT used together Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compil