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.











Is there any URL which lists down in detail all th...
See
fghrt