Segfault in CMakeManager::parse

Syron mr.syron at
Sat Sep 4 03:27:11 UTC 2010

I recently tried to open my peepeeplayer project again
(, 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/
#7  0x00007faa09e811a5 in CMakeManager::parse (this=0x7f3f30,
item=0x7faa04c8ea40) at
#8  0x00007faa1aa94f7e in import (this=0x422ee10, folder=<value
optimized out>) at
#9  KDevelop::ImportProjectJobPrivate::import (this=0x422ee10,
folder=<value optimized out>) at
#10 0x00007faa1aa94b76 in QtConcurrent::RunFunctionTask<void>::run
(this=0x3ed6dc0) at /usr/include/QtCore/qtconcurrentrunbase.h:120
#11 0x00007faa1da19035 in QThreadPoolThread::run (this=0xa02450) at
#12 0x00007faa1da22bf5 in QThreadPrivate::start (arg=0xa02450) at
#13 0x00007faa1d794a4f in start_thread () from /lib64/
#14 0x00007faa1bebf82d in clone () from /lib64/
#15 0x0000000000000000 in ?? ()

-- Syron

More information about the KDevelop-devel mailing list