Summary: | Crash on Startup | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Ron <ron.atkins> |
Component: | general | Assignee: | kdevelop-bugs-null |
Status: | CONFIRMED --- | ||
Severity: | crash | CC: | skrgic |
Priority: | NOR | Keywords: | drkonqi |
Version: | 5.4.2 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
Ron
2020-05-04 13:20:09 UTC
it's a crash in libclang, so there's not much chance for us to fix it. can you try to use a newer libclang or kdevelop to see if that is fixed? alternatively, can you try to set the following env vars and then attach the output to this report? KDEV_CLANG_DISPLAY_ARGS=1 KDEV_CLANG_DISPLAY_DEFINES=1 that should show us hopefully a way to build a reproducible test case. But beware that this may "leak" information about what you are building, can you share that? I didn't crash again today. I'll try the suggestions below. Thanks, Ron Atkins -----Original Message----- From: Milian Wolff <bugzilla_noreply@kde.org> Sent: Monday, May 4, 2020 9:48 AM To: Ron Atkins <Ron.Atkins@tekfusioninc.com> Subject: [kdevelop] [Bug 420998] Crash on Startup https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.kde.org%2Fshow_bug.cgi%3Fid%3D420998&data=02%7C01%7Cron.atkins%40tekfusioninc.com%7Cd66320a04c7e41dc221508d7f031b44a%7C522748305aef4de4ade92b1107093e0c%7C0%7C0%7C637241968593321201&sdata=MBuSbNe5RQL45m2o3MRmhPkPC0pCBCl%2Bu2qYPUO%2F%2F44%3D&reserved=0 --- Comment #1 from Milian Wolff <mail@milianw.de> --- it's a crash in libclang, so there's not much chance for us to fix it. can you try to use a newer libclang or kdevelop to see if that is fixed? alternatively, can you try to set the following env vars and then attach the output to this report? KDEV_CLANG_DISPLAY_ARGS=1 KDEV_CLANG_DISPLAY_DEFINES=1 that should show us hopefully a way to build a reproducible test case. But beware that this may "leak" information about what you are building, can you share that? -- You are receiving this mail because: You reported the bug. This e-mail may contain confidential or privileged information. This communication and any attached documents may also contain data subject to the International Traffic in Arms Regulations or U.S. Export Administration Regulations and cannot be disseminated, distributed or copied to foreign nationals, residing in the U.S. or abroad, without the prior approval of the U.S. Department of State or appropriate export licensing authority. If you are not the intended recipient, please notify the sender immediately by return e-mail with a copy to: IT@tekfusioninc.com and delete this e-mail and all copies and attachments. Opinions, conclusions and other information in this message that do not relate to the official business of Tek Fusion Global, Inc., shall be understood as neither given nor endorsed by it. Created attachment 128694 [details]
New crash information added by DrKonqi
kdevelop (5.5.1) using Qt 5.13.2
- What I was doing when the application crashed:
I started KDevelop and selected a project. It opened it up. I immediatly clicked on build since I knew there was a problem in my code when I stopped working yesterday and wanted to jump to that point by clicking on the compiler warning. It crashed. I restarted, selected the project again and diod nothing else. As soon as it loaded, it crashed again. I repeated this then over and over again. It hasn't stopped yet. At some point it asked me whether I wanted to clear the cache. It didn't help. I have experienced the same behavior before. It would crash in the middle of writing a line of code. If I would agree to recover after a restart and just start typing that line again, it would crash again. The way I would get it top stop is by not recovering and having git reset changes.
-- Backtrace (Reduced):
#7 0x00007f67192e8baf in clang::ASTDeclReader::findExisting(clang::NamedDecl*) () from /lib64/libclang.so.10
#8 0x00007f67192f2719 in void clang::ASTDeclReader::mergeRedeclarable<clang::RedeclarableTemplateDecl>(clang::Redeclarable<clang::RedeclarableTemplateDecl>*, clang::ASTDeclReader::RedeclarableResult&, unsigned int) () from /lib64/libclang.so.10
#9 0x00007f67192f281e in clang::ASTDeclReader::VisitRedeclarableTemplateDecl(clang::RedeclarableTemplateDecl*) () from /lib64/libclang.so.10
#10 0x00007f67192f2cc3 in clang::ASTDeclReader::VisitFunctionTemplateDecl(clang::FunctionTemplateDecl*) () from /lib64/libclang.so.10
#11 0x00007f67192f3c66 in clang::ASTDeclReader::Visit(clang::Decl*) () from /lib64/libclang.so.10
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) Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version? If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you! (In reply to Justin Zobel from comment #5) > Thank you for reporting this crash in KDE software. As it has been a while > since this issue was reported, can we please ask you to see if you can > reproduce the crash with a recent software version? > > If you can reproduce the issue, please change the status to "CONFIRMED" when > replying. Thank you! Crashed on startup after clearing cache. Tried to retrieve a backtrace with the KDE crash handler, but it states: 'the debugger has quit unexpectedly'. |