Thursday, July 9, 2009

valgrind, dlopen and debug info

You may encounter with following situation: you profile your application with valgrind, run the KCachegrind and you are not seeing debug info for some your modules.

As wrote in the internets this is a bug (http://bugs.kde.org/show_bug.cgi?id=142086, http://bugs.kde.org/show_bug.cgi?id=79362).

In my case I can avoid this bug as following: disable unloading of modules via dlclose.