Application: kdevelop (6.0.240802 (24.08.2)) ApplicationNotResponding [ANR]: false Qt Version: 6.7.2 Frameworks Version: 6.7.0 Operating System: Linux 6.10.5-200.fc40.x86_64 x86_64 Windowing System: Wayland Distribution: "Fedora Linux 40 (KDE Plasma)" DrKonqi: 6.2.2 [CoredumpBackend] -- Information about the crash: While editing cmFindPackageCommand.cxx in Cmake (https://gitlab.kitware.com/cmake/cmake.git), KDevelop crashed. This has occurred several times while trying to add a #include at the beginning of the file. The crash can be reproduced sometimes. -- Backtrace (Reduced): #5 lause>, std::forward_iterator_tag, const clang::OMPBindClause *, long, const clang::OMPBindClause *, const clang::OMPBindClause *> (_172=0x7f3e57c2e769, nonymous_272=4, onymous_172=<optimized out>) at /usr/include/bits/string_fortified.h:29 #6 nexpandedParameterPacksVisitorEE25TraverseConvertVectorExprEPNS_17ConvertVectorExprEPN4llvm15SmallVectorImplINS6_14PointerIntPairIPNS_4StmtELj1EbNS6_21PointerLikeTypeTraitsISA_EENS6_18PointerIntPairInfoISA_Lj1ESC_EEEEEE (__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >=0x7f3e57c2e769, InterfaceDeclE=rdDeclEPNS_10RecordDeclE::py_move_a2<true, (anonymous namespace)::State*, (anonymous namespace)::State*>::*>) at /usr/include/llvm/Support/Endian.h:61 #7 N5clang11BindingDeclEE9drop_backEm (__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >=@0x7f3f3d7fd150: 0x7f3e57c2e769 <error: Cannot access memory at address 0x7f3e57c2e769>, InterfaceDeclE=rdDeclEPNS_10RecordDeclE::py_move_a2<true, (anonymous namespace)::State*, (anonymous namespace)::State*>::*>) at /usr/include/llvm/Support/Endian.h:78 #8 ayRefIPN5clang16ObjCProtocolDeclEE9drop_backEm (__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >=@0x7f3f3d7fd150: 0x7f3e57c2e769 <error: Cannot access memory at address 0x7f3e57c2e769>) at /usr/include/llvm/Support/Endian.h:86 #9 ationEm (or_rangeIT_EE=0x7f3ed8010a78, ntifierTableTrait23isInterestingIdentifierEPKN5clang14IdentifierInfoEm=..., traintEE10pop_back_nEm=4123273898, tiveEPN4llvm15SmallVectorImplINS9_14PointerIntPairIPNS_4StmtELj1EbNS9_21PointerLikeTypeTraitsISD_EENS9_18PointerIntPairInfoISD_Lj1ESF_EEEEEE=0x7f3ed8010a90) at /usr/include/llvm/Support/OnDiskHashTable.h:377 Reported using DrKonqi
Created attachment 175342 [details] New crash information added by DrKonqi DrKonqi auto-attaching complete backtrace.
On a different occasion, I got this trace (doing the exact same thing): #0 0x00007fff6e497c4d in clang::ASTReader::ReadStmtFromStream(clang::serialization::ModuleFile&) () at /lib64/libclang.so.18.1 #1 0x00007fff6e414d0f in clang::ASTReader::GetExternalDeclStmt(unsigned long) () at /lib64/libclang.so.18.1 #2 0x00007fff6d1880e3 in clang::FunctionDecl::getBody(clang::FunctionDecl const*&) const () at /lib64/libclang.so.18.1 #3 0x00007fff6d04f8d2 in clang_getCursorDefinition () at /lib64/libclang.so.18.1 #4 0x00007fff9ccce6cc in (anonymous namespace)::declVisitor(CXCursor, CXCursor, void*) () at /lib64/libKDevClangPrivate.so.60 #5 0x00007fff6d03f62e in clang::cxcursor::CursorVisitor::handleDeclForVisitation(clang::Decl const*) () at /lib64/libclang.so.18.1 #6 0x00007fff6d03f7e8 in clang::cxcursor::CursorVisitor::VisitDeclContext(clang::DeclContext*) () at /lib64/libclang.so.18.1 #7 0x00007fff6d03e0d4 in clang::cxcursor::CursorVisitor::VisitChildren(CXCursor) () at /lib64/libclang.so.18.1 #8 0x00007fff6d04ad72 in clang_visitChildren () at /lib64/libclang.so.18.1 #9 0x00007fff9ccce613 in (anonymous namespace)::declVisitor(CXCursor, CXCursor, void*) () at /lib64/libKDevClangPrivate.so.60 #10 0x00007fff6d03f62e in clang::cxcursor::CursorVisitor::handleDeclForVisitation(clang::Decl const*) () at /lib64/libclang.so.18.1 #11 0x00007fff6d03f7e8 in clang::cxcursor::CursorVisitor::VisitDeclContext(clang::DeclContext*) () at /lib64/libclang.so.18.1 #12 0x00007fff6d03e0d4 in clang::cxcursor::CursorVisitor::VisitChildren(CXCursor) () at /lib64/libclang.so.18.1 #13 0x00007fff6d04ad72 in clang_visitChildren () at /lib64/libclang.so.18.1 #14 0x00007fff9ccce613 in (anonymous namespace)::declVisitor(CXCursor, CXCursor, void*) () at /lib64/libKDevClangPrivate.so.60 #15 0x00007fff6d03f62e in clang::cxcursor::CursorVisitor::handleDeclForVisitation(clang::Decl const*) () at /lib64/libclang.so.18.1 #16 0x00007fff6d03f7e8 in clang::cxcursor::CursorVisitor::VisitDeclContext(clang::DeclContext*) () at /lib64/libclang.so.18.1 #17 0x00007fff6d03de50 in clang::cxcursor::CursorVisitor::VisitChildren(CXCursor) () at /lib64/libclang.so.18.1 #18 0x00007fff6d04ad72 in clang_visitChildren () at /lib64/libclang.so.18.1 #19 0x00007fff9ccd1195 in ClangCodeCompletionContext::ClangCodeCompletionContext(KDevelop::DUChainPointer<KDevelop::DUContext> const&, QExplicitlySharedDataPointer<ParseSessionData> const&, QUrl const&, KTextEditor::Cursor const&, QString const&, QString const&) () at /lib64/libKDevClangPrivate.so.60 #20 0x00007fff9ccdf475 in (anonymous namespace)::ClangCodeCompletionWorker::run() () at /lib64/libKDevClangPrivate.so.60 #21 0x00007ffff61fc8f2 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt6Core.so.6 #22 0x00007ffff620bcbd in QTimer::timeout(QTimer::QPrivateSignal) () at /lib64/libQt6Core.so.6 #23 0x00007ffff61edd5f in QObject::event(QEvent*) () at /lib64/libQt6Core.so.6 #24 0x00007ffff758b218 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt6Widgets.so.6 #25 0x00007ffff6196e88 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt6Core.so.6 #26 0x00007ffff6352b47 in QTimerInfoList::activateTimers() () at /lib64/libQt6Core.so.6 #27 0x00007ffff6484fd9 in timerSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt6Core.so.6 #28 0x00007ffff2dece8c in g_main_context_dispatch_unlocked.lto_priv () at /lib64/libglib-2.0.so.0 #29 0x00007ffff2e4ec98 in g_main_context_iterate_unlocked.isra () at /lib64/libglib-2.0.so.0 #30 0x00007ffff2dee383 in g_main_context_iteration () at /lib64/libglib-2.0.so.0 #31 0x00007ffff64851a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6 #32 0x00007ffff61a3bc3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6 #33 0x00007ffff62b7f4f in QThread::exec() () at /lib64/libQt6Core.so.6 #34 0x00007ffff635473c in QThreadPrivate::start(void*) () at /lib64/libQt6Core.so.6 #35 0x00007ffff5aa66d7 in start_thread () at /lib64/libc.so.6 #36 0x00007ffff5b2a60c in clone3 () at /lib64/libc.so.6 Id Target Id Frame 1 Thread 0x7fffd8c57700 (LWP 9368) "kdevelop" 0x00007ffff5b1c87d in poll () from /lib64/libc.so.6 2 Thread 0x7fffcae006c0 (LWP 9377) "QDBusConnection" 0x00007ffff5b1c87d in poll () from /lib64/libc.so.6 3 Thread 0x7fffca0006c0 (LWP 9379) "WaylandEventThr" 0x00007ffff5b1c87d in poll () from /lib64/libc.so.6 4 Thread 0x7fffc96006c0 (LWP 9380) "WaylandEventThr" 0x00007ffff5b1c87d in poll () from /lib64/libc.so.6 5 Thread 0x7fffc8c006c0 (LWP 9386) "kdevelop:cs0" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6 6 Thread 0x7fffc16006c0 (LWP 9387) "kdevelo:disk$0" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6 7 Thread 0x7fffc0c006c0 (LWP 9388) "kdevelop:sh0" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6 8 Thread 0x7fffb0c006c0 (LWP 9389) "kdevel:sh_opt0" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6 9 Thread 0x7fffabe006c0 (LWP 9390) "kdevel:traceq0" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6 10 Thread 0x7fffab4006c0 (LWP 9391) "kdevel:traceq0" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6 17 Thread 0x7fffaaa006c0 (LWP 9398) "kdevel:traceq0" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6 18 Thread 0x7fffaa0006c0 (LWP 9399) "kdevelop:gdrv0" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6 19 Thread 0x7fffa96006c0 (LWP 9400) "kdevelop:gl0" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6 20 Thread 0x7fffa8c006c0 (LWP 9401) "kdevel:traceq0" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6 21 Thread 0x7fff9fe006c0 (LWP 9402) "kdevelop:gdrv0" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6 22 Thread 0x7fff9f4006c0 (LWP 9403) "kdevelop:gl0" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6 33 Thread 0x7fff930006c0 (LWP 9415) "threaded-ml" 0x00007ffff5b1c87d in poll () from /lib64/libc.so.6 34 Thread 0x7fff7a0006c0 (LWP 9428) "QThread" 0x00007ffff5b1c87d in poll () from /lib64/libc.so.6 37 Thread 0x7fff6fe006c0 (LWP 9440) "OutputFilterThr" 0x00007ffff5b1c87d in poll () from /lib64/libc.so.6 * 38 Thread 0x7fff6ce006c0 (LWP 9601) "KDevelop::Compl" 0x00007fff6e497c4d in clang::ASTReader::ReadStmtFromStream(clang::serialization::ModuleFile&) () from /lib64/libclang.so.18.1 41 Thread 0x7fff634006c0 (LWP 9699) "KIO::WorkerThre" 0x00007ffff5b1cdb0 in ppoll () from /lib64/libc.so.6 48 Thread 0x7fff54e006c0 (LWP 9707) "KIO::WorkerThre" 0x00007ffff5b1cdb0 in ppoll () from /lib64/libc.so.6 51 Thread 0x7fff48e006c0 (LWP 10231) "Queue(0x5555577" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6 52 Thread 0x7fff3e2006c0 (LWP 10232) "Queue(0x5555577" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6 53 Thread 0x7fff3d8006c0 (LWP 10233) "Queue(0x5555577" 0x00007ffff5b283dd in syscall () from /lib64/libc.so.6 54 Thread 0x7fff3ce006c0 (LWP 10234) "Queue(0x5555577" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6 55 Thread 0x7fff334006c0 (LWP 10236) "Queue(0x5555577" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6 125 Thread 0x7fff9d6006c0 (LWP 10595) "Thread (pooled)" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6 126 Thread 0x7fff9cc006c0 (LWP 10596) "Thread (pooled)" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6 127 Thread 0x7fff9ea006c0 (LWP 10597) "Thread (pooled)" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6 128 Thread 0x7fff574006c0 (LWP 10598) "Thread (pooled)" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6 129 Thread 0x7fff63e006c0 (LWP 10599) "Thread (pooled)" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6 131 Thread 0x7fff4a2006c0 (LWP 10613) "Thread (pooled)" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6 132 Thread 0x7fff498006c0 (LWP 10614) "Thread (pooled)" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common () from /lib64/libc.so.6
*** This bug has been marked as a duplicate of bug 486932 ***