random crashes when read interrupted by signal & clean up modifies terminal

2013-02-08 Thread Mike Frysinger
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: x86_64-pc-linux-gnu-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' - DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' - DCONF_VENDOR='pc' -DLOCALEDIR='/usr/s

Re: devel branch build failure

2013-02-08 Thread Raphaël Droz
On Fri, Jan 04, 2013 at 07:12:49PM +0100, Raphaël Droz wrote: > With latest git: > When undefining DEBUG (relstatus=misc in configure.ac), the -devel > branch can't build (4.3.0-devel) : > > ./parse.y:2199: undefined reference to `itrace' [...] trivial patch fixes this. diff --git a/parse.y b/pars

Re: random crashes when read interrupted by signal & clean up modifies terminal

2013-02-08 Thread Chet Ramey
> Machine Type: x86_64-pc-linux-gnu > > Bash Version: 4.2 > Patch Level: 42 > Release Status: release > > Description: > > this simple testcase (distilled from [1]): Can you reproduce this using the latest devel branch code? Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer

Re: random crashes when read interrupted by signal & clean up modifies terminal

2013-02-08 Thread Mike Frysinger
On Friday 08 February 2013 10:04:29 Chet Ramey wrote: > > Machine Type: x86_64-pc-linux-gnu > > > > Bash Version: 4.2 > > Patch Level: 42 > > Release Status: release > > > > Description: > > > > this simple testcase (distilled from [1]): > > Can you reproduce this using the latest devel branch co

SIGTERM ignored before exec race

2013-02-08 Thread Pádraig Brady
$ rpm -q kernel glibc bash kernel-2.6.40.4-5.fc15.x86_64 glibc-2.14.1-6.x86_64 bash-4.2.10-4.fc15.x86_64 I notice the following will wait for 5 seconds for the timeout process to end with SIGALRM, rather than immediately due to kill sending the SIGTERM. $ timeout 5 sleep 10& pid=$!; echo $pid >&