Bug 309523 - crash when parsing project
Summary: crash when parsing project
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (other bugs)
Version First Reported In: 4.4.0
Platform: Gentoo Packages Linux
: NOR critical
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2012-11-04 12:37 UTC by Barade
Modified: 2018-10-27 04:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Barade 2012-11-04 12:37:00 UTC
As it happened in 4.3 before, unfortunately KDevelop 4.4 crashes on parsing my project again.
But this time I get more output when debugging it, I guess:
kdevelop(12235)/kdevelop (cpp support) IncludePathComputer::computeForeground: Got build-directory from project manager: KUrl("file:///home/peter/project/build")
kdevelop(12235)/kdevelop (cmake support debug) CMakeManager::defines: Querying defines for  0x7fffc110c3c0 0x0
kdevelop(12235)/kdevelop (cpp support) IncludePathComputer::computeForeground: Got  31  include-paths from build-manager
kdevelop(12235)/kdevelop (cpp support) IncludePathComputer::computeBackground: current include path dependency state: "[/home/peter/project/build/src/mpq/Makefile:13:02:33 (rev 0)]"
kdevelop(12235)/kdevelop (cpp support) IncludePathComputer::computeBackground: Did not get any include-paths for KUrl("file:///home/peter/project/src/mpq/CMakeLists.txt")
kdevelop(12235)/kdevelop (cpp support) IncludePathComputer::computeBackground: new include path dependency: "[/home/peter/project/build/src/mpq/Makefile:13:02:33 (rev 0)]"
kdevelop(12235)/kdevelop (cpp support) IncludePathComputer::computeBackground: Failed to resolve include-path for " KUrl("file:///home/peter/project/src/mpq/CMakeLists.txt") ": "Malformed recursive make call"
 "Output was: make: *** No rule to make target `CMakeLists.o'.
make: *** No rule to make target `CMakeLists.lo'.
make: *** No rule to make target `CMakeLists.ko'.
"
kdevelop(12235)/kdevelop (cpp support) CPPParseJob::mergeDefines: DEFINES: QHash(("", "")("QT_NO_CAST_TO_ASCII", "")("QT_GUI_LIB", "")("QT_CORE_LIB", "")("LOCALE_DIR", ""/usr/local/share/locale"")("UNIX", "1")("_REENTRANT", "")("KDE_DEPRECATED_WARNINGS", "")("KDE4_CMAKE_TOPLEVEL_DIR_LENGTH", "31")("QT_NO_STL", "")("LINUX", "1"))
ASSERT: "d" in file /usr/include/ksharedptr.h, line 126

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fff7b7fe700 (LWP 12929)]
0x0000003961c35a75 in raise () from /lib64/libc.so.6


(gdb) bt
#0  0x0000003961c35a75 in raise () from /lib64/libc.so.6
#1  0x0000003961c36ef6 in abort () from /lib64/libc.so.6
#2  0x0000003d25875a34 in qt_message_output(QtMsgType, char const*) () from /usr/lib64/qt4/libQtCore.so.4
#3  0x0000003d25875bcd in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x0000003d25875d69 in qFatal(char const*, ...) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007fffe281ccd7 in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#6  0x00007fffe2578940 in ?? () from /usr/lib64/libkdev4cpprpp.so
#7  0x00007fffe2589d84 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#8  0x00007fffe258a1ae in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib64/libkdev4cpprpp.so
#9  0x00007fffe258a235 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib64/libkdev4cpprpp.so
#10 0x00007fffe281ff4e in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#11 0x0000003d2d80d8cb in ?? () from /usr/lib64/libthreadweaver.so.4
#12 0x0000003d2d80da4e in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#13 0x0000003d2d80ece3 in ?? () from /usr/lib64/libthreadweaver.so.4
#14 0x0000003d2d80d17f in ?? () from /usr/lib64/libthreadweaver.so.4
#15 0x0000003d2d80d238 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#16 0x0000003d2587f83b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#17 0x0000003962807da6 in start_thread () from /lib64/libpthread.so.0
#18 0x0000003961ceb10d in clone () from /lib64/libc.so.6

I am also wondering why the hell KDevelop tries to parse all files in sub directories of my project which is really annoying since I have some big test folders with many test documents which are not included in any CMake files by add_subdirectory but KDevelop says:
kdevelop(12235)/kdevplatform (language) KDevelop::BackgroundParserPrivate::createParseJob: found no languages for url KUrl("file:///bla bla bla")
for all those files.

Reproducible: Always
Comment 1 Milian Wolff 2012-11-09 20:23:09 UTC
That backtrace is useless, please reproduce with current master and get a backtrace for all threads, using:

thread apply all bt

If you want to ignore folders in KDevelop, do a "touch .kdev_ignore" in the folders you want to ignore.
Comment 2 Barade 2012-11-19 16:10:34 UTC
This bt is from 4.4.1:
Thread 18 (Thread 0x7fffbfd87700 (LWP 17396)):
#0  0x00000032bda35ad5 in raise () from /lib64/libc.so.6
#1  0x00000032bda36f56 in abort () from /lib64/libc.so.6
#2  0x00000032ca075a34 in qt_message_output(QtMsgType, char const*) () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00000032ca075bcd in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00000032ca075d69 in qFatal(char const*, ...) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007fffde7f5cd7 in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#6  0x00007fffde597940 in ?? () from /usr/lib64/libkdev4cpprpp.so
#7  0x00007fffde5a8d84 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#8  0x00007fffde5a91ae in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib64/libkdev4cpprpp.so
#9  0x00007fffde5a9235 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib64/libkdev4cpprpp.so
#10 0x00007fffde7f8f4e in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#11 0x0000003da200d8cb in ?? () from /usr/lib64/libthreadweaver.so.4
#12 0x0000003da200da4e in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#13 0x0000003da200ece3 in ?? () from /usr/lib64/libthreadweaver.so.4
#14 0x0000003da200d17f in ?? () from /usr/lib64/libthreadweaver.so.4
#15 0x0000003da200d238 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#16 0x00000032ca07f83b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00000032be607da6 in start_thread () from /lib64/libpthread.so.0
#18 0x00000032bdaebabd in clone () from /lib64/libc.so.6

Thread 17 (Thread 0x7fffce140700 (LWP 17395)):
#0  0x00000032be60c5ec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000032ca08074b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x0000003da200b97e in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x0000003da200e423 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x0000003da200e43c in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x0000003da200d1af in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x0000003da200d238 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#7  0x00000032ca07f83b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00000032be607da6 in start_thread () from /lib64/libpthread.so.0
#9  0x00000032bdaebabd in clone () from /lib64/libc.so.6

Thread 15 (Thread 0x7fffcd93f700 (LWP 16749)):
#0  0x00000032bdae2bc3 in poll () from /lib64/libc.so.6
#1  0x00000032c124a8f6 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00000032c124aa14 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00000032ca1b19e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00000032ca1813a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00000032ca18165d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00000032ca07d1b8 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00000032ca07f83b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00000032be607da6 in start_thread () from /lib64/libpthread.so.0
#9  0x00000032bdaebabd in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7fffce941700 (LWP 16748)):
#0  0x00000032be60c5ec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000032e17a27c4 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00000032be607da6 in start_thread () from /lib64/libpthread.so.0
#3  0x00000032bdaebabd in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7fffdcfdb700 (LWP 16726)):
#0  0x00000032bdae2bc3 in poll () from /lib64/libc.so.6
#1  0x00000032c124a8f6 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00000032c124aa14 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00000032ca1b19e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00000032ca1813a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00000032ca18165d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00000032ca07d1b8 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00000032ca15ffd8 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00000032ca07f83b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00000032be607da6 in start_thread () from /lib64/libpthread.so.0
#10 0x00000032bdaebabd in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fffdd7dc700 (LWP 16714)):
#0  0x00000032bdae2bc3 in poll () from /lib64/libc.so.6
#1  0x00000032c124a8f6 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00000032c124aa14 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00000032ca1b19e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00000032ca1813a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00000032ca18165d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00000032ca07d1b8 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00000032ca07f83b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00000032be607da6 in start_thread () from /lib64/libpthread.so.0
#9  0x00000032bdaebabd in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fffddfdd700 (LWP 16713)):
#0  0x00000032bdae2bc3 in poll () from /lib64/libc.so.6
#1  0x00000032c124a8f6 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00000032c124aa14 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00000032ca1b19e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00000032ca1813a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00000032ca18165d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00000032ca07d1b8 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00000032ca07f83b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00000032be607da6 in start_thread () from /lib64/libpthread.so.0
#9  0x00000032bdaebabd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fffdf805700 (LWP 16712)):
#0  0x00000032be60c5ec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000032def4f124 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#2  0x00000032def4f159 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#3  0x00000032be607da6 in start_thread () from /lib64/libpthread.so.0
#4  0x00000032bdaebabd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fffe5e5e700 (LWP 16710)):
#0  0x00000032bdae5233 in select () from /lib64/libc.so.6
#1  0x00000032ca15e33d in ?? () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00000032ca07f83b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00000032be607da6 in start_thread () from /lib64/libpthread.so.0
#4  0x00000032bdaebabd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ffff29a8700 (LWP 16709)):
#0  0x00000032be60c96e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000032ca0806b3 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00000034e08bfa4b in ?? () from /usr/lib64/libkdevplatformlanguage.so.6
#3  0x00000032ca07f83b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00000032be607da6 in start_thread () from /lib64/libpthread.so.0
#5  0x00000032bdaebabd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ffff7f81780 (LWP 16706)):
#0  0x00000032bdae2bc3 in poll () from /lib64/libc.so.6
#1  0x00000032c124a8f6 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00000032c124aa14 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00000032ca1b198f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00000032cc07f69e in ?? () from /usr/lib64/qt4/libQtGui.so.4
#5  0x00000032ca1813a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00000032ca18165d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00000032ca1860db in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#8  0x000000000041296b in _start ()

In addition to .kdev_ignore it would be useful to have a list in the GUI of excluded folders.
Comment 3 Milian Wolff 2012-11-19 18:20:35 UTC
Please compile/add debug symbols, otherwise we can still not help you properly. Also, what was printed on the CLI? Looks like an assertion - maybe out-of-memory (bad alloc)?
Comment 4 Barade 2012-11-19 21:36:02 UTC
kdevelop(23672)/kdevelop (cpp support) ContextBuilder::buildContexts: ContextBuilder::buildContexts: compiling
ASSERT: "DUChain::lock()->currentThreadHasWriteLock()" in file /var/tmp/portage/dev-util/kdevplatform-1.4.1/work/kdevplatform-1.4.1/language/duchain/ducontext.cpp, line 550

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffcf142700 (LWP 24132)]
0x00000032bda35ad5 in raise () from /lib64/libc.so.6
Comment 5 Milian Wolff 2012-11-21 13:05:14 UTC
ok that is quite clearly a bug but without a proper backtrace that includes the function and line information, we cannot do anything about it:

#5 0x00007fffde7f5cd7 in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so #6 0x00007fffde597940 in ?? () from /usr/lib64/libkdev4cpprpp.so

^-- this makes it impossible to debug
Comment 6 Barade 2012-11-21 15:57:39 UTC
I know that the information is missing but I compiled it (kdevelop AND kdevplatform) with the "debug" useflag on Gentoo. Besides I am wondering why:
#9  0x00007fffde5a9235 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib64/libkdev4cpprpp.so
contains the necessary information.
Comment 7 Barade 2012-11-21 16:06:05 UTC
btw. I forgot some output before:
kdevelop(16350)/kdevelop (cpp support) CPPInternalParseJob::run: ===-- Parsing finished --===> "/usr/include/boost-1_49/boost/proto/detail/lambda_matches.hpp"
kdevelop(16350)/kdevelop (cpp support) CPPInternalParseJob::run: ===-- PARSING --===>  "/usr/include/boost-1_49/boost/proto/matches.hpp"
kdevelop(16350)/kdevelop (cpp support) CPPInternalParseJob::run: building duchain for "/usr/include/boost-1_49/boost/proto/matches.hpp"
kdevelop(16350)/kdevelop (cpp support) ContextBuilder::buildContexts: ContextBuilder::buildContexts: compiling
ASSERT: "DUChain::lock()->currentThreadHasWriteLock()" in file /var/tmp/portage/dev-util/kdevplatform-1.4.1/work/kdevplatform-1.4.1/language/duchain/ducontext.cpp, line 550

