Hi, have a look at valgrind (http://developer.kde.org/~sewardj/docs/) which has all the required information and worked rather well for me in several cases. You will somehow need an executable which is run by valgrind, though. Cheers, Birger On Sun, 22 Sep 2002, 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? > 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 > ------------------------------------------------------------ Birger Koblitz koblitz@mail.desy.de MPI für Physik c/o DESY-FH1 Tel: +49 40 8998-3971 Notkestr. 85 Fax: +49 40 8998-3094 D-22603 HAMBURG
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:10 MET