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_at_dscc.dk)
Received on Fri Jul 03 1998 - 13:27:45 NZST