probably it crashes when parsing "/usr/include/boost-1_49/boost/proto/matches.hpp". Before opening the project I limited the number of background parser threads to one. Don't know if the order of the output is correct.
Comment 8 Barade 2012-11-21 16:08:30 UTC
#0  0x00000032bda35ad5 in raise () from /lib64/libc.so.6
#1  0x00000032bda36f56 in abort () from /lib64/libc.so.6
#2  0x00000032ca075a34 in qt_message_output(QtMsgType, char const*) () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00000032ca075bcd in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00000032ca075d69 in qFatal(char const*, ...) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00000034e08c465d in KDevelop::DUContext::setOwner(KDevelop::Declaration*) () from /usr/lib64/libkdevplatformlanguage.so.6
#6  0x00000034e08f3d80 in KDevelop::Declaration::~Declaration() () from /usr/lib64/libkdevplatformlanguage.so.6
#7  0x00007fff82a9321f in Cpp::SpecialTemplateDeclaration<TemplateParameterDeclaration>::~SpecialTemplateDeclaration() () from /usr/lib64/libkdev4cppduchain.so
#8  0x00007fff82a932d9 in Cpp::SpecialTemplateDeclaration<TemplateParameterDeclaration>::~SpecialTemplateDeclaration() () from /usr/lib64/libkdev4cppduchain.so
#9  0x00000034e08cd6a1 in KDevelop::DUContext::deleteLocalDeclarations() () from /usr/lib64/libkdevplatformlanguage.so.6
#10 0x00000034e08d0c42 in KDevelop::DUContext::~DUContext() () from /usr/lib64/libkdevplatformlanguage.so.6
#11 0x00007fff82a7d02f in ?? () from /usr/lib64/libkdev4cppduchain.so
#12 0x00007fff82aefc28 in Cpp::TemplateDeclaration::instantiate(KDevelop::InstantiationInformation const&, KDevelop::TopDUContext const*, bool) ()
   from /usr/lib64/libkdev4cppduchain.so
#13 0x00007fff82ae4345 in ?? () from /usr/lib64/libkdev4cppduchain.so
#14 0x00007fff82ae5572 in ?? () from /usr/lib64/libkdev4cppduchain.so
#15 0x00007fff82b1ea8a in NameASTVisitor::visitUnqualifiedName(UnqualifiedNameAST*) () from /usr/lib64/libkdev4cppduchain.so
#16 0x00007fff82b1d1ac in NameASTVisitor::run(NameAST*, bool) () from /usr/lib64/libkdev4cppduchain.so
#17 0x00007fff82b20e95 in TypeASTVisitor::visitName(NameAST*) () from /usr/lib64/libkdev4cppduchain.so
#18 0x00007fff82b2180a in TypeASTVisitor::visitSimpleTypeSpecifier(SimpleTypeSpecifierAST*) () from /usr/lib64/libkdev4cppduchain.so
#19 0x00007fff82b2053c in TypeASTVisitor::run(TypeSpecifierAST*) () from /usr/lib64/libkdev4cppduchain.so
#20 0x00007fff82b205d0 in TypeASTVisitor::run(TypeIdAST*) () from /usr/lib64/libkdev4cppduchain.so
#21 0x00007fff82b1de59 in NameASTVisitor::processTemplateArgument(TemplateArgumentAST*) () from /usr/lib64/libkdev4cppduchain.so
#22 0x00007fff82a862ea in DeclarationBuilder::createSpecializationInformation(KDevelop::InstantiationInformation const&, UnqualifiedNameAST*, KDevelop::DUContext*) ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib64/libkdev4cppduchain.so
#23 0x00007fff82a86915 in DeclarationBuilder::createSpecializationInformation(NameAST*, KDevelop::DUContext*) () from /usr/lib64/libkdev4cppduchain.so
#24 0x00007fff82a8b1a8 in DeclarationBuilder::visitClassSpecifier(ClassSpecifierAST*) () from /usr/lib64/libkdev4cppduchain.so
#25 0x00007fff82ab4c6c in TypeBuilder::visitSimpleDeclaration(SimpleDeclarationAST*) () from /usr/lib64/libkdev4cppduchain.so
#26 0x00007fff82a885b5 in DeclarationBuilder::visitSimpleDeclaration(SimpleDeclarationAST*) () from /usr/lib64/libkdev4cppduchain.so
#27 0x00007fff82a76edf in ContextBuilder::visitTemplateDeclaration(TemplateDeclarationAST*) () from /usr/lib64/libkdev4cppduchain.so
#28 0x00007fff827cb15e in ?? () from /usr/lib64/libkdev4cppparser.so
#29 0x00007fff82a7404a in ContextBuilder::visitNamespace(NamespaceAST*) () from /usr/lib64/libkdev4cppduchain.so
#30 0x00007fff82a8a417 in DeclarationBuilder::visitNamespace(NamespaceAST*) () from /usr/lib64/libkdev4cppduchain.so
#31 0x00007fff827cb15e in ?? () from /usr/lib64/libkdev4cppparser.so
#32 0x00007fff82a7404a in ContextBuilder::visitNamespace(NamespaceAST*) () from /usr/lib64/libkdev4cppduchain.so
#33 0x00007fff82a8a417 in DeclarationBuilder::visitNamespace(NamespaceAST*) () from /usr/lib64/libkdev4cppduchain.so
#34 0x00007fff827cb15e in ?? () from /usr/lib64/libkdev4cppparser.so
#35 0x00007fff82a7404a in ContextBuilder::visitNamespace(NamespaceAST*) () from /usr/lib64/libkdev4cppduchain.so
#36 0x00007fff82a8a417 in DeclarationBuilder::visitNamespace(NamespaceAST*) () from /usr/lib64/libkdev4cppduchain.so
#37 0x00007fff827cb15e in ?? () from /usr/lib64/libkdev4cppparser.so
#38 0x00007fff82a79539 in ?? () from /usr/lib64/libkdev4cppduchain.so
#39 0x00007fff82a78a20 in ContextBuilder::buildContexts(KSharedPtr<Cpp::EnvironmentFile>, AST*, QList<LineContextPair>*, KDevelop::ReferencedTopDUContext const&, bool) ()
   from /usr/lib64/libkdev4cppduchain.so
#40 0x00007fff82a854f8 in DeclarationBuilder::buildDeclarations(KSharedPtr<Cpp::EnvironmentFile>, AST*, QList<LineContextPair>*, KDevelop::ReferencedTopDUContext const&, bool) ()
   from /usr/lib64/libkdev4cppduchain.so
