https://bugs.kde.org/show_bug.cgi?id=417971

            Bug ID: 417971
           Summary: Kdevelop crashes during autocomplete
           Product: kdevelop
           Version: 5.5.0
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: ansl...@yahoo.com
  Target Milestone: ---

Application: kdevelop (5.5.0)

Qt Version: 5.13.2
Frameworks Version: 5.64.0
Operating System: Linux 4.19.93-gentoo x86_64
Distribution: "Gentoo Base System release 2.6"

-- Information about the crash:
- What I was doing when the application crashed:

The crashes seem to happen at random moments, though they started happening
after I replaced some manual std::unique_ptr instantiations with calls to
boost::make_unique, not sure if it's related or just a coincidence.

The stack trace is similar to that from some bugs related to static_assert
parsing with clang 3.9, but given I'm using clang 9.0.1 it shouldn't be
related.

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#7  0x00007f113662f51d in clang::Stmt::getStmtClass() const (this=<optimized
out>) at
/var/tmp/portage/sys-devel/clang-9.0.1/work/x/y/clang/include/clang/AST/Stmt.h:1088
#8  0x00007f113662f51d in clang::cxcursor::MakeCXCursor(clang::Stmt const*,
clang::Decl const*, CXTranslationUnitImpl*, clang::SourceRange) (S=S@entry=0x0,
Parent=0x0, TU=0x7f10f402be00, RegionOfInterest=...) at
/var/tmp/portage/sys-devel/clang-9.0.1/work/x/y/clang/tools/libclang/CXCursor.cpp:132
#9  0x00007f11365fbfd5 in
clang::cxcursor::CursorVisitor::EnqueueWorkList(llvm::SmallVector<clang::cxcursor::VisitorJob,
10u>&, clang::Stmt const*) (this=this@entry=0x7f11195f59e0, WL=...,
S=S@entry=0x0) at
/var/tmp/portage/sys-devel/clang-9.0.1/work/x/y/clang/tools/libclang/CIndex.cpp:2966
#10 0x00007f1136619caf in clang::cxcursor::CursorVisitor::Visit(clang::Stmt
const*) (this=this@entry=0x7f11195f59e0, S=0x0) at
/var/tmp/portage/sys-devel/clang-9.0.1/work/x/y/clang/tools/libclang/CIndex.cpp:3194
#11 0x00007f11366194da in
clang::cxcursor::CursorVisitor::RunVisitorWorkList(llvm::SmallVector<clang::cxcursor::VisitorJob,
10u>&) (this=0x7f11195f59e0, WL=...) at
/var/tmp/portage/sys-devel/clang-9.0.1/work/x/y/clang/tools/libclang/CIndex.cpp:3152


Possible duplicates by query: bug 383612, bug 378294.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to