From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,7fcdee09e23e82f X-Google-Attributes: gidfee84,public From: hooton@zk3.dec.com (David D. Hooton USG) Subject: Re: Third degree and threads Date: 1998/07/15 Message-ID: <6ogt4v$opb$1@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 371526878 Sender: hooton@salem.zk3.dec.com (David D. Hooton USG) References: <35AB5A54.41C6@dscc.dk> Organization: Digital Equipment Corporation Newsgroups: comp.unix.osf.osf1 In article <35AB5A54.41C6@dscc.dk>, "lbro@dscc.dk (Lars Bro)" 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"); |> }