|
From: Thierry L. <la...@pc...> - 2005-05-26 13:46:31
|
For the following: =20 =3D=3D27549=3D=3D 499712 bytes in 1 blocks are definitely lost in loss = record 191 of 196 =3D=3D27549=3D=3D at 0x1B9005BD: malloc (vg_replace_malloc.c:130) =3D=3D27549=3D=3D by 0x1CD747E5: Run(std::string const&, std::string = const&) (in /home/test.so) =3D=3D27549=3D=3D by 0x1CD74E1D: Stuff(std::string const&, = std::string const&) (in /home/test.so) =20 Is it possible to get the line number of where the leak is happening in my Run(...) method and also the file name?=20 =20 In Purify, it usually tells you which member is leaking, in valgrind it seems to be pointing the function only. =20 =20 Thanks Thierry |
|
From: Nicholas N. <nj...@cs...> - 2005-05-26 13:58:44
|
On Thu, 26 May 2005, Thierry Lam wrote: > Is it possible to get the line number of where the leak is happening in > my Run(...) method and also the file name? Did you compile with -g to include debugging information? N |