#41 0x00007fffcc2a407d in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#42 0x00007fffcc2a910c in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#43 0x00007fff82d7962c in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#44 0x00007fff82d7c809 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#45 0x00007fff82d7cf47 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#46 0x00007fff82d7d1ae in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib64/libkdev4cpprpp.so
#47 0x00007fff82d7d235 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib64/libkdev4cpprpp.so
#48 0x00007fffcc2aaf4e in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#49 0x00007fffcc29ef3d in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#50 0x00007fffcc2a910c in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#51 0x00007fff82d7962c in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#52 0x00007fff82d7c809 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#53 0x00007fff82d7cf47 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#54 0x00007fff82d7d1ae in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib64/libkdev4cpprpp.so
#55 0x00007fff82d7d235 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib64/libkdev4cpprpp.so
#56 0x00007fffcc2aaf4e in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#57 0x00007fffcc29ef3d in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#58 0x00007fffcc2a910c in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#59 0x00007fff82d7962c in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
---Type <return> to continue, or q <return> to quit---
#60 0x00007fff82d7c809 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#61 0x00007fff82d7cf47 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#62 0x00007fff82d7d1ae in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib64/libkdev4cpprpp.so
#63 0x00007fff82d7d235 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib64/libkdev4cpprpp.so
#64 0x00007fffcc2aaf4e in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#65 0x00007fffcc29ef3d in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#66 0x00007fffcc2a910c in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#67 0x00007fff82d7962c in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#68 0x00007fff82d7c809 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#69 0x00007fff82d7cf47 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#70 0x00007fff82d7d1ae in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib64/libkdev4cpprpp.so
#71 0x00007fff82d7d235 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib64/libkdev4cpprpp.so
#72 0x00007fffcc2aaf4e in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#73 0x00007fffcc29ef3d in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#74 0x00007fffcc2a910c in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#75 0x00007fff82d7962c in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#76 0x00007fff82d7c809 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#77 0x00007fff82d7cf47 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#78 0x00007fff82d7d1ae in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib64/libkdev4cpprpp.so
#79 0x00007fff82d7d235 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib64/libkdev4cpprpp.so
#80 0x00007fffcc2aaf4e in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#81 0x00007fffcc29ef3d in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#82 0x00007fffcc2a910c in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#83 0x00007fff82d7962c in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#84 0x00007fff82d7c809 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#85 0x00007fff82d7cf47 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#86 0x00007fff82d7d1ae in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib64/libkdev4cpprpp.so
#87 0x00007fff82d7d235 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib64/libkdev4cpprpp.so
#88 0x00007fffcc2aaf4e in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#89 0x00007fffcc29ef3d in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#90 0x00007fffcc2a910c in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#91 0x00007fff82d7962c in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#92 0x00007fff82d7c809 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#93 0x00007fff82d7cf47 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#94 0x00007fff82d7d1ae in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib64/libkdev4cpprpp.so
#95 0x00007fff82d7d235 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib64/libkdev4cpprpp.so
#96 0x00007fffcc2aaf4e in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#97 0x00007fffcc29ef3d in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#98 0x00007fffcc2a910c in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#99 0x00007fff82d7962c in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
---Type <return> to continue, or q <return> to quit---
#100 0x00007fff82d7c809 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#101 0x00007fff82d7cf47 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#102 0x00007fff82d7d1ae in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib64/libkdev4cpprpp.so
#103 0x00007fff82d7d235 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib64/libkdev4cpprpp.so
#104 0x00007fffcc2aaf4e in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#105 0x00007fffcc29ef3d in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#106 0x00007fffcc2a910c in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#107 0x00007fff82d7962c in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#108 0x00007fff82d7c809 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#109 0x00007fff82d7cf47 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#110 0x00007fff82d7d1ae in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib64/libkdev4cpprpp.so
#111 0x00007fff82d7d235 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib64/libkdev4cpprpp.so
#112 0x00007fffcc2aaf4e in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#113 0x0000003da200d8cb in ?? () from /usr/lib64/libthreadweaver.so.4
#114 0x0000003da200da4e in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#115 0x0000003da200ece3 in ?? () from /usr/lib64/libthreadweaver.so.4
#116 0x0000003da200d17f in ?? () from /usr/lib64/libthreadweaver.so.4
#117 0x0000003da200d238 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#118 0x00000032ca07f83b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#119 0x00000032be607da6 in start_thread () from /lib64/libpthread.so.0
#120 0x00000032bdaebabd in clone () from /lib64/libc.so.6
Comment 9 Jekyll Wu 2012-11-21 16:21:42 UTC
(In reply to comment #6)
> I know that the information is missing but I compiled it (kdevelop AND
> kdevplatform) with the "debug" useflag on Gentoo. Besides I am wondering why:
> #9  0x00007fffde5a9235 in rpp::pp::processFile(QString const&, QByteArray
> const&) () from /usr/lib64/libkdev4cpprpp.so
> contains the necessary information.

See http://www.gentoo.org/proj/en/qa/backtraces.xml  for the proper way of getting useful backtrace in Gentoo.  In short, you should NOT use "debug" flag.  Use CXXFLAGS and "nostrip" FEATURE.
Comment 10 Barade 2012-11-22 11:57:07 UTC
thx for the information
Now I've compiled both packages with the CXXFLAGS and the "nostrip" feature but couldn't reproduce the bug (tested three times to open the project). Maybe it does only happen without those flags.
May usual flags are:
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer -fexceptions"
CXXFLAGS="${CFLAGS}"
Comment 11 Aleix Pol 2013-03-31 00:47:04 UTC
Moving all the bugs from the CPP Parser. It was not well defined the difference between it and C++ Language Support and people kept reporting in both places indistinctively
Comment 12 Andrew Crouthamel 2018-09-24 02:06:17 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 13 Andrew Crouthamel 2018-10-27 04:21:37 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!