[ROOT] Finding Memory Leaks w/ memprobe

From: Dan Krop (dkrop@indiana.edu)
Date: Mon Sep 23 2002 - 02:10:54 MEST


Hi,
	I have a program compiled using ACLiC which probably has a memory leak.  I 
have tried to run memprobe with the .so file as the executable, but the 
output from memprobe is not helping much.  It tells me that I have a certain 
number of leaked allocations, but does not give any suggestions as to where 
they come from.  Also, the file "memcheckdesc.out" has the following lines:

(no debugging symbols found)...(gdb)
Starting program: /home/dkrop/radphi/root_files/PWA/jobPSI_C.so

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

which indicates to me that memprobe uses gdb but that the script was compiled 
w/o a debug flag.  So, I have a few questions:

1. Can memprobe take ACLiC output .so files as executables?
2. Is there any documentation on memprobe?
3. Is there a way to compile with ACLiC that includes the debugging symbols?

						Thanks in advance,
									Dan



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:10 MET