Bug 207350 - kdevelop cmake project manager crashes when using illegal `include_directories`
Summary: kdevelop cmake project manager crashes when using illegal `include_directories`
Status: RESOLVED DUPLICATE of bug 206775
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-14 14:57 UTC by alonso schaich
Modified: 2009-09-14 19:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
crash dump (17.02 KB, text/plain)
2009-09-14 15:03 UTC, alonso schaich
Details
command line output (39.43 KB, application/x-bzip)
2009-09-14 18:48 UTC, alonso schaich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alonso schaich 2009-09-14 14:57:45 UTC
Version:           svn 20090914 (using KDE 4.3.1)
Compiler:          gcc-4.4.1 
OS:                Linux
Installed from:    Gentoo Packages

hello

when opening a cmake project that contains illegal `include_directories` directives, kdevelop crashes.
fixing the include_directories enables kdevelop to load the project but i think kdevelop shouldn't crash because of something like that.

Application: KDevelop (kdevelop), signal: Aborted
[Current thread is 1 (Thread 0x7f057930d750 (LWP 15460))]

Thread 10 (Thread 0x7f0569b01910 (LWP 15461)):
#0  0x00007f0575c5c24d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f0575ece2be in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f05729ac39e in KDevelop::DUChainPrivate::CleanupThread::run (this=0x203a1b0) at /mnt/tmpfs/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/duchain/duchain.cpp:280
#3  0x00007f0575ecd3c2 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f0575c57624 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f05743d556d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f055e155910 (LWP 15580)):
#0  0x00007f05743cecf2 in select () from /lib64/libc.so.6
#1  0x00007f0576016606 in QEventDispatcherUNIX::select(int, fd_set*, fd_set*, fd_set*, timeval*) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f0576018700 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f0576018c2e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f0575fe5202 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f0575fe5676 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f0575ec924b in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f0575ecd3c2 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f0575c57624 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f05743d556d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f055e956910 (LWP 15581)):
#0  0x00007f05743cecf2 in select () from /lib64/libc.so.6
#1  0x00007f0576016606 in QEventDispatcherUNIX::select(int, fd_set*, fd_set*, fd_set*, timeval*) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f0576018700 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f0576018c2e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f0575fe5202 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f0575fe5676 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f0575ec924b in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f0575ecd3c2 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f0575c57624 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f05743d556d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f055f157910 (LWP 15584)):
#0  0x00007f0575c5c24d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f0575ecc9c5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f0575eccb20 in QThread::msleep(unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f0549572d61 in UIBlockTester::UIBlockTesterThread::run (this=0x39491e0) at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/cpplanguagesupport.cpp:661
#4  0x00007f0575ecd3c2 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f0575c57624 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f05743d556d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f0548d8e910 (LWP 15585)):
[KCrash Handler]
#5  0x00007f057433a095 in raise () from /lib64/libc.so.6
#6  0x00007f057433b4c0 in abort () from /lib64/libc.so.6
#7  0x00007f0575ec3034 in qt_message_output(QtMsgType, char const*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f0575ec3150 in qFatal(char const*, ...) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f0575eff12b in QListData::append() () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007f0549579ea1 in QList<QString>::append (this=0x7f05498071a8, t=...) at /usr/include/qt4/QtCore/qlist.h:429
#11 0x00007f054958fef9 in QStringList::operator<< (this=0x3c64, str=...) at /usr/include/qt4/QtCore/qstringlist.h:87
#12 0x00007f0549597ca8 in CppTools::setupStandardIncludePaths (includePaths=<value optimized out>) at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/setuphelpers.cpp:89
#13 0x00007f054958e5b9 in CppUtils::standardIncludePaths () at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/cpputils.cpp:186
#14 0x00007f054957abc2 in IncludePathComputer::computeBackground (this=0x7f0567ff0e80) at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/includepathcomputer.cpp:118
#15 0x00007f054957fe6e in CPPParseJob::includePaths (this=0x7f0564174140) at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/cppparsejob.cpp:244
#16 0x00007f054957ff09 in CPPParseJob::includePathUrls (this=0x3c64) at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/cppparsejob.cpp:228
#17 0x00007f054958ae30 in PreprocessJob::run (this=0x7f05653075d0) at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/preprocessjob.cpp:190
#18 0x00007f0577739400 in ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib64/libthreadweaver.so.4
#19 0x00007f057773957b in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#20 0x00007f057773aa33 in ThreadWeaver::JobCollectionJobRunner::execute(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#21 0x00007f05777387e4 in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#22 0x00007f05777388e0 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#23 0x00007f0575ecd3c2 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007f0575c57624 in start_thread () from /lib64/libpthread.so.0
#25 0x00007f05743d556d in clone () from /lib64/libc.so.6
#26 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f054858d910 (LWP 15586)):
#0  0x00007f05743cecf2 in select () from /lib64/libc.so.6
#1  0x00007f0575fbe14a in ?? () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f0575f7477a in QProcess::waitForFinished(int) () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f0578d69c82 in KProcess::execute(int) () from /usr/lib64/libkdecore.so.5
#4  0x00007f05495910ad in CppTools::IncludePathResolver::executeCommand (this=<value optimized out>, command=<value optimized out>, workingDirectory=<value optimized out>, result=...)
    at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/includepathresolver.cpp:421
