----- Original Message ----- From: "Aki Helin" <[email protected]> To: "Paul Eggert" <[email protected]> Cc: <[email protected]> Sent: Saturday, February 11, 2012 2:11 PM Subject: Re: Sporadic superfluous successful exits
> Paul Eggert <[email protected]> wrote: > > > On 02/09/2012 01:35 AM, Aki Helin wrote: > > > A date just got printed without issues even though > > > it was matching with Grep that had been patched to crash if it tries to > > > exit with 0 from the bottom of main(). > > > > Sounds like the bug's outside of 'grep', then. > > Now it's certain. Another tool doing mainly a bit of IO eventually > triggered this on a Phenom II X6. Seems like a race or something similar > in Bash. > I am hunting that sort of issue since more than a year but as this is hard for me to reproduce at will the issue, I haven't done any progress. The issue happening is the contrary : bash exit like if an error happen when log on the command show a success. I have a master bash script that run 220 makefiles and sometime even when the makefile log a success message, bash exit with error as if a failure was reported by make. The issue is present with bash-4.1.5,4.1.7,4.1.9, 4.2.8 to 4.2.20. I tested with make-3.81 and 3.82 for later bash releases. Gilles
