From: LBRO <lbro () dscc ! dk>
To: tru64-unix-managers
Subject: Third degree tool malfunction
Date: Fri, 03 Jul 1998 12:25:06 +0000 [thread overview]
Message-ID: <96078715811483.tru64-unix-managers.marc@archive.invalid> (raw)
Hi, wizards.
Digital has launched a new tool - third - that is able to report
memory leaks and such with a great level of precision. This is a very
nice tool indeed... but it seems that there is something broken when I
use multithreaded programs:
caelum.dscc.dk:> cat main.c
#include <pthread.h>
main()
{
pthread_attr_t a;
pthread_attr_init(&a);
printf("Hello, World\n");
}
caelum.dscc.dk:> cc main.c -pthread
caelum.dscc.dk:> a.out
Hello, World
caelum.dscc.dk:> atom -tool third -env threads a.out
atom: Warning: Unable to find base of ldgp in object
'/usr/shlib/libpthread.so' at 0x3ff80589df0.
atom: Warning: Unable to find base of ldgp in object
'/usr/shlib/libpthread.so' at 0x3ff80589df0.
caelum.dscc.dk:> a.out.third.threads
*** Fatal signal SIGTRAP detected.
*** This can be caused by the use of uninitialized data.
*** Please check all errors reported in a.out.3log.
caelum.dscc.dk:>
Anyone seen this before ?
Anyone got any experience with third ?
Am I doing something wrong ?
yours,
Lars Bro (lbro@dscc.dk)
reply other threads:[~1998-07-03 12:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox