[comp.protocols.iso.dev-environ] memory leakage while running cmip

ghatak@CS.UTK.EDU (01/22/91)

Hello all,
 I have been running cmip on ISODE. Now after a few hundred operations my
implementation crashes. I run the top facility along with cmip, and
the number in the SIZE column ( this indicates the total  size  of
the  process  (text,  data,  and  stack) ) increases in gradual steps
for the cmip daemon, and the manager. This leads me to believe that there
is a memory leak in these processes (perhaps someone more familiar with
the behaviour of the top facility could tell whether such a conclusion is
warranted).
 In fact that's my first question, ie can we conclude that there is a leak
from this observation ?

Next, I have instrumented my part of the code, so that I can now force a
core dump and examine the memory for strings which tell me at which lines
memory was allocated and if it has been freed or not. This involves
redefining the malloc, calloc, and free functions. Anyway from this
exercise, I find that there is no apparent leak in my part of the code.
I would like to instrument the libisode.a code. But,
what is the simplest way to redefine (with #define statements) for all
the modules in libisode.a ? THIS IS QUESTION 2.

Thanks a lot.
Regards,
Subhendu Ghatak