More about libumem

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.

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 04: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 11:25 AM CDT #

fghrt

Posted by guest on November 20, 2007 at 10:42 PM CST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

user12615206

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today