[ROOT] info on using memory check

From: Chiara Roda (Chiara.Roda@cern.ch)
Date: Thu Apr 03 2003 - 11:36:50 MEST


Hello,
I have a memory leak problem and I am trying to use the memory check program 
without much success ...

My program is compiled with AClic. 
I have set the debugging option for gcc using :

root [1] gSystem->SetMakeSharedLib("cd $BuildDir ; g++ -c -g  -pipe -Wall -Wov$
root [2] gSystem->GetMakeSharedLib()                             
(const char* 0x837e444)"cd $BuildDir ; g++ -c -g  -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude  -D_REENTRANT $IncludePath $SourceFiles ; g++ $ObjectFiles -shared -Wl,-soname,$LibName.so -O  -o $SharedLib"

then I execute my program using rootn.exe and I get the memcheck.out file.
Using :

 memprobe -e TB_Main_Frame_cpp.so 

I generate the files leak.info, memcheckdesc.info and multidelete.info but they
contain very little information :

leak.info 
---------
Leaked allocations: 16575 	 Leaked size: 1124799 

memcheckdesc.info
-----------------
(gdb) Starting program: /home/pcatlas3/data0/roda/monitoring_Trieste/TB_MainFrame_cpp.so 

Program received signal SIGSEGV, Segmentation fault.
0x00000001 in ?? ()

multidelete.info is empty.

Does anybody know how I could get more information and how ?
Thank you very much,
Chiara

-- 
...................................................
Chiara Roda
University and INFN Pisa
Via Buonarroti 2 - 56100 Pisa
Phone :
University & INFN : +39 050 2214 284
CERN : +41 22 767 1973   Fax +41 22 767 8380
....................................................



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET