Hello All, ==29908== 1 bytes in 1 blocks are definitely lost in loss record 1 of 187 ==29908== at 0x1B903D1C: malloc (vg_replace_malloc.c:131) ==29908== by 0x1DEF7B2B: ??? ==29908== by 0x1DED5F27: ??? ==29908== by 0x1DEC7633: ??? ==29908== by 0x1DEC9AAA: ??? ==29908== by 0x818B3C8: _thread_func(void *) (threads.cc:202) ==29908== by 0x1B90B8BC: thread_wrapper (vg_libpthread.c:867) ==29908== by 0xB000F6A8: do__quit (vg_scheduler.c:1861) Currently I am getting too many "???", where _thread_func is a function pointer pointing to some function in shared library. Is there an option that resolves functions in ".so"s ? How would you debug this issue? TIA! GamBu. |
|
From: Tom H. <th...@cy...> - 2004-10-22 14:08:30
|
In message <cl99t4$pdf$1...@se...>
Gmane Access <gambit_ext@HotPOP.com> wrote:
> ==29908== 1 bytes in 1 blocks are definitely lost in loss record 1 of 187
> ==29908== at 0x1B903D1C: malloc (vg_replace_malloc.c:131)
> ==29908== by 0x1DEF7B2B: ???
> ==29908== by 0x1DED5F27: ???
> ==29908== by 0x1DEC7633: ???
> ==29908== by 0x1DEC9AAA: ???
> ==29908== by 0x818B3C8: _thread_func(void *) (threads.cc:202)
> ==29908== by 0x1B90B8BC: thread_wrapper (vg_libpthread.c:867)
> ==29908== by 0xB000F6A8: do__quit (vg_scheduler.c:1861)
>
> Currently I am getting too many "???", where _thread_func is a
> function pointer pointing to some function in shared library.
>
> Is there an option that resolves functions in ".so"s ?
It should happen automatically if you have the appropriate symbol
information included. The only time it won't is if you unload the
library before the program exits - if that happens then the library
is no longer available so the symbols can't be resolved.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|