|
From: Lucas B. <bra...@re...> - 2004-08-11 11:46:25
|
Hi
Sorry if it's a newbie question, but I'm a valgrind newbie :)
and I haven't found some information about it in FAQ, documentation and
archives. I'm using valgrind 2.0.0.
My application is a daemon which loads dynamically some
libraries (plugins). Each plugin is compilied with symbols (gcc "-g"
option), when I'm using valgrind:
valgrind -v --leak-check=yes --leak-resolution=high --logfile=siri
--num-callers=12 ./sbin/siri-server
looking siri.pid<pid> file, I've got:
==5160== 15 bytes in 1 blocks are definitely lost in loss record 10 of 47
==5160== at 0x400296B2: malloc (vg_replace_malloc.c:153)
==5160== by 0x4022D57E: ???
==5160== by 0x4022D3B4: ???
==5160== by 0x4022D199: ???
==5160== by 0x4022D0EE: ???
==5160== by 0x4022CEB8: ???
==5160== by 0x804A7AF: doLazyUserLogout (main.c:209)
==5160== by 0x804A672: doExit (main.c:164)
==5160== by 0x804A01A: doMainLoop (domainloop.c:43)
==5160== by 0x804A4F0: main (main.c:134)
==5160== 15 bytes in 1 blocks are definitely lost in loss record 11 of 47
==5160== at 0x400296B2: malloc (vg_replace_malloc.c:153)
==5160== by 0x4022D57E: ???
==5160== by 0x4022D3B4: ???
==5160== by 0x4022D199: ???
==5160== by 0x4022D0EE: ???
==5160== by 0x4022CE94: ???
==5160== by 0x804AB01: doLogin (netconn.c:122)
==5160== by 0x804AA54: doProtocolNegotiation (netconn.c:76)
==5160== by 0x804A006: doMainLoop (domainloop.c:36)
==5160== by 0x804A4F0: main (main.c:134)
Both case, in function doLazyUserLogout (main.c:209)
and doLogin (netconn.c:122) are the enter point of the
dynamic loaded library. Both memory leaks is due the same
problem, starting at 0x4022D0EE function.
How can I trace those not traced ("???") calls?
Thanks a lot in advance.
bests regards
--
[]'s
Lucas Brasilino
bra...@re...
http://www.recife.pe.gov.br
Emprel - Empresa Municipal de Informatica (pt_BR)
Municipal Computing Enterprise (en_US)
Recife - Pernambuco - Brasil
Fone: +55-81-34167078
|