Jim Helman (jimh++at++surreal)
Tue, 16 Nov 93 15:59:01 -0800
Bugs like this can be hard to trace unless you have a good idea who
might be writing past the end of an allocated array or such. If you
don't have any idea, there's the hunt-and-peck method. You can use
amallopt(3X) to turn on M_DEBUG so the data structure will be checked
on every amalloc. Then you start sprinkling your code with pfMallocs
from the arena until you narrow it down.
I'm assuming that you're programming for MP and that the geosets in
question were allocated from a shared memory arena, not from the heap.
rgds,
-jim helman
jimh++at++surreal.asd.sgi.com
415/390-1151
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:06 PDT