Re: ERR trap reset in subshell by unrelated trap

2016-02-19 Thread Chet Ramey
On 2/18/16 4:12 PM, Jan Klötzke wrote: > This bug is still present in the latest version: > > $ ./bash --version > GNU bash, version 4.4.0(4)-beta (i686-pc-linux-gnu) > > Fix: > > The culprit seems to be free_trap_strings(). This function is invoked in > a subshell to cleanup allocated strings.

ERR trap reset in subshell by unrelated trap

2016-02-18 Thread Jan Klötzke
Configuration Information [Automatically generated, do not change]: Machine: i586 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i586' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i586-pc-linux-gnu' -DCONF_ uname output: Linux debian 4.1.0 #1 SMP Sat Jul 11 10:34