This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Intermittent/non-reproducible gcc testsuite failures
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: Michael Eager <eager at eagercon dot com>
- Cc: GCC <gcc at gcc dot gnu dot org>
- Date: Wed, 08 Apr 2009 12:22:25 +0100
- Subject: Re: Intermittent/non-reproducible gcc testsuite failures
- References: <49DC480B.1040503@eagercon.com>
Michael Eager wrote:
> Does anyone have any suggestions on how to get one of
> these tests to fail consistently, or a different approach
> to finding the cause of the intermittent failures?
Perhaps hack the testsuite to run the tests under gdb, setting a breakpoint
on abort() that causes it to dump core? Then at least you'd be able to get a
backtrace and see some state post-mortem.
Of course, being a Heisenbug, it'll probably stop appearing when run under a
debugger!
cheers,
DaveK