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

            Bug ID: 524521
           Summary: KDevelop crash after opening Linux kernel source code
                    and interacting with UI
    Classification: Applications
           Product: kdevelop
      Version First unspecified
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Application: kdevelop (6.5.260403 (26.04.3))

ApplicationNotResponding [ANR]: false
Qt Version: 6.11.2
Frameworks Version: 6.29.0
Operating System: Linux 7.1.8-arch1-3 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.7.4 [CoredumpBackend]

-- Information about the crash:
I had KDevelop crash after opening the linux-7.2 kernel source code.

After I opened it, I clicked on the "Show detailed progress window" in the
bottom right corner of the window and I clicked on the "LSP Client" menu item.

Then, it crashed.

The crash does not seem to be reproducible.

-- Backtrace (Reduced):
#5  __memset_avx2_unaligned_erms () at
../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:231
#6  0x00007f9a63aaade0 in std::__fill_a1<unsigned short*, int>
(__first=<optimized out>, __last=<optimized out>, __value=<optimized out>,
__first=<optimized out>, __last=<optimized out>, __value=<optimized out>) at
/usr/include/c++/16/bits/stl_algobase.h:923
#7  std::__fill_a<unsigned short*, int> (__first=<optimized out>,
__last=<optimized out>, __value=<optimized out>, __first=<optimized out>,
__last=<optimized out>, __value=<optimized out>) at
/usr/include/c++/16/bits/stl_algobase.h:977
#8  std::__fill_n_a<unsigned short*, int, int> (__first=<optimized out>,
__n=<optimized out>, __value=<optimized out>, __first=<optimized out>,
__n=<optimized out>, __value=<optimized out>) at
/usr/include/c++/16/bits/stl_algobase.h:1154
#9  std::fill_n<unsigned short*,
KDevelop::Bucket<KDevelop::CodeModelRepositoryItem,
KDevelop::CodeModelRequestItem, true, 0u>::{unnamed type#3},
int>(KDevelop::Bucket<KDevelop::CodeModelRepositoryItem,
KDevelop::CodeModelRequestItem, true, 0u>::{unnamed type#3},
KDevelop::Bucket<KDevelop::CodeModelRepositoryItem,
KDevelop::CodeModelRequestItem, true, 0u>::{unnamed type#3}, int const&)
(__first=<optimized out>,
__n=KDevelop::Bucket<KDevelop::CodeModelRepositoryItem,
KDevelop::CodeModelRequestItem, true, 0>::NextBucketHashSize,
__value=<optimized out>) at /usr/include/c++/16/bits/stl_algobase.h:1184
#10 KDevelop::Bucket<KDevelop::CodeModelRepositoryItem,
KDevelop::CodeModelRequestItem, true, 0u>::takeNextBucketHash
(this=0x7f9a0521ec80) at
/usr/src/debug/kdevelop/kdevelop-26.04.3/kdevplatform/serialization/itemrepository.h:734
#11 KDevelop::ItemRepository<KDevelop::CodeModelRepositoryItem,
KDevelop::CodeModelRequestItem, true, QMutex, 0u,
1048576u>::convertMonsterBucket (this=this@entry=0x7f9a64094a80
<KDevelop::ItemRepositoryFor<KDevelop::CodeModel>::repo()::repo>,
bucketNumber=bucketNumber@entry=352, extent=1) at
/usr/src/debug/kdevelop/kdevelop-26.04.3/kdevplatform/serialization/itemrepository.h:2144
#12 0x00007f9a63ab0bd6 in
KDevelop::ItemRepository<KDevelop::CodeModelRepositoryItem,
KDevelop::CodeModelRequestItem, true, QMutex, 0u, 1048576u>::index
(this=<optimized out>, request=...) at
/usr/src/debug/kdevelop/kdevelop-26.04.3/kdevplatform/serialization/itemrepository.h:1396
#13 0x00007f9a63ab14c2 in operator() (__closure=<optimized out>, repo=...) at
/usr/src/debug/kdevelop/kdevelop-26.04.3/kdevplatform/language/duchain/codemodel.cpp:242
#15 KDevelop::CodeModel::addItem (this=<optimized out>, file=..., id=...,
kind=<optimized out>) at
/usr/src/debug/kdevelop/kdevelop-26.04.3/kdevplatform/language/duchain/codemodel.cpp:199
#16 0x00007f9a63b16660 in KDevelop::Declaration::setInSymbolTable
(this=0x7f9a05d6b1f0, inSymbolTable=true) at
/usr/src/debug/kdevelop/kdevelop-26.04.3/kdevplatform/language/duchain/declaration.cpp:622
#17 0x00007f9a1020e3dd in (anonymous
namespace)::Visitor::createDeclarationCommon<(CXCursorKind)5,
KDevelop::Declaration> (this=0x7f99821e8220, cursor=..., id=...) at
/usr/src/debug/kdevelop/kdevelop-26.04.3/plugins/clang/duchain/builder.cpp:448
#18 0x00007f9a1020a264 in (anonymous
namespace)::Visitor::createDeclaration<(CXCursorKind)7, KDevelop::Declaration>
(context=0x0, this=0x7f99821e8220, cursor=..., id=...) at
/usr/src/debug/kdevelop/kdevelop-26.04.3/plugins/clang/duchain/builder.cpp:454
#22 (anonymous namespace)::visitCursor (cursor=..., parent=...,
data=0x7f99821e8220) at
/usr/src/debug/kdevelop/kdevelop-26.04.3/plugins/clang/duchain/builder.cpp:1681
#23 0x00007f99f8eb2a68 in clang::cxcursor::CursorVisitor::Visit () at
/usr/src/debug/clang/llvm-project-22.1.8.src/clang/tools/libclang/CIndex.cpp:228
#24 0x00007f99f8eb2f3f in
clang::cxcursor::CursorVisitor::handleDeclForVisitation () at
/usr/src/debug/clang/llvm-project-22.1.8.src/clang/tools/libclang/CIndex.cpp:697


Reported using DrKonqi

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

Reply via email to