compile it with electric fence or run it with valgrind.. Both are very 
good runtime memory checkers.   
Jason
On Sat, 24 May 2003, Paul M Foster wrote:
> I've got a C program I'm writing, in which something appears to be 
> stepping on something else's memory. Does anyone have _personal_ 
> experience with a good memory checker/malloc replacement that might 
> assist in debugging what's gone errant?
> 
> Paul
> 
> 
> 
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:14:36 EDT