Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Third degree and threads
@ 1998-07-14  4:00 lbro@dscc.dk (Lars Bro)
  1998-07-15  4:00 ` David D. Hooton USG
  0 siblings, 1 reply; 2+ messages in thread
From: lbro@dscc.dk (Lars Bro) @ 1998-07-14  4:00 UTC (permalink / raw)


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 ?

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");
}

-- 
Lars Bro, DSC Communications a/s Denmark
e-mail: lab@dscc.dk  tel: +45 44 77 29 67



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Third degree and threads
  1998-07-14  4:00 Third degree and threads lbro@dscc.dk (Lars Bro)
@ 1998-07-15  4:00 ` David D. Hooton USG
  0 siblings, 0 replies; 2+ messages in thread
From: David D. Hooton USG @ 1998-07-15  4:00 UTC (permalink / raw)


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");
|> }



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-07-15  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-14  4:00 Third degree and threads lbro@dscc.dk (Lars Bro)
1998-07-15  4:00 ` David D. Hooton USG

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