Bug 374823 - Kdevelop crashed after checkout other branch in project directory [clang::comments::Lexer::lex]
Summary: Kdevelop crashed after checkout other branch in project directory [clang::com...
Status: RESOLVED DUPLICATE of bug 368449
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (Clang-based) (show other bugs)
Version: 5.1.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-01-09 16:43 UTC by Yaroslav Gorbunov
Modified: 2017-03-29 10:08 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yaroslav Gorbunov 2017-01-09 16:43:25 UTC
Application: kdevelop (5.0.3)
 (Compiled from sources)
Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.8.0-26-generic x86_64
Distribution: Ubuntu 16.10

-- Information about the crash:
- What I was doing when the application crashed:
1) git checkout other_branch in Konsole
2) kdevelop crashed

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f1a27a5ca18 in clang::comments::Lexer::lex(clang::comments::Token&) () at /build/llvm-toolchain-3.8-RMgQsv/llvm-toolchain-3.8-3.8.1/tools/clang/lib/AST/CommentLexer.cpp:792
#7  0x00007f1a27a62f5b in clang::comments::Parser::parseParagraphOrBlockCommand() () at /build/llvm-toolchain-3.8-RMgQsv/llvm-toolchain-3.8-3.8.1/tools/clang/include/clang/AST/CommentParser.h:63
#8  0x00007f1a27a6377f in clang::comments::Parser::parseBlockCommand() () at /build/llvm-toolchain-3.8-RMgQsv/llvm-toolchain-3.8-3.8.1/tools/clang/lib/AST/CommentParser.cpp:385
#9  0x00007f1a27a634ba in clang::comments::Parser::parseParagraphOrBlockCommand() () at /build/llvm-toolchain-3.8-RMgQsv/llvm-toolchain-3.8-3.8.1/tools/clang/lib/AST/CommentParser.cpp:576
#10 0x00007f1a27a64030 in clang::comments::Parser::parseFullComment() () at /build/llvm-toolchain-3.8-RMgQsv/llvm-toolchain-3.8-3.8.1/tools/clang/lib/AST/CommentParser.cpp:766
#11 0x00007f1a279d3df0 in clang::RawComment::parse(clang::ASTContext const&, clang::Preprocessor const*, clang::Decl const*) const () at /build/llvm-toolchain-3.8-RMgQsv/llvm-toolchain-3.8-3.8.1/tools/clang/lib/AST/RawCommentList.cpp:221
#12 0x00007f1a27910102 in clang::ASTContext::getCommentForDecl(clang::Decl const*, clang::Preprocessor const*) const () at /build/llvm-toolchain-3.8-RMgQsv/llvm-toolchain-3.8-3.8.1/tools/clang/lib/AST/ASTContext.cpp:543
#13 0x00007f1a278b7bca in clang_Cursor_getParsedComment () at /build/llvm-toolchain-3.8-RMgQsv/llvm-toolchain-3.8-3.8.1/tools/clang/tools/libclang/CXComment.cpp:40
#14 0x00007f1a2861af4d in void (anonymous namespace)::Visitor::setDeclData<(CXCursorKind)21>(CXCursor, KDevelop::Declaration*, bool) const () from /home/y/kde-5/lib/x86_64-linux-gnu/libKDevClangPrivate.so.26
#15 0x00007f1a2861ac36 in void (anonymous namespace)::Visitor::setDeclData<(CXCursorKind)21>(CXCursor, KDevelop::ClassMemberDeclaration*) const () from /home/y/kde-5/lib/x86_64-linux-gnu/libKDevClangPrivate.so.26
#16 0x00007f1a286177d2 in void (anonymous namespace)::Visitor::setDeclData<(CXCursorKind)21>(CXCursor, KDevelop::ClassFunctionDeclaration*) const () from /home/y/kde-5/lib/x86_64-linux-gnu/libKDevClangPrivate.so.26
#17 0x00007f1a2860c93f in KDevelop::ClassFunctionDeclaration* (anonymous namespace)::Visitor::createDeclarationCommon<(CXCursorKind)21, KDevelop::ClassFunctionDeclaration>(CXCursor, KDevelop::Identifier const&) () from /home/y/kde-5/lib/x86_64-linux-gnu/libKDevClangPrivate.so.26
#18 0x00007f1a285ff139 in KDevelop::Declaration* (anonymous namespace)::Visitor::createDeclaration<(CXCursorKind)21, KDevelop::ClassFunctionDeclaration>(CXCursor, KDevelop::Identifier const&, KDevelop::DUContext*) () from /home/y/kde-5/lib/x86_64-linux-gnu/libKDevClangPrivate.so.26
#19 0x00007f1a285eda55 in CXChildVisitResult (anonymous namespace)::Visitor::buildDeclaration<(CXCursorKind)21, KDevelop::ClassFunctionDeclaration, true>(CXCursor) () from /home/y/kde-5/lib/x86_64-linux-gnu/libKDevClangPrivate.so.26
#20 0x00007f1a285e3b89 in CXChildVisitResult (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)21, (Decision)0, (Decision)1, (detail::enabler)0>(CXCursor, CXCursor) () from /home/y/kde-5/lib/x86_64-linux-gnu/libKDevClangPrivate.so.26
#21 0x00007f1a285ddd61 in CXChildVisitResult (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)21, (Decision)0, (Decision)2, (detail::enabler)0>(CXCursor, CXCursor) () from /home/y/kde-5/lib/x86_64-linux-gnu/libKDevClangPrivate.so.26
#22 0x00007f1a285d83cf in CXChildVisitResult (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)21, (Decision)2, (detail::enabler)0>(CXCursor, CXCursor) () from /home/y/kde-5/lib/x86_64-linux-gnu/libKDevClangPrivate.so.26
#23 0x00007f1a285d5f19 in (anonymous namespace)::visitCursor(CXCursor, CXCursor, void*) () from /home/y/kde-5/lib/x86_64-linux-gnu/libKDevClangPrivate.so.26
#24 0x00007f1a278a47f5 in clang::cxcursor::CursorVisitor::Visit(CXCursor, bool) () at /build/llvm-toolchain-3.8-RMgQsv/llvm-toolchain-3.8-3.8.1/tools/clang/tools/libclang/CIndex.cpp:211
#25 0x00007f1a278a8149 in clang::cxcursor::CursorVisitor::VisitDeclContext(clang::DeclContext*) () at /build/llvm-toolchain-3.8-RMgQsv/llvm-toolchain-3.8-3.8.1/tools/clang/tools/libclang/CIndex.cpp:657
#26 0x00007f1a278a4290 in clang::cxcursor::CursorVisitor::VisitChildren(CXCursor) () at /build/llvm-toolchain-3.8-RMgQsv/llvm-toolchain-3.8-3.8.1/tools/clang/tools/libclang/CIndex.cpp:500
#27 0x00007f1a278acf74 in clang_visitChildren () at /build/llvm-toolchain-3.8-RMgQsv/llvm-toolchain-3.8-3.8.1/tools/clang/tools/libclang/CIndex.cpp:3647
#28 0x00007f1a285ea28d in CXChildVisitResult (anonymous namespace)::Visitor::buildDeclaration<(CXCursorKind)4, KDevelop::ClassDeclaration, true>(CXCursor) () from /home/y/kde-5/lib/x86_64-linux-gnu/libKDevClangPrivate.so.26
#29 0x00007f1a285e1463 in CXChildVisitResult (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)4, (Decision)1, (Decision)0, (detail::enabler)0>(CXCursor, CXCursor) () from /home/y/kde-5/lib/x86_64-linux-gnu/libKDevClangPrivate.so.26
#30 0x00007f1a285dd41d in CXChildVisitResult (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)4, (Decision)1, (Decision)2, (detail::enabler)0>(CXCursor, CXCursor) () from /home/y/kde-5/lib/x86_64-linux-gnu/libKDevClangPrivate.so.26
#31 0x00007f1a285d7fdb in CXChildVisitResult (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)4, (Decision)2, (detail::enabler)0>(CXCursor, CXCursor) () from /home/y/kde-5/lib/x86_64-linux-gnu/libKDevClangPrivate.so.26
#32 0x00007f1a285d5db1 in (anonymous namespace)::visitCursor(CXCursor, CXCursor, void*) () from /home/y/kde-5/lib/x86_64-linux-gnu/libKDevClangPrivate.so.26
#33 0x00007f1a278a47f5 in clang::cxcursor::CursorVisitor::Visit(CXCursor, bool) () at /build/llvm-toolchain-3.8-RMgQsv/llvm-toolchain-3.8-3.8.1/tools/clang/tools/libclang/CIndex.cpp:211
#34 0x00007f1a278a8149 in clang::cxcursor::CursorVisitor::VisitDeclContext(clang::DeclContext*) () at /build/llvm-toolchain-3.8-RMgQsv/llvm-toolchain-3.8-3.8.1/tools/clang/tools/libclang/CIndex.cpp:657
#35 0x00007f1a278a44a4 in clang::cxcursor::CursorVisitor::VisitChildren(CXCursor) () at /build/llvm-toolchain-3.8-RMgQsv/llvm-toolchain-3.8-3.8.1/tools/clang/tools/libclang/CIndex.cpp:532
#36 0x00007f1a278acf74 in clang_visitChildren () at /build/llvm-toolchain-3.8-RMgQsv/llvm-toolchain-3.8-3.8.1/tools/clang/tools/libclang/CIndex.cpp:3647
#37 0x00007f1a285d54dd in (anonymous namespace)::Visitor::Visitor(CXTranslationUnitImpl*, void*, QHash<void*, KDevelop::ReferencedTopDUContext> const&, bool) () from /home/y/kde-5/lib/x86_64-linux-gnu/libKDevClangPrivate.so.26
#38 0x00007f1a285d6447 in Builder::visit(CXTranslationUnitImpl*, void*, QHash<void*, KDevelop::ReferencedTopDUContext> const&, bool) () from /home/y/kde-5/lib/x86_64-linux-gnu/libKDevClangPrivate.so.26
#39 0x00007f1a28631650 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) () from /home/y/kde-5/lib/x86_64-linux-gnu/libKDevClangPrivate.so.26
#40 0x00007f1a28630e67 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) () from /home/y/kde-5/lib/x86_64-linux-gnu/libKDevClangPrivate.so.26
#41 0x00007f1a28630e67 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) () from /home/y/kde-5/lib/x86_64-linux-gnu/libKDevClangPrivate.so.26
#42 0x00007f1a28630e67 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) () from /home/y/kde-5/lib/x86_64-linux-gnu/libKDevClangPrivate.so.26
#43 0x00007f1a288bbe8c in ClangParseJob::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () from /home/y/kde-5/lib/x86_64-linux-gnu/plugins/kdevplatform/26/kdevclangsupport.so
#44 0x00007f1a5954861a in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#45 0x00007f1a59548c28 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#46 0x00007f1a59547660 in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#47 0x00007f1a59547200 in ThreadWeaver::Thread::run() () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#48 0x00007f1a6447fc68 in QThreadPrivate::start (arg=0x55e136666700) at thread/qthread_unix.cpp:341
#49 0x00007f1a5da5d70a in start_thread (arg=0x7f1a1dd89700) at pthread_create.c:359
#50 0x00007f1a63d8b0af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 6 (LWP 4928):
#1  0x00007f1a5cc09c60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1a5cbc5485 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1a5cbc5974 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1a5cbc5aec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f1a646ad4ab in QEventDispatcherGlib::processEvents (this=0x7f1a18002e00, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#6  0x00007f1a646550fa in QEventLoop::exec (this=this@entry=0x7f1a1d587ca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#7  0x00007f1a6447ad43 in QThread::exec (this=this@entry=0x55e13a5619c0) at thread/qthread.cpp:500
#8  0x00007f1a59eecc65 in QQmlThreadPrivate::run (this=0x55e13a5619c0) at qml/ftw/qqmlthread.cpp:141
#9  0x00007f1a6447fc68 in QThreadPrivate::start (arg=0x55e13a5619c0) at thread/qthread_unix.cpp:341
#10 0x00007f1a5da5d70a in start_thread (arg=0x7f1a1d588700) at pthread_create.c:359
#11 0x00007f1a63d8b0af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 5 (LWP 4913):
#1  0x00007f1a5cbc59d6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1a5cbc5aec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1a646ad4ab in QEventDispatcherGlib::processEvents (this=0x7f1a200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007f1a646550fa in QEventLoop::exec (this=this@entry=0x7f1a248c3c40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f1a6447ad43 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:500
#6  0x00007f1a61ec460a in KDevelop::CompletionWorkerThread::run() () from /home/y/kde-5/lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.10
#7  0x00007f1a6447fc68 in QThreadPrivate::start (arg=0x55e1329659d0) at thread/qthread_unix.cpp:341
#8  0x00007f1a5da5d70a in start_thread (arg=0x7f1a248c4700) at pthread_create.c:359
#9  0x00007f1a63d8b0af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 4 (LWP 4912):
#1  0x00007f1a64480a66 in QWaitConditionPrivate::wait_relative (time=1000, this=0x55e1325f4960) at thread/qwaitcondition_unix.cpp:126
#2  QWaitConditionPrivate::wait (time=1000, this=0x55e1325f4960) at thread/qwaitcondition_unix.cpp:134
#3  QWaitCondition::wait (this=<optimized out>, mutex=0x55e1325edba0, time=1000) at thread/qwaitcondition_unix.cpp:208
#4  0x00007f1a61d79b2a in KDevelop::DUChainPrivate::CleanupThread::run() () from /home/y/kde-5/lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.10
#5  0x00007f1a6447fc68 in QThreadPrivate::start (arg=0x55e1325edb80) at thread/qthread_unix.cpp:341
#6  0x00007f1a5da5d70a in start_thread (arg=0x7f1a32208700) at pthread_create.c:359
#7  0x00007f1a63d8b0af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 3 (LWP 4911):
#1  0x00007f1a5cbc4ecc in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1a5cbc58fb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1a5cbc5aec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1a646ad4ab in QEventDispatcherGlib::processEvents (this=0x7f1a380008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007f1a646550fa in QEventLoop::exec (this=this@entry=0x7f1a3f28cc90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f1a6447ad43 in QThread::exec (this=this@entry=0x7f1a668edd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:500
#7  0x00007f1a66879575 in QDBusConnectionManager::run (this=0x7f1a668edd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:171
#8  0x00007f1a6447fc68 in QThreadPrivate::start (arg=0x7f1a668edd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:341
#9  0x00007f1a5da5d70a in start_thread (arg=0x7f1a3f28d700) at pthread_create.c:359
#10 0x00007f1a63d8b0af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (LWP 4910):
#1  0x00007f1a555e3c62 in poll (__timeout=-1, __nfds=1, __fds=0x7f1a4497abc0) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x55e1320c3100, cond=cond@entry=0x55e1320c3140, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:459
#3  0x00007f1a555e58d7 in xcb_wait_for_event (c=0x55e1320c3100) at ../../src/xcb_in.c:693
#4  0x00007f1a46ed2299 in QXcbEventReader::run (this=0x55e1320cd7d0) at qxcbconnection.cpp:1325
#5  0x00007f1a6447fc68 in QThreadPrivate::start (arg=0x55e1320cd7d0) at thread/qthread_unix.cpp:341
#6  0x00007f1a5da5d70a in start_thread (arg=0x7f1a4497b700) at pthread_create.c:359
#7  0x00007f1a63d8b0af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (LWP 4909):
#1  0x00007f1a5cbc59d6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1a5cbc5aec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1a646ad4ab in QEventDispatcherGlib::processEvents (this=0x55e1320f1590, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007f1a646550fa in QEventLoop::exec (this=this@entry=0x7fffc023d110, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f1a6465d90c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1285
#6  0x000055e130c1ca28 in main ()

