tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Third degree tool malfunction
@ 1998-07-03 12:25 LBRO
  0 siblings, 0 replies; only message in thread
From: LBRO @ 1998-07-03 12:25 UTC (permalink / raw)
  To: tru64-unix-managers


     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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-07-03 12:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-03 12:25 Third degree tool malfunction LBRO

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