See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849517
I can reproduce this also in bash 4.3 as supplied with Ubuntu 16.04, and in a build of 4.4 from source on my Ubuntu system. As stated in the bug report, the bug causes problems beyond bash, as it causes build systems to think that valgrind is not working, and hence run tests without it. I searched the bug-bash archives and couldn't find a previous report of this particular problem (I found mentions of other valgrind diagnostics). -- http://rrt.sc3d.org