Re: SIGINT handling

2015-09-23 Thread Chet Ramey
On 9/19/15 5:31 PM, Stephane Chazelas wrote: > In case it was caused by some Debian patch, I recompiled the > code of 4.3.42 from gnu.org and the one from the devel branch on > the git repository (commit bash-20150911 snapshot) and still: > > $ ./bash -c 'sh -c "trap exit INT; sleep 10; :"; echo

Re: SIGINT handling

2015-09-23 Thread Chet Ramey
On 9/20/15 11:52 AM, Stephane Chazelas wrote: > When the above code exits without printing "hi", we see this > call stack for instance (breakpoint on kill() in gdb): > > #0 kill () at ../sysdeps/unix/syscall-template.S:81 > #1 0x0045dd8e in termsig_handler (sig=) at sig.c:588 > #2 0x00

Re: SIGINT handling

2015-09-23 Thread Stephane Chazelas
2015-09-23 21:27:00 -0400, Chet Ramey: > On 9/19/15 5:31 PM, Stephane Chazelas wrote: > > > In case it was caused by some Debian patch, I recompiled the > > code of 4.3.42 from gnu.org and the one from the devel branch on > > the git repository (commit bash-20150911 snapshot) and still: > > > > $

Re: SIGINT handling

2015-09-23 Thread Stephane Chazelas
2015-09-24 07:01:23 +0100, Stephane Chazelas: > 2015-09-23 21:27:00 -0400, Chet Ramey: > > On 9/19/15 5:31 PM, Stephane Chazelas wrote: > > > > > In case it was caused by some Debian patch, I recompiled the > > > code of 4.3.42 from gnu.org and the one from the devel branch on > > > the git reposi