https://bugs.kde.org/show_bug.cgi?id=376084
Francis Herne <m...@flherne.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 CC| |m...@flherne.uk Status|UNCONFIRMED |CONFIRMED --- Comment #1 from Francis Herne <m...@flherne.uk> --- Reproducible with 5.1.0 and Clang 3.9.1 - when opening a document containing only that line, KDevelop crashes immediately with the backtrace below. ----------- Thread 138 "Queue(0x6040004" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffb0fd1700 (LWP 9119)] 0x00007fffb71f04c4 in ?? () from /usr/lib/libclang.so.3.9 (gdb) bt #0 0x00007fffb71f04c4 in () at /usr/lib/libclang.so.3.9 #1 0x00007fffb71f0ac5 in () at /usr/lib/libclang.so.3.9 #2 0x00007fffb711b8c2 in () at /usr/lib/libclang.so.3.9 #3 0x00007fffb71130bf in () at /usr/lib/libclang.so.3.9 #4 0x00007fffb71132a5 in () at /usr/lib/libclang.so.3.9 #5 0x00007fffb7113350 in () at /usr/lib/libclang.so.3.9 #6 0x00007fffb7113369 in () at /usr/lib/libclang.so.3.9 #7 0x00007fffb70e605b in clang_Type_getSizeOf () at /usr/lib/libclang.so.3.9 #8 0x00007fffb89d82cd in (anonymous namespace)::Visitor::setDeclData<(CXCursorKind)2, (detail::enabler)0>(CXCursor, KDevelop::ClassDeclaration*) const (this=<optimized out>, cursor=..., decl=<optimized out>) at /home/flh/projects/kdevelop/languages/clang/duchain/builder.cpp:1044 #9 0x00007fffb89d5e7d in (anonymous namespace)::Visitor::createDeclarationCommon<(CXCursorKind)2, KDevelop::ClassDeclaration>(CXCursor, KDevelop::Identifier const&) (this=0x7fffb0fcf8c0, id=..., cursor=...) at /home/flh/projects/kdevelop/languages/clang/duchain/builder.cpp:396 #10 0x00007fffb89d5e7d in (anonymous namespace)::Visitor::createDeclaration<(CXCursorKind)2, KDevelop::ClassDeclaration>(CXCursor, KDevelop::Identifier const&, KDevelop::DUContext*) (this=<optimized out>, cursor=..., id=..., context=<optimized out>) at /home/flh/projects/kdevelop/languages/clang/duchain/builder.cpp:407 #11 0x00007fffb89d5e7d in (anonymous namespace)::Visitor::buildDeclaration<(CXCursorKind)2, KDevelop::ClassDeclaration, true>(CXCursor) (this=<optimized out>, cursor=...) at /home/flh/projects/kdevelop/languages/clang/duchain/builder.cpp:1144 #12 0x00007fffb89b7bbc in (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)2, (Decision)0, (Decision)0, (detail::enabler)0>(CXCursor, CXCursor) (this=<optimized out>, cursor=..., parent=...) at /home/flh/projects/kdevelop/languages/clang/duchain/builder.cpp:907 #13 0x00007fffb89b7bbc in (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)2, (Decision)0, (Decision)2, (detail::enabler)0>(CXCursor, CXCursor) (this=<optimized out>, cursor=..., parent=...) at /home/flh/projects/kdevelop/languages/clang/duchain/builder.cpp:882 #14 0x00007fffb89b7bbc in (anonymous namespace)::Visitor::dispatchCursor<(CXCursorKind)2, (Decision)2, (detail::enabler)0>(CXCursor, CXCursor) (this=<optimized out>, cursor=..., parent=...) at /home/flh/projects/kdevelop/languages/clang/duchain/builder.cpp:870 #15 0x00007fffb89b7bbc in (anonymous namespace)::visitCursor(CXCursor, CXCursor, void*) (cursor=..., parent=..., data=0x7fffb0fcf8c0) at /home/flh/projects/kdevelop/languages/clang/duchain/builder.cpp:1452 #16 0x00007fffb70acf15 in () at /usr/lib/libclang.so.3.9 #17 0x00007fffb70ac45d in () at /usr/lib/libclang.so.3.9 #18 0x00007fffb70ac582 in () at /usr/lib/libclang.so.3.9 #19 0x00007fffb70acbac in () at /usr/lib/libclang.so.3.9 #20 0x00007fffb70b5704 in clang_visitChildren () at /usr/lib/libclang.so.3.9 #21 0x00007fffb89abc5b in (anonymous namespace)::Visitor::Visitor(CXTranslationUnitImpl*, void*, QHash<void*, KDevelop::ReferencedTopDUContext> const&, bool) (this=<optimized out>, tu=0x7fffb0fcf4c0, file=<optimized out>, includes=..., update=<optimized out>) at /home/flh/projects/kdevelop/languages/clang/duchain/builder.cpp:1378 #22 0x00007fffb89abc5b in Builder::visit(CXTranslationUnitImpl*, void*, QHash<void*, KDevelop::ReferencedTopDUContext> const&, bool) (tu=<optimized out>, file=<optimized out>, includes=..., update=<optimized out>) at /home/flh/projects/kdevelop/languages/clang/duchain/builder.cpp:1515 #23 0x00007fffb8a795c7 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=0x0, imports=..., session=..., features=-24613, includedFiles=..., index=<optimized out>, abortFunction=...) at /home/flh/projects/kdevelop/languages/clang/duchain/clanghelpers.cpp:189 #24 0x00007fffb9012640 in ClangParseJob::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) (this=0x60c000e6ac40) at /home/flh/projects/kdevelop/languages/clang/clangparsejob.cpp:321 #25 0x00007fffb901540d in non-virtual thunk to ClangParseJob::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () at /home/flh/projects/kdevelop/languages/clang/clangparsejob.cpp:219 #26 0x00007fffea2c05d6 in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () at /usr/lib/libKF5ThreadWeaver.so.5 #27 0x00007fffea2c0bd8 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /usr/lib/libKF5ThreadWeaver.so.5 #28 0x00007fffea2bfaea in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /usr/lib/libKF5ThreadWeaver.so.5 #29 0x00007fffea2bf190 in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5 #30 0x00007fffefdad6d8 in () at /usr/lib/libQt5Core.so.5 #31 0x00007fffef44e2e7 in start_thread () at /usr/lib/libpthread.so.0 #32 0x00007fffeeb6c54f in clone () at /usr/lib/libc.so.6 -- You are receiving this mail because: You are watching all bug changes.