#5  0x00007f054959114a in CppTools::IncludePathResolver::getFullOutput (this=0x400, command=..., workingDirectory=..., output=...)
    at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/includepathresolver.cpp:716
#6  0x00007f05495912df in CppTools::IncludePathResolver::resolveIncludePathInternal (this=<value optimized out>, file=<value optimized out>, workingDirectory=<value optimized out>, 
    makeParameters=<value optimized out>, source=<value optimized out>) at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/includepathresolver.cpp:733
#7  0x00007f05495936ad in CppTools::IncludePathResolver::resolveIncludePath (this=0x7f0565b254d8, file=<value optimized out>, _workingDirectory=<value optimized out>, 
    maxStepsUp=<value optimized out>) at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/includepathresolver.cpp:651
#8  0x00007f0549593a70 in CppTools::IncludePathResolver::resolveIncludePath (this=0x7f0565b254d8, file=<value optimized out>, _workingDirectory=<value optimized out>, 
    maxStepsUp=<value optimized out>) at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/includepathresolver.cpp:558
#9  0x00007f0549594465 in CppTools::IncludePathResolver::resolveIncludePath (this=0x7f0565b254d8, file=<value optimized out>)
    at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/includepathresolver.cpp:433
#10 0x00007f054957b5df in IncludePathComputer::computeBackground (this=0x7f0565b25460) at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/includepathcomputer.cpp:184
#11 0x00007f054957fe6e in CPPParseJob::includePaths (this=0x7f05641925a0) at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/cppparsejob.cpp:244
#12 0x00007f054957ff09 in CPPParseJob::includePathUrls (this=0x400) at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/cppparsejob.cpp:228
#13 0x00007f054958ae30 in PreprocessJob::run (this=0x7f056423d880) at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/preprocessjob.cpp:190
#14 0x00007f0577739400 in ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib64/libthreadweaver.so.4
#15 0x00007f057773957b in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#16 0x00007f057773aa33 in ThreadWeaver::JobCollectionJobRunner::execute(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#17 0x00007f05777387e4 in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#18 0x00007f05777388e0 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#19 0x00007f0575ecd3c2 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007f0575c57624 in start_thread () from /lib64/libpthread.so.0
#21 0x00007f05743d556d in clone () from /lib64/libc.so.6
#22 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f0547d8c910 (LWP 15587)):
#0  0x00007f0575c5bfc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f0575ece3eb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f0577737075 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f057773a10b in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f0577738835 in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f05777388e0 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f0575ecd3c2 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f0575c57624 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f05743d556d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f054758b910 (LWP 15588)):
#0  0x00007f05743cecf2 in select () from /lib64/libc.so.6
#1  0x00007f0575fbe14a in ?? () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f0575f7477a in QProcess::waitForFinished(int) () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f0578d69c82 in KProcess::execute(int) () from /usr/lib64/libkdecore.so.5
#4  0x00007f05495910ad in CppTools::IncludePathResolver::executeCommand (this=<value optimized out>, command=<value optimized out>, workingDirectory=<value optimized out>, result=...)
    at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/includepathresolver.cpp:421