Possible duplicates by query: bug 367898.

Reported using DrKonqi
Comment 1 Sven Brauch 2017-01-09 17:08:03 UTC
I think a similar bug was fixed in clang 3.9, can you test if it still happens with 5.0.80 (AppImage available on kdevelop.org/download)? Thanks!
Comment 2 Rolf Eike Beer 2017-03-28 19:52:10 UTC
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1fc4980900 (LWP 3816))]

Thread 14 (Thread 0x7f1f3ffff700 (LWP 8599)):
#0  0x00007f1fbb3ba0af in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1fb357eabb in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007f1fb357eae9 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007f1fbb3b5734 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f1fc17a4d3d in clone () at /lib64/libc.so.6

Thread 13 (Thread 0x7f1f3e50d700 (LWP 4626)):
#0  0x00007f1fc179851d in read () at /lib64/libc.so.6
#1  0x00007f1fb9273670 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f1fb9232e49 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f1fb92332a8 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f1fb923342c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f1fc209884b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f1fc20479cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f1fc1e8d30a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007f1fc1e91bcf in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f1fbb3b5734 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f1fc17a4d3d in clone () at /lib64/libc.so.6

Thread 12 (Thread 0x7f1f5dc8e700 (LWP 4602)):
#0  0x00007f1fc177530d in nanosleep () at /lib64/libc.so.6
#1  0x00007f1fc1f361ad in  () at /usr/lib64/libQt5Core.so.5
#2  0x00007f1fc1e91041 in QThread::usleep(unsigned long) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f1fbf962ea6 in KDevelop::DUChainLock::lockForWrite(unsigned int) () at /usr/lib64/libKDevPlatformLanguage.so.10
#4  0x00007f1fbf96309c in KDevelop::DUChainWriteLocker::lock() () at /usr/lib64/libKDevPlatformLanguage.so.10
#5  0x00007f1f7e9b33d9 in (anonymous namespace)::Visitor::buildDeclaration<(CXCursorKind)10, KDevelop::Declaration, false>(CXCursor) (id=..., cursor=..., this=0x7f1f5dc8d470) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:378
#6  0x00007f1f7e9b33d9 in (anonymous namespace)::Visitor::buildDeclaration<(CXCursorKind)10, KDevelop::Declaration, false>(CXCursor) (context=0x0, id=..., cursor=..., this=0x7f1f5dc8d470) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:407
#7  0x00007f1f7e9b33d9 in (anonymous namespace)::Visitor::buildDeclaration<(CXCursorKind)10, KDevelop::Declaration, false>(CXCursor) (this=this@entry=0x7f1f5dc8d470, cursor=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:1150
#8  0x00007f1f7e9d7d31 in (anonymous namespace)::visitCursor(CXCursor, CXCursor, CXClientData) (cursor=..., this=0x7f1f5dc8d470) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:1156
#9  0x00007f1f7e9d7d31 in (anonymous namespace)::visitCursor(CXCursor, CXCursor, CXClientData) (cursor=..., parent=..., data=0x7f1f5dc8d470) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:1503
#10 0x00007f1f7e6e39bb in  () at /usr/lib64/libclang.so.3.8
#11 0x00007f1f7e6e6ed1 in  () at /usr/lib64/libclang.so.3.8
#12 0x00007f1f7e6e5241 in  () at /usr/lib64/libclang.so.3.8
#13 0x00007f1f7e6e40c7 in  () at /usr/lib64/libclang.so.3.8
#14 0x00007f1f7e6ede25 in clang_visitChildren () at /usr/lib64/libclang.so.3.8
#15 0x00007f1f7e9c8eba in (anonymous namespace)::Visitor::buildDeclaration<(CXCursorKind)21, KDevelop::ClassFunctionDeclaration, true>(CXCursor) (this=this@entry=0x7f1f5dc8d470, cursor=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:1147
#16 0x00007f1f7e9c936b in (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)21, (Decision)2, (detail::type)0>(CXCursor, CXCursor) (parent=..., cursor=..., this=<optimized out>) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:907
#17 0x00007f1f7e9c936b in (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)21, (Decision)2, (detail::type)0>(CXCursor, CXCursor) (parent=..., cursor=..., this=0x7f1f5dc8d470) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:883
#18 0x00007f1f7e9c936b in (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)21, (Decision)2, (detail::type)0>(CXCursor, CXCursor) (this=this@entry=0x7f1f5dc8d470, cursor=..., parent=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:871
#19 0x00007f1f7e9d7cd5 in (anonymous namespace)::visitCursor(CXCursor, CXCursor, CXClientData) (cursor=..., parent=..., data=0x7f1f5dc8d470) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:1462
#20 0x00007f1f7e6e39bb in  () at /usr/lib64/libclang.so.3.8
#21 0x00007f1f7e6e5be3 in  () at /usr/lib64/libclang.so.3.8
#22 0x00007f1f7e6e67af in  () at /usr/lib64/libclang.so.3.8
#23 0x00007f1f7e6e5488 in  () at /usr/lib64/libclang.so.3.8
#24 0x00007f1f7e6e40c7 in  () at /usr/lib64/libclang.so.3.8
#25 0x00007f1f7e6ede25 in clang_visitChildren () at /usr/lib64/libclang.so.3.8
#26 0x00007f1f7e9c1de7 in (anonymous namespace)::Visitor::buildDeclaration<(CXCursorKind)2, KDevelop::ClassDeclaration, true>(CXCursor) (this=this@entry=0x7f1f5dc8d470, cursor=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:1147
#27 0x00007f1f7e9c249b in (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)2, (Decision)2, (detail::type)0>(CXCursor, CXCursor) (parent=..., cursor=..., this=0x7f1f5dc8d470) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:907
#28 0x00007f1f7e9c249b in (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)2, (Decision)2, (detail::type)0>(CXCursor, CXCursor) (parent=..., cursor=..., this=0x7f1f5dc8d470) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:883
#29 0x00007f1f7e9c249b in (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)2, (Decision)2, (detail::type)0>(CXCursor, CXCursor) (this=this@entry=0x7f1f5dc8d470, cursor=..., parent=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:871
#30 0x00007f1f7e9d7e39 in (anonymous namespace)::visitCursor(CXCursor, CXCursor, CXClientData) (cursor=..., parent=..., data=0x7f1f5dc8d470) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:1452
#31 0x00007f1f7e6e39bb in  () at /usr/lib64/libclang.so.3.8
#32 0x00007f1f7e6e5be3 in  () at /usr/lib64/libclang.so.3.8
#33 0x00007f1f7e6e5271 in  () at /usr/lib64/libclang.so.3.8
#34 0x00007f1f7e6e40c7 in  () at /usr/lib64/libclang.so.3.8
#35 0x00007f1f7e6ede25 in clang_visitChildren () at /usr/lib64/libclang.so.3.8
#36 0x00007f1f7e9bdf22 in (anonymous namespace)::Visitor::buildDeclaration<(CXCursorKind)22, KDevelop::Declaration, true>(CXCursor) (this=this@entry=0x7f1f5dc8d470, cursor=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:1147
#37 0x00007f1f7e9be0b5 in (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)22, (Decision)1, (Decision)0, (detail::type)0>(CXCursor, CXCursor) (this=this@entry=0x7f1f5dc8d470, cursor=..., parent=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:907
#38 0x00007f1f7e9d7ead in (anonymous namespace)::visitCursor(CXCursor, CXCursor, CXClientData) (cursor=..., parent=..., data=0x7f1f5dc8d470) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:1463
#39 0x00007f1f7e6e39bb in  () at /usr/lib64/libclang.so.3.8
#40 0x00007f1f7e6e5be3 in  () at /usr/lib64/libclang.so.3.8
#41 0x00007f1f7e6e4436 in  () at /usr/lib64/libclang.so.3.8
#42 0x00007f1f7e6ede25 in clang_visitChildren () at /usr/lib64/libclang.so.3.8
#43 0x00007f1f7e9a5051 in (anonymous namespace)::Visitor::Visitor(CXTranslationUnit, CXFile, IncludeFileContexts const&, bool) (this=0x7f1f5dc8d470, tu=<optimized out>, file=<optimized out>, includes=..., update=<optimized out>) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:1378
#44 0x00007f1f7e9a5dee in Builder::visit(CXTranslationUnitImpl*, void*, QHash<void*, KDevelop::ReferencedTopDUContext> const&, bool) (tu=<optimized out>, file=file@entry=0x7f1f05e6dc60, includes=..., update=update@entry=true) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:1515
#45 0x00007f1f7e9e4284 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=0x7f1f05e6dc60, imports=..., session=..., features=features@entry=158, includedFiles=..., index=index@entry=0x2c642d0, abortFunction=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/clanghelpers.cpp:189
#46 0x00007f1f7e9e3d34 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=0x7f1f4c628d20, imports=..., session=..., features=features@entry=158, includedFiles=..., index=index@entry=0x2c642d0, abortFunction=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/clanghelpers.cpp:121
#47 0x00007f1f7e9e3d34 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=0x7f1e4ce32be0, imports=..., session=..., features=features@entry=158, includedFiles=..., index=index@entry=0x2c642d0, abortFunction=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/clanghelpers.cpp:121
#48 0x00007f1f7e9e3d34 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=0x7f1f444cdf10, imports=..., session=..., features=features@entry=158, includedFiles=..., index=index@entry=0x2c642d0, abortFunction=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/clanghelpers.cpp:121
#49 0x00007f1f7ec3bc62 in ClangParseJob::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) (this=0x430e7e0) at /usr/src/debug/kdevelop-5.1.0/languages/clang/clangparsejob.cpp:323
#50 0x00007f1fb67381aa in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () at /usr/lib64/libKF5ThreadWeaver.so.5
#51 0x00007f1fb6738567 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /usr/lib64/libKF5ThreadWeaver.so.5
#52 0x00007f1fb67373b0 in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /usr/lib64/libKF5ThreadWeaver.so.5
#53 0x00007f1fb6736ad7 in ThreadWeaver::Thread::run() () at /usr/lib64/libKF5ThreadWeaver.so.5
#54 0x00007f1fc1e91bcf in  () at /usr/lib64/libQt5Core.so.5
#55 0x00007f1fbb3b5734 in start_thread () at /lib64/libpthread.so.0
#56 0x00007f1fc17a4d3d in clone () at /lib64/libc.so.6

