Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Problem with Atom/Third
@ 2002-04-18 11:03 Andreas Spiller
  2002-04-18 11:47 ` Andreas Spiller
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Spiller @ 2002-04-18 11:03 UTC (permalink / raw)


Hi,

i just tried to use the Atom/Third tool to detect memory leaks
in my C/C++ programs. Unfortunately it does not work because
of an error related to a shared library (I think).

For testing i just wrote a 'Hello World' like this:

#include <stdio.h>
int main (void) {
  printf("Hello World");
  return 0;
}

I compiled it and then tried to use atom/third on it. My .third
file contains the following:

all leaks at_exit
all objects at_exit
heap_history no
leak_min_percent 0
object_min_percent 0
memory_errors yes
object_padding 64
uninit_heap yes
uninit_stack yes

With
atom -tool third test -toolargs="-dirname logs"
i instrumented the programm, but when i try to start my test.third
the following error occurs:

5898:test.third: /sbin/loader: Fatal Error: cannot map libc.so.test.third

Does anyone have an idea what's going wrong here?
Perhaps something that was not installed correctly?

Thx

Andreas


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem with Atom/Third
  2002-04-18 11:03 Problem with Atom/Third Andreas Spiller
@ 2002-04-18 11:47 ` Andreas Spiller
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Spiller @ 2002-04-18 11:47 UTC (permalink / raw)


Andreas Spiller wrote:
> 
> Hi,
> 
> i just tried to use the Atom/Third tool to detect memory leaks
> in my C/C++ programs. Unfortunately it does not work because
> of an error related to a shared library (I think).

OK, got the answer: LD_LIBRARY_PATH did not point to the
instrumented libraries.

CU

Andreas


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-18 11:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-18 11:03 Problem with Atom/Third Andreas Spiller
2002-04-18 11:47 ` Andreas Spiller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox