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/share/locale' -DPACKAGE='bash' -DSHELL - DHAVE_CONFIG_H -I. -I./include -I. -I./include -I./lib -DCPPFLAGS_TEST - DDEFAULT_PATH_VALUE='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' -DSTANDARD_UTILS_PATH='/bin:/usr/bin:/sbin:/usr/sbin' - DSYS_BASHRC='/etc/bash/bashrc' -DSYS_BASH_LOGOUT='/etc/bash/bash_logout' - DNON_INTERACTIVE_LOGIN_SHELLS -DSSH_SOURCE_BASHRC -O2 -march=amdfam10 -pipe -g -Wimplicit-function-declaration uname output: Linux vapier 3.7.1 #1 SMP PREEMPT Mon Dec 17 23:01:27 EST 2012 x86_64 AMD Phenom(tm) II X4 980 Processor AuthenticAMD GNU/Linux Machine Type: x86_64-pc-linux-gnu
Bash Version: 4.2
Patch Level: 42
Release Status: release
Description:
this simple testcase (distilled from [1]):
$ cat test.sh
#!/bin/bash
cleanup() {
tput rmcup
exit 0
}
trap cleanup SIGINT
while ! read -t0.01 -n1; do : ; done
run it in a loop like so:
$ while ./test.sh ; do :; done
then hold down ctrl+c. eventually it'll crash.
[1] https://455990.bugs.gentoo.org/attachment.cgi?id=338214
-mike
signature.asc
Description: This is a digitally signed message part.
