Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: hooton@zk3.dec.com (David D. Hooton USG)
Subject: Re: Third degree and threads
Date: 1998/07/15	[thread overview]
Message-ID: <6ogt4v$opb$1@nntpd.lkg.dec.com> (raw)
In-Reply-To: 35AB5A54.41C6@dscc.dk

In article <35AB5A54.41C6@dscc.dk>, "lbro@dscc.dk (Lars Bro)" <lab@dscc.dk> writes:
|> Digital has made a nice tool 'third' that is able to find memory
|> leaks and the sord. I do however have a problem when using threads:
|> Anyone got a clue ?

Which version of the Compaq's Digital Unix is this?  I've tried it
successfully on V4.0 and later.

In the meantime try adding "-excobj libpthreads.so" to the atom command
line.  Note that the ATOM man page states that Third Degree will insist
on instrumenting part of libpthreads.so in order to do its job
correctly, but perhaps the objectionable procedure(s) will be left out.

							- DDH

|> caelum.dscc.dk:> cc main.c -pthread
|> caelum.dscc.dk:> atom a.out -tool third -env threads             
|> 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:> cat main.c
|> main()
|> {
|>         printf("Hello, World\n");
|> }



      reply	other threads:[~1998-07-15  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-14  4:00 Third degree and threads lbro@dscc.dk (Lars Bro)
1998-07-15  4:00 ` David D. Hooton USG [this message]
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