https://bugs.kde.org/show_bug.cgi?id=486932
--- Comment #9 from Igor Kushnir <igor...@gmail.com> --- Got another crash while completing an include. This time the first thread crashed and its backtrace matches the more common one in this and duplicate bug reports: #0 0x00007f87588ac194 in ??? () at /usr/lib/libc.so.6 #1 0x00007f8758858d70 in raise () at /usr/lib/libc.so.6 #2 0x00007f875aaef88f in KCrash::defaultCrashHandler(int) () at /usr/lib/libKF5Crash.so.5 #3 0x00007f8758858e20 in <signal handler called> () at /usr/lib/libc.so.6 #4 clang::ASTReader::ReadSLocEntry () at /usr/src/debug/clang/clang-17.0.6.src/lib/Serialization/ASTReader.cpp:1497 #5 0x00007f86d1623356 in clang::ASTReader::ReadSLocEntry () at /usr/src/debug/clang/clang-17.0.6.src/lib/Serialization/ASTReader.cpp:1436 #6 clang::SourceManager::loadSLocEntry () at /usr/src/debug/clang/clang-17.0.6.src/lib/Basic/SourceManager.cpp:435 #7 0x00007f86d1251c31 in clang::SourceManager::getLoadedSLocEntry () at /usr/src/debug/clang/clang-17.0.6.src/include/clang/Basic/SourceManager.h:1718 #8 clang::SourceManager::getLoadedSLocEntryByID () at /usr/src/debug/clang/clang-17.0.6.src/include/clang/Basic/SourceManager.h:1822 #9 clang::SourceManager::getSLocEntryByID () at /usr/src/debug/clang/clang-17.0.6.src/include/clang/Basic/SourceManager.h:1816 #10 clang::SourceManager::isOffsetInFileID () at /usr/src/debug/clang/clang-17.0.6.src/include/clang/Basic/SourceManager.h:1866 #11 0x00007f86d1623eec in clang::SourceManager::getFileIDLoaded () at /usr/src/debug/clang/clang-17.0.6.src/lib/Basic/SourceManager.cpp:922 #12 clang::SourceManager::getFileIDLoaded () at /usr/src/debug/clang/clang-17.0.6.src/lib/Basic/SourceManager.cpp:866 #13 clang::SourceManager::getFileIDSlow () at /usr/src/debug/clang/clang-17.0.6.src/lib/Basic/SourceManager.cpp:779 #14 clang::SourceManager::getFileIDSlow () at /usr/src/debug/clang/clang-17.0.6.src/lib/Basic/SourceManager.cpp:771 #15 0x00007f86d1251e6b in clang::SourceManager::getFileID () at /usr/src/debug/clang/clang-17.0.6.src/include/clang/Basic/SourceManager.h:1830 #16 clang::SourceManager::getFileID () at /usr/src/debug/clang/clang-17.0.6.src/include/clang/Basic/SourceManager.h:1119 #17 clang::SourceManager::getDecomposedExpansionLoc () at /usr/src/debug/clang/clang-17.0.6.src/include/clang/Basic/SourceManager.h:1259 #18 0x00007f86d1625b94 in clang::SourceManager::getFileCharacteristic () at /usr/src/debug/clang/clang-17.0.6.src/lib/Basic/SourceManager.cpp:1477 #19 0x00007f86d12af2ac in clang::SourceManager::isInSystemHeader () at /usr/src/debug/clang/clang-17.0.6.src/include/clang/Basic/SourceManager.h:1509 #20 clang_Location_isInSystemHeader () at /usr/src/debug/clang/clang-17.0.6.src/tools/libclang/CXSourceLocation.cpp:209 #21 0x00007f86d2e2a6e4 in (anonymous namespace)::declVisitor (cursor=..., parent=..., d=0x7f86d11fded0) at /home/Mint14_home/igor/Install/abs/kdevelop-git/src/kdevelop/plugins/clang/codecompletion/completionhelper.cpp:224 #22 0x00007f86d126c65e in clang::cxcursor::CursorVisitor::Visit () at /usr/src/debug/clang/clang-17.0.6.src/tools/libclang/CIndex.cpp:224 #23 0x00007f86d126df56 in clang::cxcursor::CursorVisitor::handleDeclForVisitation () at /usr/src/debug/clang/clang-17.0.6.src/tools/libclang/CIndex.cpp:686 #24 0x00007f86d126e208 in clang::cxcursor::CursorVisitor::VisitDeclContext () at /usr/src/debug/clang/clang-17.0.6.src/tools/libclang/CIndex.cpp:647 #25 0x00007f86d126b9be in clang::cxcursor::CursorVisitor::VisitChildren () at /usr/src/debug/clang/clang-17.0.6.src/tools/libclang/CIndex.cpp:547 #26 0x00007f86d126eba0 in clang_visitChildren () at /usr/src/debug/clang/clang-17.0.6.src/tools/libclang/CIndex.cpp:4842 #27 0x00007f86d2e2e023 in CompletionHelper::computeCompletions (position=<optimized out>, file=<optimized out>, session=..., this=<optimized out>) at /home/Mint14_home/igor/Install/abs/kdevelop-git/src/kdevelop/plugins/clang/codecompletion/completionhelper.cpp:394 #28 ClangCodeCompletionContext::ClangCodeCompletionContext (this=<optimized out>, context=<optimized out>, sessionData=<optimized out>, url=<optimized out>, position=<optimized out>, text=<optimized out>, followingText=<optimized out>, this=<optimized out>, context=<optimized out>, sessionData=<optimized out>, url=<optimized out>, position=<optimized out>, text=<optimized out>, followingText=<optimized out>) at /home/Mint14_home/igor/Install/abs/kdevelop-git/src/kdevelop/plugins/clang/codecompletion/context.cpp:1072 #29 0x00007f86d2e3b160 in QSharedPointer<ClangCodeCompletionContext>::create<KDevelop::DUChainPointer<KDevelop::DUContext> const&, QExplicitlySharedDataPointer<ParseSessionData> const&, QUrl const&, KTextEditor::Cursor const&, QString const&, QString const&> () at /usr/include/qt/QtCore/qsharedpointer_impl.h:444 #30 (anonymous namespace)::createCompletionContext (followingText="inc\n#include <utility>\n\nnamespace KDevelop\n{\nQDebug operator<<(QDebug debug, const StatusBar::Message& s)\n{\n const QDebugStateSaver saver(debug);\n debug.nospace() << '{' << s.text << \", \" << s.t"..., text=<optimized out>, position=<optimized out>, url=<optimized out>, session=..., context=...) at /home/Mint14_home/igor/Install/abs/kdevelop-git/src/kdevelop/plugins/clang/codecompletion/model.cpp:48 #31 (anonymous namespace)::ClangCodeCompletionWorker::run (this=0x562b9620f040) at /home/Mint14_home/igor/Install/abs/kdevelop-git/src/kdevelop/plugins/clang/codecompletion/model.cpp:115 #32 0x00007f87590c89a7 in ??? () at /usr/lib/libQt5Core.so.5 #33 0x00007f87590ca4df in QTimer::timeout(QTimer::QPrivateSignal) () at /usr/lib/libQt5Core.so.5 #34 0x00007f87590bb44e in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5 #35 0x00007f8759d578ff in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5 #36 0x00007f8759093a68 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5 #37 0x00007f87590e20db in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5 #38 0x00007f87590e26ca in ??? () at /usr/lib/libQt5Core.so.5 #39 0x00007f875504d199 in ??? () at /usr/lib/libglib-2.0.so.0 #40 0x00007f87550ac3bf in ??? () at /usr/lib/libglib-2.0.so.0 #41 0x00007f875504c712 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #42 0x00007f87590e288c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #43 0x00007f8759092774 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #44 0x00007f8758eef666 in QThread::exec() () at /usr/lib/libQt5Core.so.5 #45 0x00007f8758eeb88a in ??? () at /usr/lib/libQt5Core.so.5 #46 0x00007f87588aa1cf in ??? () at /usr/lib/libc.so.6 #47 0x00007f875892b6ec in ??? () at /usr/lib/libc.so.6 Found a single similar backtrace in an existing bug report: https://github.com/llvm/llvm-project/issues/25216. The backtrace is reasonably close given the 8.5 year gap, but the crash is very old indeed. The LLVM issue description states that reverting a 9.5 year old commit works around the crash. Can anyone try to revert it and see if the crash disappears? -- You are receiving this mail because: You are watching all bug changes.