Segfault in CMakeManager::parse

Vladimir Prus ghost at cs.msu.su
Sat Sep 4 10:43:59 UTC 2010


On Saturday 04 September 2010 14: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. 

Are you sure? It does not crash when invoken on NULL, but will happily crash
if passed a random address.

- Volodya




More information about the KDevelop-devel mailing list