Thread 11 (Thread 0x7f1f5e48f700 (LWP 4601)):
[KCrash Handler]
#6  0x00007f1f7e3592f7 in clang::comments::Lexer::lex(clang::comments::Token&) () at /usr/lib64/../lib64/libclangAST.so.3.8
#7  0x00007f1f7e35a8cb in clang::comments::Parser::parseParagraphOrBlockCommand() () at /usr/lib64/../lib64/libclangAST.so.3.8
#8  0x00007f1f7e35be22 in clang::comments::Parser::parseFullComment() () at /usr/lib64/../lib64/libclangAST.so.3.8
#9  0x00007f1f7e4176f1 in clang::RawComment::parse(clang::ASTContext const&, clang::Preprocessor const*, clang::Decl const*) const () at /usr/lib64/../lib64/libclangAST.so.3.8
#10 0x00007f1f7e2baefe in clang::ASTContext::getCommentForDecl(clang::Decl const*, clang::Preprocessor const*) const () at /usr/lib64/../lib64/libclangAST.so.3.8
#11 0x00007f1f7e7077ee in clang_Cursor_getParsedComment () at /usr/lib64/libclang.so.3.8
#12 0x00007f1f7e9c7184 in (anonymous namespace)::Visitor::setDeclData<(CXCursorKind)6>(CXCursor, KDevelop::ClassMemberDeclaration*) (setComment=true, this=<optimized out>, decl=0x5a5d900, cursor=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:917
#13 0x00007f1f7e9c7184 in (anonymous namespace)::Visitor::setDeclData<(CXCursorKind)6>(CXCursor, KDevelop::ClassMemberDeclaration*) (cursor=..., decl=decl@entry=0x5a5d900, this=<optimized out>) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:984
#14 0x00007f1f7e9c7b3b in (anonymous namespace)::Visitor::buildDeclaration<(CXCursorKind)6, KDevelop::ClassMemberDeclaration, false>(CXCursor) (id=..., cursor=..., this=0x7f1f5e48e770) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:385
#15 0x00007f1f7e9c7b3b in (anonymous namespace)::Visitor::buildDeclaration<(CXCursorKind)6, KDevelop::ClassMemberDeclaration, false>(CXCursor) (context=0x0, id=..., cursor=..., this=0x7f1f5e48e770) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:407
#16 0x00007f1f7e9c7b3b in (anonymous namespace)::Visitor::buildDeclaration<(CXCursorKind)6, KDevelop::ClassMemberDeclaration, false>(CXCursor) (this=this@entry=0x7f1f5e48e770, cursor=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:1150
#17 0x00007f1f7e9c7bb5 in (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)6, (Decision)0, (Decision)1, (detail::type)0>(CXCursor, CXCursor) (this=this@entry=0x7f1f5e48e770, cursor=..., parent=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:907
#18 0x00007f1f7e9d85b2 in (anonymous namespace)::visitCursor(CXCursor, CXCursor, CXClientData) (cursor=..., parent=..., data=0x7f1f5e48e770) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:1456
#19 0x00007f1f7e6e39bb in  () at /usr/lib64/libclang.so.3.8
#20 0x00007f1f7e6e5be3 in  () at /usr/lib64/libclang.so.3.8
#21 0x00007f1f7e6e67af in  () at /usr/lib64/libclang.so.3.8
#22 0x00007f1f7e6e5488 in  () at /usr/lib64/libclang.so.3.8
#23 0x00007f1f7e6e40c7 in  () at /usr/lib64/libclang.so.3.8
#24 0x00007f1f7e6ede25 in clang_visitChildren () at /usr/lib64/libclang.so.3.8
#25 0x00007f1f7e9c1de7 in (anonymous namespace)::Visitor::buildDeclaration<(CXCursorKind)2, KDevelop::ClassDeclaration, true>(CXCursor) (this=this@entry=0x7f1f5e48e770, cursor=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:1147
#26 0x00007f1f7e9c249b in (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)2, (Decision)2, (detail::type)0>(CXCursor, CXCursor) (parent=..., cursor=..., this=0x7f1f5e48e770) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:907
#27 0x00007f1f7e9c249b in (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)2, (Decision)2, (detail::type)0>(CXCursor, CXCursor) (parent=..., cursor=..., this=0x7f1f5e48e770) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:883
#28 0x00007f1f7e9c249b in (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)2, (Decision)2, (detail::type)0>(CXCursor, CXCursor) (this=this@entry=0x7f1f5e48e770, cursor=..., parent=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:871
#29 0x00007f1f7e9d7e39 in (anonymous namespace)::visitCursor(CXCursor, CXCursor, CXClientData) (cursor=..., parent=..., data=0x7f1f5e48e770) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:1452
#30 0x00007f1f7e6e39bb in  () at /usr/lib64/libclang.so.3.8
#31 0x00007f1f7e6e5be3 in  () at /usr/lib64/libclang.so.3.8
#32 0x00007f1f7e6e4436 in  () at /usr/lib64/libclang.so.3.8
#33 0x00007f1f7e6ede25 in clang_visitChildren () at /usr/lib64/libclang.so.3.8
#34 0x00007f1f7e9a5051 in (anonymous namespace)::Visitor::Visitor(CXTranslationUnit, CXFile, IncludeFileContexts const&, bool) (this=0x7f1f5e48e770, tu=<optimized out>, file=<optimized out>, includes=..., update=<optimized out>) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:1378
#35 0x00007f1f7e9a5dee in Builder::visit(CXTranslationUnitImpl*, void*, QHash<void*, KDevelop::ReferencedTopDUContext> const&, bool) (tu=<optimized out>, file=file@entry=0x7f1e7064d460, includes=..., update=update@entry=true) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:1515
#36 0x00007f1f7e9e4284 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=0x7f1e7064d460, imports=..., session=..., features=features@entry=158, includedFiles=..., index=index@entry=0x2c642d0, abortFunction=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/clanghelpers.cpp:189
#37 0x00007f1f7e9e3d34 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=0x7f1e70b01ad0, imports=..., session=..., features=features@entry=158, includedFiles=..., index=index@entry=0x2c642d0, abortFunction=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/clanghelpers.cpp:121
#38 0x00007f1f7ec3bc62 in ClangParseJob::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) (this=0x2e99d40) at /usr/src/debug/kdevelop-5.1.0/languages/clang/clangparsejob.cpp:323
#39 0x00007f1fb67381aa in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () at /usr/lib64/libKF5ThreadWeaver.so.5
#40 0x00007f1fb6738567 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /usr/lib64/libKF5ThreadWeaver.so.5
#41 0x00007f1fb67373b0 in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /usr/lib64/libKF5ThreadWeaver.so.5
#42 0x00007f1fb6736ad7 in ThreadWeaver::Thread::run() () at /usr/lib64/libKF5ThreadWeaver.so.5
#43 0x00007f1fc1e91bcf in  () at /usr/lib64/libQt5Core.so.5
#44 0x00007f1fbb3b5734 in start_thread () at /lib64/libpthread.so.0
#45 0x00007f1fc17a4d3d in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7f1f5ec90700 (LWP 4600)):
#0  0x00007f1fc177530d in nanosleep () at /lib64/libc.so.6
#1  0x00007f1fc1f361ad in  () at /usr/lib64/libQt5Core.so.5
#2  0x00007f1fc1e91041 in QThread::usleep(unsigned long) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f1fbf962ea6 in KDevelop::DUChainLock::lockForWrite(unsigned int) () at /usr/lib64/libKDevPlatformLanguage.so.10
#4  0x00007f1fbf96309c in KDevelop::DUChainWriteLocker::lock() () at /usr/lib64/libKDevPlatformLanguage.so.10
#5  0x00007f1f7e9bca1b in (anonymous namespace)::Visitor::buildDeclaration<(CXCursorKind)30, KDevelop::FunctionDefinition, true>(CXCursor) (context=0x604a070, id=..., cursor=..., this=0x7f1f5ec8f470) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:410
#6  0x00007f1f7e9bca1b in (anonymous namespace)::Visitor::buildDeclaration<(CXCursorKind)30, KDevelop::FunctionDefinition, true>(CXCursor) (this=0x7f1f5ec8f470, cursor=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:1144
#7  0x00007f1f7e9cdebd in (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)30, (Decision)2, (detail::type)0>(CXCursor, CXCursor) (parent=..., cursor=..., this=<optimized out>) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:907
#8  0x00007f1f7e9cdebd in (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)30, (Decision)2, (detail::type)0>(CXCursor, CXCursor) (parent=..., cursor=..., this=0x7f1f5ec8f470) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:883
#9  0x00007f1f7e9cdebd in (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)30, (Decision)2, (detail::type)0>(CXCursor, CXCursor) (this=this@entry=0x7f1f5ec8f470, cursor=..., parent=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:871
#10 0x00007f1f7e9d7dc5 in (anonymous namespace)::visitCursor(CXCursor, CXCursor, CXClientData) (cursor=..., parent=..., data=0x7f1f5ec8f470) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:1471
#11 0x00007f1f7e6e39bb in  () at /usr/lib64/libclang.so.3.8
#12 0x00007f1f7e6e5be3 in  () at /usr/lib64/libclang.so.3.8
#13 0x00007f1f7e6e5271 in  () at /usr/lib64/libclang.so.3.8
#14 0x00007f1f7e6e40c7 in  () at /usr/lib64/libclang.so.3.8
#15 0x00007f1f7e6ede25 in clang_visitChildren () at /usr/lib64/libclang.so.3.8
#16 0x00007f1f7e9bdf22 in (anonymous namespace)::Visitor::buildDeclaration<(CXCursorKind)22, KDevelop::Declaration, true>(CXCursor) (this=this@entry=0x7f1f5ec8f470, cursor=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:1147
#17 0x00007f1f7e9be0b5 in (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)22, (Decision)1, (Decision)0, (detail::type)0>(CXCursor, CXCursor) (this=this@entry=0x7f1f5ec8f470, cursor=..., parent=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:907
#18 0x00007f1f7e9d7ead in (anonymous namespace)::visitCursor(CXCursor, CXCursor, CXClientData) (cursor=..., parent=..., data=0x7f1f5ec8f470) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:1463
#19 0x00007f1f7e6e39bb in  () at /usr/lib64/libclang.so.3.8
#20 0x00007f1f7e6e5be3 in  () at /usr/lib64/libclang.so.3.8
#21 0x00007f1f7e6e4436 in  () at /usr/lib64/libclang.so.3.8
#22 0x00007f1f7e6ede25 in clang_visitChildren () at /usr/lib64/libclang.so.3.8
#23 0x00007f1f7e9a5051 in (anonymous namespace)::Visitor::Visitor(CXTranslationUnit, CXFile, IncludeFileContexts const&, bool) (this=0x7f1f5ec8f470, tu=<optimized out>, file=<optimized out>, includes=..., update=<optimized out>) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:1378
#24 0x00007f1f7e9a5dee in Builder::visit(CXTranslationUnitImpl*, void*, QHash<void*, KDevelop::ReferencedTopDUContext> const&, bool) (tu=<optimized out>, file=file@entry=0x7f1f2e187670, includes=..., update=update@entry=true) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/builder.cpp:1515
#25 0x00007f1f7e9e4284 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=0x7f1f2e187670, imports=..., session=..., features=features@entry=158, includedFiles=..., index=index@entry=0x2c642d0, abortFunction=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/clanghelpers.cpp:189
#26 0x00007f1f7e9e3d34 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=0x7f1f2e207760, imports=..., session=..., features=features@entry=158, includedFiles=..., index=index@entry=0x2c642d0, abortFunction=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/clanghelpers.cpp:121
#27 0x00007f1f7e9e3d34 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=0x7f1f2c3d0bf0, imports=..., session=..., features=features@entry=158, includedFiles=..., index=index@entry=0x2c642d0, abortFunction=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/clanghelpers.cpp:121
#28 0x00007f1f7e9e3d34 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=0x7f1f2da98cd0, imports=..., session=..., features=features@entry=158, includedFiles=..., index=index@entry=0x2c642d0, abortFunction=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/duchain/clanghelpers.cpp:121
#29 0x00007f1f7ec3bc62 in ClangParseJob::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) (this=0x53095c0) at /usr/src/debug/kdevelop-5.1.0/languages/clang/clangparsejob.cpp:323
#30 0x00007f1fb67381aa in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () at /usr/lib64/libKF5ThreadWeaver.so.5
#31 0x00007f1fb6738567 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /usr/lib64/libKF5ThreadWeaver.so.5
#32 0x00007f1fb67373b0 in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /usr/lib64/libKF5ThreadWeaver.so.5
#33 0x00007f1fb6736ad7 in ThreadWeaver::Thread::run() () at /usr/lib64/libKF5ThreadWeaver.so.5
#34 0x00007f1fc1e91bcf in  () at /usr/lib64/libQt5Core.so.5
#35 0x00007f1fbb3b5734 in start_thread () at /lib64/libpthread.so.0
#36 0x00007f1fc17a4d3d in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7f1f5f491700 (LWP 4599)):
#0  0x00007f1fbb3ba0af in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1fc1e9286b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f1fb67353ff in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /usr/lib64/libKF5ThreadWeaver.so.5
#3  0x00007f1fb6738dca in  () at /usr/lib64/libKF5ThreadWeaver.so.5
#4  0x00007f1fb673342b in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007f1fb6738e12 in  () at /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007f1fb673342b in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007f1fb6738e12 in  () at /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007f1fb673342b in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib64/libKF5ThreadWeaver.so.5
#9  0x00007f1fb6738e12 in  () at /usr/lib64/libKF5ThreadWeaver.so.5
#10 0x00007f1fb673342b in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib64/libKF5ThreadWeaver.so.5
#11 0x00007f1fb6738e12 in  () at /usr/lib64/libKF5ThreadWeaver.so.5
#12 0x00007f1fb673342b in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib64/libKF5ThreadWeaver.so.5
#13 0x00007f1fb6738e12 in  () at /usr/lib64/libKF5ThreadWeaver.so.5
#14 0x00007f1fb673342b in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib64/libKF5ThreadWeaver.so.5
#15 0x00007f1fb6738e12 in  () at /usr/lib64/libKF5ThreadWeaver.so.5
#16 0x00007f1fb673342b in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib64/libKF5ThreadWeaver.so.5
#17 0x00007f1fb6736a26 in ThreadWeaver::Thread::run() () at /usr/lib64/libKF5ThreadWeaver.so.5
#18 0x00007f1fc1e91bcf in  () at /usr/lib64/libQt5Core.so.5
#19 0x00007f1fbb3b5734 in start_thread () at /lib64/libpthread.so.0
#20 0x00007f1fc17a4d3d in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7f1f667d7700 (LWP 4598)):
#0  0x00007f1fbb3ba0af in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1fc1e9286b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f1fb67353ff in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /usr/lib64/libKF5ThreadWeaver.so.5
#3  0x00007f1fb6738dca in  () at /usr/lib64/libKF5ThreadWeaver.so.5
#4  0x00007f1fb673342b in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007f1fb6738e12 in  () at /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007f1fb673342b in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007f1fb6736a26 in ThreadWeaver::Thread::run() () at /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007f1fc1e91bcf in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f1fbb3b5734 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f1fc17a4d3d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f1f66fd8700 (LWP 4464)):
#0  0x00007f1fc179c49d in poll () at /lib64/libc.so.6
#1  0x00007f1fb9233314 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f1fb923342c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f1fc209884b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f1fc20479cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f1fc1e8d30a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f1fb732e348 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f1fc1e91bcf in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f1fbb3b5734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f1fc17a4d3d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f1f6d33a700 (LWP 4275)):
#0  0x00007f1fb92747b9 in g_mutex_lock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f1fb92332c6 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f1fb923342c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f1fc209884b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f1fc20479cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f1fc1e8d30a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f1fbf9f7c93 in  () at /usr/lib64/libKDevPlatformLanguage.so.10
#7  0x00007f1fc1e91bcf in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f1fbb3b5734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f1fc17a4d3d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f1f87fff700 (LWP 4073)):
#0  0x00007f1fc179c49d in poll () at /lib64/libc.so.6
#1  0x00007f1fb9233314 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f1fb923342c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f1fc209884b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f1fc20479cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f1fc1e8d30a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f1fbf9f7c93 in  () at /usr/lib64/libKDevPlatformLanguage.so.10
#7  0x00007f1fc1e91bcf in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f1fbb3b5734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f1fc17a4d3d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f1f8f133700 (LWP 4032)):
#0  0x00007f1fbb3ba458 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f1fc1e927b8 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f1fbf92af93 in  () at /usr/lib64/libKDevPlatformLanguage.so.10
#3  0x00007f1fc1e91bcf in  () at /usr/lib64/libQt5Core.so.5
#4  0x00007f1fbb3b5734 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f1fc17a4d3d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f1f9bfff700 (LWP 3873)):
#0  0x00007f1fb92747d4 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f1fb9232950 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f1fb9233230 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f1fb923342c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f1fc209884b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f1fc20479cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f1fc1e8d30a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007f1fc3b403e5 in  () at /usr/lib64/libQt5DBus.so.5
#8  0x00007f1fc1e91bcf in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f1fbb3b5734 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f1fc17a4d3d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f1fa20e8700 (LWP 3860)):
#0  0x00007f1fc179c49d in poll () at /lib64/libc.so.6
#1  0x00007f1fb1cd63e2 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f1fb1cd7fcf in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f1fa4642759 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f1fc1e91bcf in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f1fbb3b5734 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f1fc17a4d3d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f1fc4980900 (LWP 3816)):
#0  0x00007f1fc177530d in nanosleep () at /lib64/libc.so.6
#1  0x00007f1fc1f361ad in  () at /usr/lib64/libQt5Core.so.5
#2  0x00007f1fc1e91041 in QThread::usleep(unsigned long) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f1fbf962d0a in KDevelop::DUChainLock::lockForRead(unsigned int) () at /usr/lib64/libKDevPlatformLanguage.so.10
#4  0x00007f1fbf962fec in KDevelop::DUChainReadLocker::lock() () at /usr/lib64/libKDevPlatformLanguage.so.10
#5  0x00007f1f7ec41104 in ClangSupport::specialLanguageObjectRange(QUrl const&, KTextEditor::Cursor const&) (this=<optimized out>, url=..., position=...) at /usr/src/debug/kdevelop-5.1.0/languages/clang/clangsupport.cpp:308
#6  0x00007f1f8cf8aa8d in  () at /usr/lib64/qt5/plugins/kdevplatform/27/kdevcontextbrowser.so
#7  0x00007f1f8cf8b0e2 in  () at /usr/lib64/qt5/plugins/kdevplatform/27/kdevcontextbrowser.so
#8  0x00007f1fc2071e2c in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#9  0x00007f1fc207ef42 in QTimer::timerEvent(QTimerEvent*) () at /usr/lib64/libQt5Core.so.5
#10 0x00007f1fc2072d84 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#11 0x00007f1fc2cfb3cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#12 0x00007f1fc2d023a0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#13 0x00007f1fc2049715 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#14 0x00007f1fc209813e in QTimerInfoList::activateTimers() () at /usr/lib64/libQt5Core.so.5
#15 0x00007f1fc2098501 in  () at /usr/lib64/libQt5Core.so.5
#16 0x00007f1fb9233134 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#17 0x00007f1fb9233388 in  () at /usr/lib64/libglib-2.0.so.0
#18 0x00007f1fb923342c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#19 0x00007f1fc209884b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#20 0x00007f1fc20479cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#21 0x00007f1fc204f866 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#22 0x000000000040c52b in main(int, char**) (argc=3, argv=<optimized out>) at /usr/src/debug/kdevelop-5.1.0/app/main.cpp:763
Comment 3 Kevin Funk 2017-03-29 10:08:23 UTC
Same backtrace in bug 368449.

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