Karel Gardas wrote:
Hello,

while developing C++ based applications on OS 2009.06 I'm curious if there is 
any reliable tool I may use for checking memory leaks of my C++ 
libraries/applications. I've tried to use:

1) libumem/mdb -- this does not work, i.e. it reports none C++ memory leak
2) librtc/dbx check -- this does not work, i.e. my program crashes quickly when 
librtc is preloaded and its core file suggest it crashes on SIGSEGV directly in 
RTC library
You should report this through the studio forums. When it works, mem use checking is very handy.

The best solution is it avoid the problem by managing the life time of dynamic objects within classes. Smart pointers are your friend.

--
Ian.

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to