From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d944c68762c64bbf,start X-Google-Attributes: gidfee84,public From: jdurand@pcfarm14.cern.ch (Jean-Damien DURAND) Subject: third and pthread Date: 1999/02/08 Message-ID: <79mp0n$r2j$1@sunnews.cern.ch>#1/1 X-Deja-AN: 441962677 X-Complaints-To: news@sunnews.cern.ch X-Trace: sunnews.cern.ch 918480727 27731 (None) 137.138.35.28 Organization: CERN, European Laboratory for Particle Physics Newsgroups: comp.unix.osf.osf1 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/ * *******************************************************