On Mon, Aug 29, 2005 at 10:15:03AM -0700, /dev/null wrote:
> I have a C++ binary that has memory leaks (prstat shows increasing size) and 
> I am trying to use Sunsolve doc 76774 to find memory leaks but with no luck.
> 
> I have set LD_PRELOAD, UMEM_DEBUG and I have verified that they are set using 
> pldd and pargs -e. When I run:
> 
> $ mdb ./myprogram myprogram.core.3103
> Loading modules: [ libumem.so.1 libc.so.1 ld.so.1 ]
> > ::findleaks
> mdb: findleaks: requires UMEM_DEBUG=audit or UMEM_DEBUG=default
> > 
> 
> Am I doing something wrong?

Could you send the "pargs -e" output from myprogram.core.3103?

        - Bryan

--------------------------------------------------------------------------
Bryan Cantrill, Solaris Kernel Development.       http://blogs.sun.com/bmc

Reply via email to