RE: Memory leak analysis with valgrind

"Sampige, Sahana Prabhakar \(STSD\)" <[email protected]>
Newsgroups gmane.network.open-pegasus.general
Message-ID <3051CFF4B0ABBF418CBA816A2BF3F20335F72C2E1A@GVW1105EXC.americas.hpqcorp.net>
Hi Faina,
I am using valgrind-3.5.0 on Red Hat for identifying leaks in Pegasus and I have not faced any issues so far. What is the threading issue you are facing ? Also, like Krik mentioned you can identify leaks in your provider irrespective of Pegasus.

-Sahana

________________________________
From: Kirk Augustin [mailto:[email protected]]
Sent: Friday, July 16, 2010 5:21 AM
To: Prager, Faina; [email protected]
Subject: Re: Memory leak analysis with valgrind

Since providers are shared libraries, you could easily check for memory leaks with a fake main program that simply make a series of function calls to all the provider entry points.  I don't see why Pegasus would matter in terms of checking for memory leaks.


Portland, OR 97231


________________________________
From: "Prager, Faina" <[email protected]>
To: [email protected]
Sent: Thu, July 15, 2010 2:53:33 PM
Subject: Memory leak analysis with valgrind

Hello,

I am trying to test our providers for memory leaks using valgrind, but the latest version of valgrind does not seem to work with OpenPegasus, has some threading issues.  The patch for Valgrind 2.0.0 produces the : "true: symbol lookup error: /usr/lib/valgrind/valgrind.so: undefined symbol: __libc_accept" error.

Is there any way to test providers with valgrind using Pegasus?

Thank you,
Faina Prager
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.