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

            Bug ID: 466975
           Summary: kdevelop crashes when parsing wxWidgets source files
    Classification: Applications
           Product: kdevelop
           Version: unspecified
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: nm...@yandex.com
  Target Milestone: ---

Application: kdevelop (5.10.221203 (22.12.3))

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.2.2-arch1-1 x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.27.2 [KCrashBackend]

-- Information about the crash:
I am using kdevelop on Arch Linux to build wx apps as cmake projects. A few
weeks or months ago, it was just fine. Now kdevelop 22.12.3 crashes when it
parses the source files after the project is successfully loaded. Once in a
while, it would load and parse successfully.

I can't know if it's related to kdevelop internals, or to a problem in the
cmake files of wxWidgets. Other projects not involving wxWidgets do not have
this issue. The problem has been tagged 'out of scope' on the wxWidgets forum.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#6  __memcpy_avx_unaligned_erms () at
../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:832
#7  0x00007fbc316aaae6 in llvm::APInt::APInt(llvm::APInt const&) () at
/usr/include/llvm/ADT/APInt.h:157
#8  llvm::APSInt::APSInt(llvm::APSInt const&) () at
/usr/include/llvm/ADT/APSInt.h:23
#10 0x00007fbc30866a43 in clang::FieldDecl::getBitWidthValue(clang::ASTContext
const&) const () at /usr/src/debug/clang/clang-15.0.7.src/lib/AST/Decl.cpp:4283
#11 0x00007fbc9037bbef in (anonymous
namespace)::Visitor::setDeclData<(CXCursorKind)1>(CXCursor,
KDevelop::ClassMemberDeclaration*) const [clone .isra.0] (cursor=...,
decl=decl@entry=0x7fbc369a0110, this=<optimized out>) at
/usr/src/debug/kdevelop/kdevelop-22.12.3/plugins/clang/duchain/builder.cpp:1157


Reported using DrKonqi

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

Reply via email to