Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: jdurand@pcfarm14.cern.ch (Jean-Damien DURAND)
Subject: third and pthread
Date: 1999/02/08	[thread overview]
Message-ID: <79mp0n$r2j$1@sunnews.cern.ch> (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/       *
       *******************************************************



             reply	other threads:[~1999-02-08  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-08  5:00 Jean-Damien DURAND [this message]
1999-02-08  5:00 ` third and pthread Chris Forrest
1999-02-15  5:00 ` John P Williams
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