From: pnewm
To: bug-bash@gnu.org
Subject: Latest fix for DEBUG makes pipes not work when trap is used
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash'
-DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib
-D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe
-fstack-protector --param=ssp-buffer-size=4
-DDEFAULT_PATH_VALUE='/usr/local/sbin:/usr/local/bin:/usr/bin'
-DSTANDARD_UTILS_PATH='/usr/bin' -DSYS_BASHRC='/etc/bash.bashrc'
-DSYS_BASH_LOGOUT='/etc/bash.bash_logout'
uname output: Linux lappy 3.13.5-1-ARCH #1 SMP PREEMPT Sun Feb 23
00:10:07 CET 2014 i686 GNU/Linux
Machine Type: i686-pc-linux-gnu
Bash Version: 4.3
Patch Level: 0
Release Status: release
Description:
Pipes stop working in this version when DEBUG is used with trap in
an interactive shell
Repeat-By:
pgas | # bash -c 'trap : DEBUG;echo foo | grep -v foo';echo OK
shbot | pgas: OK
pgas | # bash -ci 'trap : DEBUG;echo foo | grep -v foo';echo OK
shbot | pgas: no output within the time limit
pgas | this is not ok
pgas | # bash -c 'echo $BASH_VERSION'
shbot | pgas: 4.3.0(3)-release