Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* third and pthread
@ 1999-02-08  5:00 Jean-Damien DURAND
  1999-02-08  5:00 ` Chris Forrest
  1999-02-15  5:00 ` John P Williams
  0 siblings, 2 replies; 3+ messages in thread
From: Jean-Damien DURAND @ 1999-02-08  5:00 UTC (permalink / raw)



  Dear all,

  Would someone in here please explain me why, when compiling the following
so-simple program:

int main () {
  exit(0);
}

  with -pthread option, and intrumenting it with "third -env threads";

[dxplus05] ~ % cc -pthread -o ./testit ./test.c
[dxplus05] ~ % atom -tool third -env threads testit

  I have the following in the 3log file:

------------------------------------------------------------------------
Searching for new leaks in heap after program exit


Warning: 367 pointers to heap objects with read access disabled were skipped

A total of 122192 bytes in 226 leaks were found:

90112 bytes in 3 leaks created at:
    __valloc                       libc.so
    -----                          -----
    -----                          -----
    -----                          -----

28000 bytes in 221 leaks (including 3 super leaks) created at:
    malloc                         libc.so
    -----                          -----
    -----                          -----
    -----                          -----

2040 bytes in 1 leak (including 1 super leak) created at:
    calloc                         libc.so
    pc = 0x3ff809523ec             libc.so
    pc = 0x3ff808efc9c             libc.so
    __init_libc                    libc.so

2040 bytes in 1 leak created at:
    calloc                         libc.so
    pc = 0x3ff809523d0             libc.so
    pc = 0x3ff808efc9c             libc.so
    __init_libc                    libc.so

------------------------------------------------------------------------

  What misunderstanding or mistake am I doing ? Thanks a lot for any advice...

  Cheers,                          Jean-Damien.

FYI:
[dxplus05] ~ % uname -a 
OSF1 dxplus05 V4.0 564 alpha
[dxplus05] ~ % what `which atom` | tail -1
        $RCSfile: strerror.c,v $ $Revision: 4.2.8.3 $ (DEC) $Date: 1994/04/05 15:48:37 $
--
       *******************************************************
       *      Jean-Damien Durand (jdurand@mail.cern.ch)      *
       *        www : http://wwwinfo.cern.ch/~jdurand/       *
       *******************************************************



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

end of thread, other threads:[~1999-02-15  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-08  5:00 third and pthread Jean-Damien DURAND
1999-02-08  5:00 ` Chris Forrest
1999-02-15  5:00 ` John P Williams

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