> Hi Dan > So you are right, internally memprobe use gdb and you will need to compile > the library or program using the debug option of gcc "-g" to create debug > symbols. > > Dan Krop wrote: > > > 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? > > > > if aclic uses debug version when creating those .so or compiled code, then it will > work. > > > 2. Is there any documentation on memprobe? > > > > > memprobe -help > > and http://www-hades.gsi.de/~dbertini/mem.html > > hope this help, > Denis
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:10 MET