Re: [ROOT] Finding leaks w/ memprobe

From: Denis Bertini (d.bertini@gsi.de)
Date: Mon Sep 23 2002 - 18:29:43 MEST


Hi Dan,
I have to confess that i never tried the memory check program together with
a ACLIC executable.
First i am not sure about what the command
rootn.exe -b -q jobPSI_C.so
will do.
1- your program has certainly created a memcheck.out file , how this file looks like?

2- Can you just try to create an executable without ACLIC and see if you can
  dump the *.info files  when calling memprobe

Dan Krop wrote:

> Hello,
>         I would like to thank everybody who responded so quickly with advice.  It's
> nice to know there are helpful people out there...
>         Anyway, I tried to recompile my script w/ the debugging symbols.  The command
> line looks like this:
>
> root [0] TString cmd=gSystem->GetMakeSharedLib()
> root [1] cmd.ReplaceAll("-O","-g")
> (class TString)141575760
> root [2] gSystem->SetMakeSharedLib(cmd)
> root [3] .L jobPSI.C++
>
>         I then run the job with:
> >rootn.exe -b -q jobPSI_C.so
> and do a "memprobe -e jobPSI_C.so" after it crashes.
>         However, when I look at the "leak.info" file that is created, all it contains
> is:
> Leaked allocations: 6176         Leaked size: 1237084
>
> with no stack history.  Am I still doing something wrong?
>
>                                                                 Thanks again,
>                                                                                 Dan



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