Refactoring CMake support

Milian Wolff mail at milianw.de
Tue Aug 27 12:19:31 UTC 2013


On Tuesday 27 August 2013 10:48:20 Milian Wolff wrote:
> On Tuesday 27 August 2013 02:10:36 Aleix Pol wrote:
> > I haven't had problems with it so far, I'll merge it later this week. I'm
> > not doing it yet because I just merged the noAreaTabs branch and I'd
> > prefer
> > to break systems one at a time.
> > 
> > In any case, please test :)
> 
> I've successfully loaded my big kdev* session with 10 cmake projects in it.
> So it works - cool!

Another crash, this time after creating a new folder with a CMakeLists.txt. 
Then copy'n'pasted some code over (maybe invalid cmakelists.txt - it 
definitely referenced non-existing files). Then I got:

ASSERT: "ctx" in file 
/ssd/milian/projects/kde4/kdevelop/projectmanagers/cmake/cmakeimportjob.cpp, 
line 116


Thread 4 (Thread 0x7f4a667fc700 (LWP 8994)):
[KCrash Handler]
#5  0x00007f4b860323d9 in raise () from /usr/lib/libc.so.6
#6  0x00007f4b860337d8 in abort () from /usr/lib/libc.so.6
#7  0x00007f4b87f9690f in qt_message_output(QtMsgType, char const*) () from 
/usr/lib/libQtCore.so.4
#8  0x00007f4b87f96a99 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f4b87f972a4 in qFatal(char const*, ...) () from 
/usr/lib/libQtCore.so.4
#10 0x00007f4ad11ee2b4 in CMakeImportJob::initialize (this=0xa944000) at 
/ssd/milian/projects/kde4/kdevelop/projectmanagers/cmake/cmakeimportjob.cpp:116
#11 0x00007f4ad11f1800 in 
QtConcurrent::VoidStoredMemberFunctionPointerCall0<void, 
CMakeImportJob>::runFunctor (this=0xa963640) at 
/usr/include/qt4/QtCore/qtconcurrentstoredfunctioncall.h:209
#12 0x00007f4ad11efe12 in QtConcurrent::RunFunctionTask<void>::run 
(this=0xa963640) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:134
#13 0x00007f4b87f9484e in ?? () from /usr/lib/libQtCore.so.4
#14 0x00007f4b87fa0d8f in ?? () from /usr/lib/libQtCore.so.4
#15 0x00007f4b87d10062 in start_thread () from /usr/lib/libpthread.so.0
#16 0x00007f4b860e1a2d in clone () from /usr/lib/libc.so.6

Bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de


More information about the KDevelop-devel mailing list