Hello.
On my solaris 10 box, I have a propriety application (no source code),
which dynamically links my shared library (I have the source).
How can I use purify to detect leaks in the plug-in (shared library)?
when tried, purify says something like (cant paste the exact snipped
at the moment):
"appName appears to be complete executable, cannot be instrumented."
Thanks in advance, Julian
|
|
0
|
|
|
|
Reply
|
julian
|
11/16/2009 9:16:40 PM |
|
julian.kania@gmail.com wrote:
> Hello.
>
> On my solaris 10 box, I have a propriety application (no source code),
> which dynamically links my shared library (I have the source).
> How can I use purify to detect leaks in the plug-in (shared library)?
>
> when tried, purify says something like (cant paste the exact snipped
> at the moment):
> "appName appears to be complete executable, cannot be instrumented."
I don't know how to do it with Purify, or whether it's
even possible -- maybe an IBM/Rational forum would have an
answer. But since you're on Solaris, you might be able to
use the built-in libumem.so to detect leaks. There are a
couple of blogs describing how to substitute libumem.so for
the default allocator at run-time, and how to specify how
much and what kind of debugging information you want.
--
Eric Sosman
esosman@ieee-dot-org.invalid
|
|
0
|
|
|
|
Reply
|
Eric
|
11/17/2009 5:17:44 AM
|
|
> > How can I use purify to detect leaks in the plug-in (shared library)?
> But since you're on Solaris, you might be able to
> use the built-in libumem.so to detect leaks. =A0
Hi Eric.
Thanks for the answer, I already tried libumem and mdb. Its useful
indeed, but Purify has different approach (instrumenting the code),
thus some scenarios looks easier to deal with when levaraging Purify.
Any other hints?
Regards, Julian.
|
|
0
|
|
|
|
Reply
|
julian
|
11/17/2009 8:10:39 AM
|
|
julian.kania@gmail.com wrote:
>>> How can I use purify to detect leaks in the plug-in (shared library)?
>> But since you're on Solaris, you might be able to
>> use the built-in libumem.so to detect leaks.
>
> Hi Eric.
> Thanks for the answer, I already tried libumem and mdb. Its useful
> indeed, but Purify has different approach (instrumenting the code),
> thus some scenarios looks easier to deal with when levaraging Purify.
>
> Any other hints?
Just the one I already offered: Try an IBM/Rational forum
(or support channel).
--
Eric Sosman
esosman@ieee-dot-org.invalid
|
|
0
|
|
|
|
Reply
|
Eric
|
11/17/2009 1:56:39 PM
|
|
"julian.kania@gmail.com" <julian.kania@gmail.com> writes:
>Hello.
>
>On my solaris 10 box, I have a propriety application (no source code),
>which dynamically links my shared library (I have the source).
>How can I use purify to detect leaks in the plug-in (shared library)?
>
>when tried, purify says something like (cant paste the exact snipped
>at the moment):
>"appName appears to be complete executable, cannot be instrumented."
>
>
>Thanks in advance, Julian
Write your own application that uses the library and purify them both together.
scott
|
|
0
|
|
|
|
Reply
|
scott
|
11/21/2009 1:19:24 AM
|
|
|
4 Replies
668 Views
(page loaded in 0.09 seconds)
Similiar Articles: detecting leaks with purify in shared libraries - comp.unix ...Hello. On my solaris 10 box, I have a propriety application (no source code), which dynamically links my shared library (I have the source). How ... To find whether the shared library is of 'debug' version?? - comp ...detecting leaks with purify in shared libraries - comp.unix ..... code), which dynamically links my shared library (I ... know how to do it with Purify, or whether it's ... Command to List Contents of Shared Object (.so) Library - comp ...detecting leaks with purify in shared libraries - comp.unix ... linux shared memory synchronization objects - comp.unix.programmer ... Command to List Contents of Shared ... embed resources in shared lib? - comp.unix.programmerdetecting leaks with purify in shared libraries - comp.unix ..... application (no source code), which dynamically links my shared library (I have ... is good for memory ... boost libraries - comp.os.vxworksdetecting leaks with purify in shared libraries - comp.unix ... writing robust software? - comp.lang.c++.moderated E.g. the new boost Filesystem library ... is good for ... Cannot step inside shared object in Solaris 10 - comp.unix ...detecting leaks with purify in shared libraries - comp.unix ... Cannot step inside shared object in Solaris 10 - comp.unix ... Purify - Apache Shared Objects... memory ... linux shared memory synchronization objects - comp.unix.programmer ...detecting leaks with purify in shared libraries - comp.unix ... linux shared memory synchronization objects - comp.unix.programmer ... Command to List Contents of Shared ... Finding memory leaks through ps command - comp.unix.solaris ...detecting leaks with purify in shared libraries - comp.unix ... Finding memory leaks through ps command - comp.unix.solaris ... When the library function is getting called ... writing robust software? - comp.lang.c++.moderatedE.g. the new boost Filesystem library ... is good for memory corruption detection ... where some system resource (e.g. shared memory) needs to be freed. Memory leaks ... [comp.publish.cdrom] CD-Recordable FAQ, Part 1/4 - comp.publish ...Archive-name: cdrom/cd-recordable/part1 Posting-Frequency: monthly Last-modified: 2008/10/09 Version: 2.71 Send corrections and updates to And... detecting leaks with purify in shared libraries - comp.unix ...Hello. On my solaris 10 box, I have a propriety application (no source code), which dynamically links my shared library (I have the source). How ... Advanced features of IBM Rational Purify: Customizing Purify ...IBM® Rational® Purify® is an advanced memory error-detection tool ... errors, such as memory leaks, for the memory allocated in excluded shared libraries. 7/22/2012 1:52:14 AM
|