> I am trying to use libumem to find a memory leak.  I have read multiple 
> articles
> about how to set up.  I am doing the following:
> 
> setenv UMEM_DEBUG default
> setenv UMEM_LOGGING transaction
> setenv LD_PRELOAD libumem.so.1
> 
> (now run my program)
> 
> The problem is it is crashing right away.  Obviously, despite the possible
> memory leak, it does not do this normally.
> 
> I thought I read somewhere that libumem would crash under certain conditions,
> but it is not at all obvious why it is crashing now.

I'd start with

    mdb - core

And in mdb, try commands
    ::status 
    ::umem_status
    ::stack
-- 
This message posted from opensolaris.org

Reply via email to