Fixed: Memory Trashing!

New Message Reply Date view Thread view Subject view Author view

Ben Simons (ben++at++vislab.su.edu.au)
Mon, 29 May 1995 23:38:02 -0400


Update: Yahoo!

I found the memory trashing that was causing my innocent pfMalloc() call
to die. Yep, I was over-running an array, pfMalloc'ed earlier. I found it
by simplifying as much as possible, and then tracking the sequence of
alloc's and free's. It began to die on a free(x) (ok, i mean pfDelete).
So I thoroughly looked at all references to the var that was pfMalloc'ed
before 'x', and viola! An off-by-one bug in a for-loop termination test.

Now... where was I up to before this happened??! ;-)

thanks to the few who provided assistance.

ben.

PS: I am running cvd (CaseVision Workshop) as root now, and getting along ok...

-- 
_______________________________________________________
Ben Simons                      Physics Building, A28,
VisLab Systems Manager          Sydney University. NSW.
Phone +61-2-351-3005            AUSTRALIA. 2006.

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:32 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.