Hi Vasu Srinivas Ch wrote: > Hi, > Does backport of libumem on Solaris 8 available? > Don't know. > We are facing memory corruption issues in a multithreaded application running > on Solaris 8. Application is dumping core on ?malloc? and we suspect some > heap corruption happening. We could solve such issues with libumem on Solaris > 10. > > But on Solaris 8 we don?t have pointers to debug this further. > As per this thread, there is discussion on backporting libumem on Solaris 8. > But no further updates are available there. > http://opensolaris.org/jive/thread.jspa?messageID=52864 > > We are eager to know if libumem has been back-ported to Solaris 8. > > Can somebody give some pointers on how to proceed to trace out memory > corruption on Solaris 8? > You can always write wrapper functions for malloc/free that save state information (similar to info that libumem saves), then access that info using mdb (or debugger of your choice). Your code then calls your versions of malloc/free, and these save any needed state and call the "real" malloc/free.
max > Thanks, > Vasu >