#5  0x00007f054959114a in CppTools::IncludePathResolver::getFullOutput (this=0x400, command=..., workingDirectory=..., output=...)
    at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/includepathresolver.cpp:716
#6  0x00007f05495912df in CppTools::IncludePathResolver::resolveIncludePathInternal (this=<value optimized out>, file=<value optimized out>, workingDirectory=<value optimized out>, 
    makeParameters=<value optimized out>, source=<value optimized out>) at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/includepathresolver.cpp:733
#7  0x00007f05495936ad in CppTools::IncludePathResolver::resolveIncludePath (this=0x7f0566737f78, file=<value optimized out>, _workingDirectory=<value optimized out>, 
    maxStepsUp=<value optimized out>) at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/includepathresolver.cpp:651
#8  0x00007f0549594465 in CppTools::IncludePathResolver::resolveIncludePath (this=0x7f0566737f78, file=<value optimized out>)
    at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/includepathresolver.cpp:433
#9  0x00007f054957b5df in IncludePathComputer::computeBackground (this=0x7f0566737f00) at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/includepathcomputer.cpp:184
#10 0x00007f054957fe6e in CPPParseJob::includePaths (this=0x7f0564044ff0) at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/cppparsejob.cpp:244
#11 0x00007f0549589fd8 in PreprocessJob::run (this=0x7f05663c65b0) at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/preprocessjob.cpp:205
#12 0x00007f0577739400 in ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib64/libthreadweaver.so.4
#13 0x00007f057773957b in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#14 0x00007f057773aa33 in ThreadWeaver::JobCollectionJobRunner::execute(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#15 0x00007f05777387e4 in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#16 0x00007f05777388e0 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#17 0x00007f0575ecd3c2 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#18 0x00007f0575c57624 in start_thread () from /lib64/libpthread.so.0
#19 0x00007f05743d556d in clone () from /lib64/libc.so.6
#20 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0546d8a910 (LWP 15589)):
#0  0x00007f0575c5bfc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f0575ece3eb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f0577737075 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f057773a10b in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f057773a124 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f057773a124 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f0577738835 in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#7  0x00007f05777388e0 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#8  0x00007f0575ecd3c2 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f0575c57624 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f05743d556d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f057930d750 (LWP 15460)):
#0  0x00007f057437b42f in _int_free () from /lib64/libc.so.6
#1  0x00007f057437e79c in free () from /lib64/libc.so.6
#2  0x00007f05729e5480 in KDevelop::TemporaryDataManager<KDevVarLengthArray<KDevelop::IndexedString, 10>, true>::~TemporaryDataManager (this=0x442c430, __in_chrg=<value optimized out>)
    at /mnt/tmpfs/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/duchain/../editor/../duchain/appendedlist.h:80
