Segfault in CMakeManager::parse

Milian Wolff mail at milianw.de
Sat Sep 4 15:43:22 UTC 2010


On Saturday 04 September 2010 12:15:25 Andreas Pakulat wrote:
> On 04.09.10 05:27:11, Syron wrote:
> > I recently tried to open my peepeeplayer project again
> > (http://gitorious.org/peepeeplayer/peepeeplayer), using the project
> > importer. KDevelop and KDevplatform work well, but when I try to
> > import my project, it throws a segfault that says that the
> > dynamic_cast in projectmanager/cmake/cmakemanager.cpp:350 is the
> > reason. The file on which that happens is different each time I try to
> > import the project (according to the debug outputs). I already cleaned
> > my build dir, built it again with Release and Debug configs, but it
> > still doesn't work. Maybe it got something to do with the DUChain
> > cache, but I don't think thats the reason, because I tried to move the
> > sources to another directory and the same happens.
> > 
> > Thread 2 (Thread 0x7fa9f010b710 (LWP 15063)):
> > [KCrash Handler]
> > #6  0x00007faa1c6786da in __dynamic_cast () from
> > /usr/lib64/libstdc++.so.6
> 
> Thats extremely suspicious, dynamic_cast should never crash even if
> called on invalid adresses. Did you already try to remove all installed
> files and all builddirs and rebuild both kdevelop and kdevplatform?

It most definitely _will_ crash if the ptr address is invalid!
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100904/76e622d3/attachment.sig>


More information about the KDevelop-devel mailing list