Mail Archives: djgpp/1999/08/20/19:47:09
Radu Georgescu aka skoola wrote:
>
> is there any known problem with free()??
> my programm crashes sometimes and there is no crash if i'm removeing the
> free calls.
> i'm using some v2 distribution and pgcc.
Most likely, this is your bug. Things like writing an array out of
bounds corrupt some of malloc's internal data, which can make it crash.
For debugging this, you might consider my package YAMD
(http://www.cartsys.com/eldredge/n/yamd/), or another similar tool.
Note that YAMD should be used with DJGPP v2.02.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -