Displaying 1 result from an estimated 1 matches for "malloc_trac".
Did you mean:
malloc_trace
2007 Apr 04
1
Need mtrace (malloc debugging) help
Hi all,
I am using "mtrace" malloc debugging utility to trace memory leaks in my
application.
I followed following steps:
1. Added mtrace() function in the beginning of my main function.
2. exported the MALLOC_TRACE environment variable.
$ export MALLOC_TRACE=memory.log
3. Run the program
4. trace the program for memory leaks.
$ mtrace <myprogram> $MALLOC_TRACE
But In 3rd step above, my system is hanging.
Could anybody please help me to come out of this problem.
If anybody have another soluti...