Mail Archives: djgpp/2000/01/13/14:33:46
On 13 Jan 00, at 19:46, jazir wrote:
>
>
> Eli Zaretskii wrote:
> >
> > On Wed, 12 Jan 2000, jazir wrote:
> >
> > > i'm willing to accept that my code is buggy, so i'll do
> > > my best at finding it. however, it was v2.02 that i upgraded
> > > from.
> >
> > Then it is a little bit less evident, but I cannot really tell without
> > seeing the full crash message. Can you post it?
>
> Yep I can do that. Firstly I'd like to say that YAMD is a great program,
> as it helped me find memory leaks...but there were no msg'es about accessing
> memory not belonging to my program. Once I had the leaks sorted, the only
> output was for successful allocation and deallocation of blocks.
>
> In fact, when I compiled my program with YAMD, everything worked as expected.
> There was no crash..that could just mean that my bug goes back to doing no
> damage, as in djgpp v2.02, but YAMD should still detect it... i'm puzzled.
>
> Here is the symify'ed output for two different runs {compressing different
> files}. As you can see, one GPF occurs in malloc, the other in free.
>
You may also try fortify.
http://www.geocities.com/SiliconValley/Horizon/8596/fortify.html
A rather long time ago it helped me to catch bug in rhide-1.4 by
writting one byte beyond allocated memory which caused crash in
debugger much later.
- Raw text -