I got a recursion when loading plasma-frameworks as project. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffee598f700 (LWP 24306)] 0x00007ffff4d0f3f9 in __cxxabiv1::__si_class_type_info::__do_dyncast(long, __cxxabiv1::__class_type_info::__sub_kind, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info::__dyncast_result&) const () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (gdb) bt #0 0x00007ffff4d0f3f9 in __cxxabiv1::__si_class_type_info::__do_dyncast(long, __cxxabiv1::__class_type_info::__sub_kind, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info::__dyncast_result&) const () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #1 0x00007ffff4d0fee9 in __cxxabiv1::__vmi_class_type_info::__do_dyncast(long, __cxxabiv1::__class_type_info::__sub_kind, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info::__dyncast_result&) const () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #2 0x00007ffff4d0fee9 in __cxxabiv1::__vmi_class_type_info::__do_dyncast(long, __cxxabiv1::__class_type_info::__sub_kind, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info::__dyncast_result&) const () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #3 0x00007ffff4d0d31f in __dynamic_cast () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #4 0x00007fff314c4b48 in Cpp::TemplateDeclaration::setSpecializedFrom(Cpp::TemplateDeclaration*) () from /usr/lib/libkdev4cppduchain.so #5 0x00007fff314c49ba in Cpp::TemplateDeclaration::setSpecializedFrom(Cpp::TemplateDeclaration*) () from /usr/lib/libkdev4cppduchain.so #6 0x00007fff314c49ba in Cpp::TemplateDeclaration::setSpecializedFrom(Cpp::TemplateDeclaration*) () from /usr/lib/libkdev4cppduchain.so #7 0x00007fff314c49ba in Cpp::TemplateDeclaration::setSpecializedFrom(Cpp::TemplateDeclaration*) () from /usr/lib/libkdev4cppduchain.so #8 0x00007fff314c49ba in Cpp::TemplateDeclaration::setSpecializedFrom(Cpp::TemplateDeclaration*) () from /usr/lib/libkdev4cppduchain.so #9 0x00007fff314c49ba in Cpp::TemplateDeclaration::setSpecializedFrom(Cpp::TemplateDeclaration*) () from /usr/lib/libkdev4cppduchain.so #10 0x00007fff314c49ba in Cpp::TemplateDeclaration::setSpecializedFrom(Cpp::TemplateDeclaration*) () from /usr/lib/libkdev4cppduchain.so #11 0x00007fff314c49ba in Cpp::TemplateDeclaration::setSpecializedFrom(Cpp::TemplateDeclaration*) () ... #87168 0x00007fff314c49ba in Cpp::TemplateDeclaration::setSpecializedFrom(Cpp::TemplateDeclaration*) () from /usr/lib/libkdev4cppduchain.so #87169 0x00007fff314c49ba in Cpp::TemplateDeclaration::setSpecializedFrom(Cpp::TemplateDeclaration*) () from /usr/lib/libkdev4cppduchain.so #87170 0x00007fff314c49ba in Cpp::TemplateDeclaration::setSpecializedFrom(Cpp::TemplateDeclaration*) () from /usr/lib/libkdev4cppduchain.so #87171 0x00007fff314c49ba in Cpp::TemplateDeclaration::setSpecializedFrom(Cpp::TemplateDeclaration*) () from /usr/lib/libkdev4cppduchain.so #87172 0x00007fff314c49ba in Cpp::TemplateDeclaration::setSpecializedFrom(Cpp::TemplateDeclaration*) () from /usr/lib/libkdev4cppduchain.so #87173 0x00007fff3148e82d in KDevelop::FunctionDefinition* DeclarationBuilder::openDeclaration<KDevelop::FunctionDefinition>(NameAST*, AST*, KDevelop::Identifier const&, bool, bool) () from /usr/lib/libkdev4cppduchain.so #87174 0x00007fff3147cf36 in DeclarationBuilder::openFunctionDeclaration(NameAST*, AST*) () from /usr/lib/libkdev4cppduchain.so #87175 0x00007fff3147d224 in DeclarationBuilder::visitDeclarator(DeclaratorAST*) () from /usr/lib/libkdev4cppduchain.so #87176 0x00007fff3147b974 in DeclarationBuilder::visitFunctionDeclaration(FunctionDefinitionAST*) () from /usr/lib/libkdev4cppduchain.so #87177 0x00007fff3146a5f3 in ContextBuilder::visitFunctionDefinition(FunctionDefinitionAST*) () from /usr/lib/libkdev4cppduchain.so #87178 0x00007fff31469314 in ContextBuilder::visitTemplateDeclaration(TemplateDeclarationAST*) () from /usr/lib/libkdev4cppduchain.so #87179 0x00007fff311cae39 in ?? () from /usr/lib/libkdev4cppparser.so #87180 0x00007fff314690ac in ContextBuilder::visitNamespace(NamespaceAST*) () from /usr/lib/libkdev4cppduchain.so #87181 0x00007fff3147c074 in DeclarationBuilder::visitNamespace(NamespaceAST*) () from /usr/lib/libkdev4cppduchain.so #87182 0x00007fff311cae39 in ?? () from /usr/lib/libkdev4cppparser.so #87183 0x00007fff3146cdc9 in ?? () from /usr/lib/libkdev4cppduchain.so ---Type <return> to continue, or q <return> to quit--- #87184 0x00007fff3146c32a in ContextBuilder::buildContexts(KSharedPtr<Cpp::EnvironmentFile>, AST*, QList<LineContextPair>*, KDevelop::ReferencedTopDUContext const&, bool) () from /usr/lib/libkdev4cppduchain.so #87185 0x00007fff31477c12 in DeclarationBuilder::buildDeclarations(KSharedPtr<Cpp::EnvironmentFile>, AST*, QList<LineContextPair>*, KDevelop::ReferencedTopDUContext const&, bool) () from /usr/lib/libkdev4cppduchain.so #87186 0x00007fff3198b27a in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so #87187 0x00007fff319904cf in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so #87188 0x00007fff31747cec in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so #87189 0x00007fff3174b04f in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so #87190 0x00007fff3174b67c in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so #87191 0x00007fff3174b8b0 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib/libkdev4cpprpp.so #87192 0x00007fff3174bc26 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib/libkdev4cpprpp.so #87193 0x00007fff319923c3 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so #87194 0x00007fff319888ae in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so #87195 0x00007fff319904cf in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so #87196 0x00007fff31747cec in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so #87197 0x00007fff3174b04f in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so #87198 0x00007fff3174b67c in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so #87199 0x00007fff3174b8b0 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib/libkdev4cpprpp.so #87200 0x00007fff3174bc26 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib/libkdev4cpprpp.so #87201 0x00007fff319923c3 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so #87202 0x00007fffec637cb2 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7ffee598ed50, th=th@entry=0x595aca0, job=job@entry=0x518b9a0) at ../../../threadweaver/Weaver/Job.cpp:106 #87203 0x00007fffec637e6e in ThreadWeaver::Job::execute (this=0x518b9a0, th=0x595aca0) at ../../../threadweaver/Weaver/Job.cpp:135 #87204 0x00007fffec63990b in ThreadWeaver::JobCollectionJobRunner::execute (this=0x5968280, t=0x595aca0) at ../../../threadweaver/Weaver/JobCollection.cpp:82 #87205 0x00007fffec6376bb in ThreadWeaver::Thread::run (this=0x595aca0) at ../../../threadweaver/Weaver/Thread.cpp:108 #87206 0x00007ffff5ce0f2f in QThreadPrivate::start (arg=0x595aca0) at thread/qthread_unix.cpp:338 #87207 0x00007ffff3ac4f6e in start_thread (arg=0x7ffee598f700) at pthread_create.c:311 #87208 0x00007ffff49e29cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Reproducible: Always Steps to Reproduce: open kdevelop with plasma-frameworks
What KDevelop version is that? What repo do you mean by plasma-frameworks (I cannot checkout kde:plasma-frameworks).
kdevelop as mentioned above: ubuntu 4.5.1 and it's kde:plasma-framework without the s, sorry.
Cannot reproduce, does anyone have a full KF5 build setup and can then try to reproduce it there? I also hope this was fixed already for 4.5.2 or 4.6...
This is most likely a duplicate of bug 318492 *** This bug has been marked as a duplicate of bug 318492 ***