|
From: David E. <tw...@us...> - 2005-01-18 18:02:31
|
On Tue, 2005-01-18 at 17:48 +0100, Andreas Andersen wrote:
> Hi
>
> I have been using valgrind to debug a program I have written in C++ and
> it has been very helpful in eliminating memory errors/leaks. However, I
> just recently discovered a bug and from what I can see it looks like
> some kind of memory problem. However, when I run it through valgrind no
> errors are reported and the bug seems to be gone! I print some status
> from the program and at some point this becomes wrong but when the
> program is run through valgrind the status printed is right!
>
> How can valgrind change the output of my program and does this behaviour
> give any clues as to what kind of bug I am looking for?
Stack corruption.
--
Regards,
-\- David Eriksson -/-
SynCE - http://synce.sourceforge.net
ScummVM - http://scummvm.sourceforge.net
Desquirr - http://desquirr.sourceforge.net
|