On Thu, Sep 29, 2005 at 07:51:13AM -0700, Pari wrote: > Hi, > We are facing an occasional core of our application which we think is > related to heap corruption. It is not reproducible (happens on some > customers) and takes weeks/months to occur. > Is there any way (in mdb or otherwise) to check memory heap of a user > process from core. I know libumem (with mdb) provides these. Most of our > customers run Solaris 8 and an OS upgrade is not an option for them. > One option would be to use a backport of libumem on Solaris 8, > and use of LD_PRELOAD to make the application use it instead of > libc. The source code of libumem is available. However, I am not > sure about its dependencies on the Solaris 9/10 architectural > changes. Can anyone point out if its feasible, and if yes then how > it should be done.
I've done this; I'll send it out tonight or tomorrow, along with directions. Cheers, - jonathan > Open to suggestions on other options for memory tracing, using other > libraries etc. > Thanks > Pari > This message posted from opensolaris.org > _______________________________________________ > mdb-discuss mailing list > mdb-discuss at opensolaris.org -- Jonathan Adams, Solaris Kernel Development