|
From: Dirk M. <dm...@gm...> - 2003-06-22 01:20:55
|
Hi, the backtraces of leak checking are useless when dlopened modules are interacting. Thats because by the time the leak checking occurs, the dlopened modules might have been unloaded again, and valgrind cannot find the debug symbols anymore, because the unmap removed the debug symbol table. Does anybody have a suggestion for cleanly fixing this? perhaps it should not unmap the debug symbols unless it really has to (i.e. another module maps at the current place?). But even then the leak check might fail.. hmm. The only safe way is probably to ensure that addresses that were used for dlopened modules are never recycled. any idea how to achieve this? -- Dirk |