Will Fiveash's Solaris Stuff

More about libumem

Friday Jul 29, 2005

I just became aware of another blog with scripts that integrate libumem memory debugging with dbx.
You can read more about the dbx module here:
http://blogs.sun.com/roller/page/quenelle?entry=umem_integration_with_dbx
http://blogs.sun.com/roller/resources/quenelle/umem.dbx
You can read more about libumem here:
http://access1.sun.com/techarticles/libumem.html
http://blogs.sun.com/roller/page/ahl/20040713#solaris_10_top_11_20

Thanks to Chris Quenelle for this information!

As an aside, I've found libumem to be very useful in doing QA testing. I love to pound on code with these settings exported in the environment:

LD_PRELOAD="libumem.so.1
UMEM_LOGGING='transaction=1M'
UMEM_DEBUG='audit,contents,guards,verbose'

One can find memory leaks, double free's, writes past allocated buffers, and more with libumem. And integrated with dbx and -g compiled source, finding the problem will be easier than ever.

[3] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg
Comments:

Is there any URL which lists down in detail all the types of errors that libumem can detect?

Posted by Dhiraj on September 18, 2007 at 11:52 AM CDT #

See http://docs.sun.com/app/docs/doc/816-5168/6mbb3hs29?l=en&a=view for more info about libumem memory debugging.

Posted by Will Fiveash on September 19, 2007 at 06:25 PM CDT #

fghrt

Posted by 203.143.177.253 on November 21, 2007 at 06:42 AM CST #

Post a Comment:
  • HTML Syntax: NOT allowed