|
From: David E. <tw...@us...> - 2005-05-09 09:37:26
|
On Mon, 2005-05-09 at 08:56 +0000, tim wrote: > Hello, having a small problem with valgrind 2.4.0 on Slackware Linux. Wondering > if anyone here can help. > > The problem is its not displaying the line number and source filename for memory > leaks that occur in our shared libraries. Strangely it does display this > information when it finds leaks in QT, and in our main app executable, but not > for the libs we built ourselves. > > Everything is compiled with -g and gdb can debug inside these shared libs with > no problem. However, valgrind just displays ???, eg: > > ==3407== at 0x1B902457: operator new(unsigned) (vg_replace_malloc.c:132) > ==3407== by 0x1CC60048: ??? > ==3407== by 0x1CBC8F57: ??? > ==3407== by 0x804A15B: CSClient::run(int, char**) (CSClient.cpp:262) > ==3407== by 0x8049815: main (main.cpp:35) > > Just wondering what causes the ??? to be displayed? Maybe this previous discussion is relevant? http://thread.gmane.org/gmane.comp.debugging.valgrind/1712 -- Regards, -\- David Eriksson -/- SynCE - http://synce.sourceforge.net ScummVM - http://scummvm.sourceforge.net Desquirr - http://desquirr.sourceforge.net |