#3  0x00007f05729e4b22 in KDevelop::<anonymous struct>::destroy(void) () at /mnt/tmpfs/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/duchain/classfunctiondeclaration.cpp:46
#4  0x00007f057433cb35 in __run_exit_handlers () from /lib64/libc.so.6
#5  0x00007f057433cb85 in exit () from /lib64/libc.so.6
#6  0x00007f057500d1c8 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:707
#7  0x00007f0576773b58 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5
#8  0x00007f0570c9e40e in _XIOError () from /usr/lib64/libX11.so.6
#9  0x00007f0570ca8189 in process_responses () from /usr/lib64/libX11.so.6
#10 0x00007f0570ca86d7 in _XEventsQueued () from /usr/lib64/libX11.so.6
#11 0x00007f0570c8e47b in XEventsQueued () from /usr/lib64/libX11.so.6
#12 0x00007f0575047943 in QEventDispatcherX11::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventdispatcher_x11.cpp:79
#13 0x00007f0575fe5202 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007f0575fe5676 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007f0575fea4a9 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00000000004075af in main (argc=<value optimized out>, argv=<value optimized out>) at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/app/main.cpp:181
Comment 1 alonso schaich 2009-09-14 15:03:18 UTC
Created attachment 36942 [details]
crash dump

seems the one i copy-pasted into the bug report text field isn't propperly showing
Comment 2 Andreas Pakulat 2009-09-14 16:05:57 UTC
(In reply to comment #0)
> when opening a cmake project that contains illegal `include_directories`
> directives, kdevelop crashes.
> fixing the include_directories enables kdevelop to load the project but i think
> kdevelop shouldn't crash because of something like that.

What does "illegal" mean? Can you post your cmakelists.txt?
Comment 3 Aleix Pol 2009-09-14 17:14:42 UTC
An example would be great, yes, since the code that's crashing it's not inside cmake code.

if you could provide a backtrace with debug info that would be great as well.
Comment 4 alonso schaich 2009-09-14 18:46:00 UTC
(In reply to comment #2)
> (In reply to comment #0)
> > when opening a cmake project that contains illegal `include_directories`
> > directives, kdevelop crashes.
> > fixing the include_directories enables kdevelop to load the project but i think
> > kdevelop shouldn't crash because of something like that.
> 
> What does "illegal" mean? Can you post your cmakelists.txt?

with illegal i meant URLs that do not exist.

CMakeLists.txt:
project(ren)

include_directories(${wileynet_SOURCE_DIR}/libWileynet ${wileynet_SOURCE_DIR}/Server/libStorageBackend ${ren_SOURCE_DIR})

set(ren_SRC
    ConfigurationManager.cc
    NetworkInterface.cc
    Wiley.cc
    infrastructure.cc
    main.cc
   )

set(ren_MOC_HDR
    ConfigurationManager.h
    NetworkInterface.h
    Wiley.h
   )

qt4_automoc(${ren_SRC})
QT4_WRAP_CPP(ren_MOC_SRC ${ren_MOC_HDR})

add_executable(ren ${ren_SRC} ${ren_MOC_SRC})
target_link_libraries(ren StorageBackend RenProcessors ${COMMON_LIBS} ${QT_QTSQL_LIBRARY})

install( TARGETS   ren            DESTINATION bin            )
install( FILES     share/template DESTINATION share/wileynet )

add_subdirectory(processors)

actually none of those include directories ( other then ren_SOURCE_DIR ) exists.

(In reply to comment #3)
> An example would be great, yes, since the code that's crashing it's not inside
> cmake code.
> 
> if you could provide a backtrace with debug info that would be great as well.

i hope having debug symbols in only kdevplatform, kdevelop and kdelibs is enough:

#0  0x00007ffff30ac095 in raise () from /lib64/libc.so.6
#1  0x00007ffff30ad4c0 in abort () from /lib64/libc.so.6
#2  0x00007ffff30e689d in __libc_message () from /lib64/libc.so.6
#3  0x00007ffff30ebe46 in malloc_printerr () from /lib64/libc.so.6
#4  0x00007ffff30f148b in _int_realloc () from /lib64/libc.so.6
#5  0x00007ffff30f18c0 in realloc () from /lib64/libc.so.6
#6  0x00007ffff4c70f8e in QListData::realloc(int) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007ffff4c71192 in QListData::append() () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007fffd485bea1 in QList<QString>::append (this=0x7fffd4ae91a8, t=...) at /usr/include/qt4/QtCore/qlist.h:429
#9  0x00007fffd4871ef9 in QStringList::operator<< (this=0x33d7, str=...) at /usr/include/qt4/QtCore/qstringlist.h:87
#10 0x00007fffd4879ca8 in CppTools::setupStandardIncludePaths (includePaths=<value optimized out>)
    at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/setuphelpers.cpp:89
#11 0x00007fffd48705b9 in CppUtils::standardIncludePaths () at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/cpputils.cpp:186
#12 0x00007fffd485cbc2 in IncludePathComputer::computeBackground (this=0x7fffc40285f0)
    at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/includepathcomputer.cpp:118
#13 0x00007fffd4861e6e in CPPParseJob::includePaths (this=0x3955e50)
    at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/cppparsejob.cpp:244
#14 0x00007fffd4861f09 in CPPParseJob::includePathUrls (this=0x33d7)
    at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/cppparsejob.cpp:228
#15 0x00007fffd486ce30 in PreprocessJob::run (this=0x39bf2e0)
    at /mnt/tmpfs/portage/dev-util/kdevelop-9999/work/kdevelop-9999/languages/cpp/preprocessjob.cpp:190
#16 0x00007ffff6479d71 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fffca82ceb0, th=0x7fffd811a540, job=0x39bf2e0)
    at /mnt/tmpfs/portage/kde-base/kdelibs-4.3.1-r1/work/kdelibs-4.3.1/threadweaver/Weaver/Job.cpp:106
#17 0x00007ffff6479f49 in ThreadWeaver::Job::execute (this=0x39bf2e0, th=0x7fffd811a540)
    at /mnt/tmpfs/portage/kde-base/kdelibs-4.3.1-r1/work/kdelibs-4.3.1/threadweaver/Weaver/Job.cpp:135
#18 0x00007ffff647be83 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x22f1400, t=0x7fffd811a540)
    at /mnt/tmpfs/portage/kde-base/kdelibs-4.3.1-r1/work/kdelibs-4.3.1/threadweaver/Weaver/JobCollection.cpp:82
#19 0x00007ffff647bde0 in ThreadWeaver::JobCollection::execute (this=0x3955e50, t=0x7fffd811a540)
    at /mnt/tmpfs/portage/kde-base/kdelibs-4.3.1-r1/work/kdelibs-4.3.1/threadweaver/Weaver/JobCollection.cpp:228
#20 0x00007ffff647940f in ThreadWeaver::ThreadRunHelper::run (this=0x7fffca82cfd0, parent=0x17010b0, th=0x7fffd811a540)
    at /mnt/tmpfs/portage/kde-base/kdelibs-4.3.1-r1/work/kdelibs-4.3.1/threadweaver/Weaver/Thread.cpp:95
#21 0x00007ffff6479554 in ThreadWeaver::Thread::run (this=0x7fffd811a540)
    at /mnt/tmpfs/portage/kde-base/kdelibs-4.3.1-r1/work/kdelibs-4.3.1/threadweaver/Weaver/Thread.cpp:142
#22 0x00007ffff4c3f3c2 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#23 0x00007ffff49c9624 in start_thread () from /lib64/libpthread.so.0
#24 0x00007ffff314756d in clone () from /lib64/libc.so.6
#25 0x0000000000000000 in ?? ()

i'll put kdevelop's console output into an attachment...
Comment 5 alonso schaich 2009-09-14 18:48:04 UTC
Created attachment 36945 [details]
command line output
Comment 6 Andreas Pakulat 2009-09-14 19:15:15 UTC
Thanks, so this is yet another incarnation of MALLOC_CHECK_ set to abort the app. See the duplicate report(s) for a workaround.

*** This bug has been marked as a duplicate of bug 206775 ***