Problems running kdevelop in valgrind/callgrind
David Nolden
zwabel at googlemail.com
Sun Aug 31 16:17:48 UTC 2008
Am Sonntag, 31. August 2008 16:34:13 schrieb Andreas Pakulat:
> Hi,
>
> wanted to run callgrind on kdevelop to check whats making cmake project
> opening slow. But it seems to be impossible as kdevelop crashes as
> soon as I open a project with valgrind/callgrind running on it.
>
> The backtrace I get from the callgrind process indicates a problem with
> the DUChain usage in CMake, this also fits with the reproduceable crash
> when editing a CMakeLists.txt file and saving it inside kdevelop4 (also
> crashes in the duchain and the backtrace seems to be pretty similar to
> the one I have)
I went through the cmake support code again, and fixed all the places I found
where the duchain was used in clearly unsafe ways(Pure pointers were stored).
It should work now.
Greetings, David
More information about the KDevelop-devel
mailing list