https://bugs.kde.org/show_bug.cgi?id=420998
--- Comment #4 from Fikret Skrgic <skr...@gmail.com> --- Now I am getting a crash every single time I open a specific project. Nothing helps. It crashes every time here: Thread 21 "Queue(0x555555b" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fff8da12700 (LWP 5383)] 0x00007fff8ddd4bc1 in isSameTemplateParameterList(clang::ASTContext const&, clang::TemplateParameterList const*, clang::TemplateParameterList const*) [clone .cold] () from /lib64/libclang.so.10 (gdb) (gdb) bt #0 0x00007fff8ddd4bc1 in isSameTemplateParameterList(clang::ASTContext const&, clang::TemplateParameterList const*, clang::TemplateParameterList const*) [clone .cold] () from /lib64/libclang.so.10 #1 0x00007fff8ec2dbaf in clang::ASTDeclReader::findExisting(clang::NamedDecl*) () from /lib64/libclang.so.10 #2 0x00007fff8ec37719 in void clang::ASTDeclReader::mergeRedeclarable<clang::RedeclarableTemplateDecl>(clang::Redeclarable<clang::RedeclarableTemplateDecl>*, clang::ASTDeclReader::RedeclarableResult&, unsigned int) () from /lib64/libclang.so.10 #3 0x00007fff8ec3781e in clang::ASTDeclReader::VisitRedeclarableTemplateDecl(clang::RedeclarableTemplateDecl*) () from /lib64/libclang.so.10 #4 0x00007fff8ec37cc3 in clang::ASTDeclReader::VisitFunctionTemplateDecl(clang::FunctionTemplateDecl*) () from /lib64/libclang.so.10 #5 0x00007fff8ec38c66 in clang::ASTDeclReader::Visit(clang::Decl*) () from /lib64/libclang.so.10 #6 0x00007fff8ec3909b in clang::ASTReader::ReadDeclRecord(unsigned int) () from /lib64/libclang.so.10 #7 0x00007fff8ebd7441 in clang::ASTReader::GetDecl(unsigned int) () from /lib64/libclang.so.10 #8 0x00007fff8ebda469 in clang::ASTReader::FindExternalLexicalDecls(clang::DeclContext const*, llvm::function_ref<bool (clang::Decl::Kind)>, llvm::SmallVectorImpl<clang::Decl*>&) () from /lib64/libclang.so.10 #9 0x00007fff8df4db73 in clang::DeclContext::LoadLexicalDeclsFromExternalStorage() const () from /lib64/libclang.so.10 #10 0x00007fff8df4dc4d in clang::DeclContext::decls_begin() const () from /lib64/libclang.so.10 #11 0x00007fff8de9806c in clang::cxcursor::CursorVisitor::VisitDeclContext(clang::DeclContext*) () from /lib64/libclang.so.10 #12 0x00007fff8de97047 in clang::cxcursor::CursorVisitor::VisitChildren(CXCursor) () from /lib64/libclang.so.10 #13 0x00007fff8de9eccd in clang_visitChildren () from /lib64/libclang.so.10 #14 0x00007fffa4dd6527 in CXChildVisitResult (anonymous namespace)::Visitor::buildDeclaration<(CXCursorKind)22, KDevelop::Declaration, true>(CXCursor) () from /lib64/libKDevClangPrivate.so.33 #15 0x00007fffa4dee33e in (anonymous namespace)::visitCursor(CXCursor, CXCursor, void*) () from /lib64/libKDevClangPrivate.so.33 #16 0x00007fff8de97526 in clang::cxcursor::CursorVisitor::Visit(CXCursor, bool) () from /lib64/libclang.so.10 #17 0x00007fff8de97eed in clang::cxcursor::CursorVisitor::handleDeclForVisitation(clang::Decl const*) () from /lib64/libclang.so.10 #18 0x00007fff8de980e8 in clang::cxcursor::CursorVisitor::VisitDeclContext(clang::DeclContext*) () from /lib64/libclang.so.10 #19 0x00007fff8de97047 in clang::cxcursor::CursorVisitor::VisitChildren(CXCursor) () from /lib64/libclang.so.10 #20 0x00007fff8de9eccd in clang_visitChildren () from /lib64/libclang.so.10 #21 0x00007fffa4dd6527 in CXChildVisitResult (anonymous namespace)::Visitor::buildDeclaration<(CXCursorKind)22, KDevelop::Declaration, true>(CXCursor) () from /lib64/libKDevClangPrivate.so.33 #22 0x00007fffa4dee33e in (anonymous namespace)::visitCursor(CXCursor, CXCursor, void*) () from /lib64/libKDevClangPrivate.so.33 #23 0x00007fff8de97526 in clang::cxcursor::CursorVisitor::Visit(CXCursor, bool) () from /lib64/libclang.so.10 #24 0x00007fff8de97eed in clang::cxcursor::CursorVisitor::handleDeclForVisitation(clang::Decl const*) () from /lib64/libclang.so.10 #25 0x00007fff8de980e8 in clang::cxcursor::CursorVisitor::VisitDeclContext(clang::DeclContext*) () from /lib64/libclang.so.10 #26 0x00007fff8de9730a in clang::cxcursor::CursorVisitor::VisitChildren(CXCursor) () from /lib64/libclang.so.10 #27 0x00007fff8de9eccd in clang_visitChildren () from /lib64/libclang.so.10 #28 0x00007fffa4dd1b0d in Builder::visit(CXTranslationUnitImpl*, void*, QHash<void*, KDevelop::ReferencedTopDUContext> const&, bool) () from /lib64/libKDevClangPrivate.so.33 #29 0x00007fffa4df9a3c in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) () from /lib64/libKDevClangPrivate.so.33 #30 0x00007fffa4df9472 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) () from /lib64/libKDevClangPrivate.so.33 #31 0x00007fffa4df9472 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) () from /lib64/libKDevClangPrivate.so.33 #32 0x00007fffa4df9472 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) () from /lib64/libKDevClangPrivate.so.33 #33 0x00007fffa4df9472 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) () from /lib64/libKDevClangPrivate.so.33 #34 0x00007fffa4df9472 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) () from /lib64/libKDevClangPrivate.so.33 #35 0x00007fffa4e762b4 in ClangParseJob::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () from /usr/lib64/qt5/plugins/kdevplatform/33/kdevclangsupport.so #36 0x00007ffff308c9af in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () from /lib64/libKF5ThreadWeaver.so.5 #37 0x00007ffff308cfcd in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /lib64/libKF5ThreadWeaver.so.5 #38 0x00007ffff308bf94 in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /lib64/libKF5ThreadWeaver.so.5 #39 0x00007ffff308b816 in ThreadWeaver::Thread::run() () from /lib64/libKF5ThreadWeaver.so.5 #40 0x00007ffff671b846 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5 #41 0x00007ffff3a3e432 in start_thread () from /lib64/libpthread.so.0 #42 0x00007ffff63a29d3 in clone () from /lib64/libc.so.6 (gdb) f 0 #0 0x00007fff8ddd4bc1 in isSameTemplateParameterList(clang::ASTContext const&, clang::TemplateParameterList const*, clang::TemplateParameterList const*) [clone .cold] () from /lib64/libclang.so.10 (gdb) -- You are receiving this mail because: You are watching all bug changes.