https://bugs.kde.org/show_bug.cgi?id=486932
Dan Leinir Turthra Jensen <ad...@leinir.dk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ad...@leinir.dk --- Comment #10 from Dan Leinir Turthra Jensen <ad...@leinir.dk> --- Just adding my two eurocents to the thing, to say that i also got this while adding an #include. It does not happen fully consistently, but maybe every other time i try and add one (feels like more regularly than that, but that's probably more because i only really notice when i have to restart the program). Backtrace: Application: KDevelop (kdevelop), signal: Segmentation fault [KCrash Handler] #4 llvm::support::endian::read<unsigned int, 0ul>(void const*, llvm::endianness) (endian=llvm::endianness::little, memory=<optimized out>) at /home/abuild/rpmbuild/BUILD/llvm-18.1.6.src/include/llvm/Support/Endian.h:61 #5 llvm::support::endian::readNext<unsigned int, 0ul, unsigned char>(unsigned char const*&, llvm::endianness) (endian=llvm::endianness::little, memory=<optimized out>) at /home/abuild/rpmbuild/BUILD/llvm-18.1.6.src/include/llvm/Support/Endian.h:78 #6 llvm::support::endian::readNext<unsigned int, (llvm::endianness)1, 0ul, unsigned char>(unsigned char const*&) (memory=<optimized out>) at /home/abuild/rpmbuild/BUILD/llvm-18.1.6.src/include/llvm/Support/Endian.h:86 #7 llvm::OnDiskChainedHashTable<clang::serialization::reader::ASTDeclContextNameLookupTrait>::find_hashed(clang::serialization::DeclarationNameKey const&, unsigned int, clang::serialization::reader::ASTDeclContextNameLookupTrait*) (this=0x7f481a5a1c28, IKey=..., KeyHash=2629119989, InfoPtr=<optimized out>) at /home/abuild/rpmbuild/BUILD/llvm-18.1.6.src/include/llvm/Support/OnDiskHashTable.h:363 #8 clang::serialization::MultiOnDiskHashTable<clang::serialization::reader::ASTDeclContextNameLookupTrait>::find(clang::DeclarationName const&) (this=<optimized out>, EKey=<optimized out>) at /home/abuild/rpmbuild/BUILD/llvm-18.1.6.src/tools/clang/lib/Serialization/MultiOnDiskHashTable.h:252 #9 clang::ASTReader::FindExternalVisibleDeclsByName(clang::DeclContext const*, clang::DeclarationName) (this=0x7f48a77b79d0, DC=0x7f481bd42e08, Name=...) at /home/abuild/rpmbuild/BUILD/llvm-18.1.6.src/tools/clang/lib/Serialization/ASTReader.cpp:7972 #10 0x00007f4aec96a0d9 in clang::DeclContext::lookup(clang::DeclarationName) const (this=0x7f481bd42e08, Name=...) at /home/abuild/rpmbuild/BUILD/llvm-18.1.6.src/tools/clang/lib/AST/DeclBase.cpp:1822 #11 0x00007f4aee6b6f0a in clang::ASTReader::CompleteRedeclChain(clang::Decl const*) (this=0x7f48a77b79d0, D=0x7f47cbe7c748) at /home/abuild/rpmbuild/BUILD/llvm-18.1.6.src/tools/clang/lib/Serialization/ASTReader.cpp:7535 #12 0x00007f4aec94de2d in clang::LazyGenerationalUpdatePtr<clang::Decl const*, clang::Decl*, &clang::ExternalASTSource::CompleteRedeclChain>::get(clang::Decl const*) (O=0x7f47cbe7c748, this=<optimized out>) at /home/abuild/rpmbuild/BUILD/llvm-18.1.6.src/tools/clang/include/clang/AST/ExternalASTSource.h:449 #13 clang::Redeclarable<clang::FunctionDecl>::DeclLink::getPrevious(clang::FunctionDecl const*) const (this=0x7f47cbe7c7b0, D=0x7f47cbe7c748) at /home/abuild/rpmbuild/BUILD/llvm-18.1.6.src/tools/clang/include/clang/AST/Redeclarable.h:134 #14 clang::Redeclarable<clang::FunctionDecl>::getNextRedeclaration() const (this=0x7f47cbe7c7b0) at /home/abuild/rpmbuild/BUILD/llvm-18.1.6.src/tools/clang/include/clang/AST/Redeclarable.h:190 #15 clang::Redeclarable<clang::FunctionDecl>::redecl_iterator::operator++() (this=<optimized out>) at /home/abuild/rpmbuild/BUILD/llvm-18.1.6.src/tools/clang/include/clang/AST/Redeclarable.h:273 #16 clang::FunctionDecl::hasBody(clang::FunctionDecl const*&) const (this=0x7f47cbe7c748, Definition=@0x7f4b1c9fe150: 0x0) at /home/abuild/rpmbuild/BUILD/llvm-18.1.6.src/tools/clang/lib/AST/Decl.cpp:3112 #17 0x00007f4aec94e1cf in clang::FunctionDecl::getBody(clang::FunctionDecl const*&) const (this=0x7f4b1c9fdbc0, Definition=<error reading variable: Cannot access memory at address 0x11126aa28a3a23dc>) at /home/abuild/rpmbuild/BUILD/llvm-18.1.6.src/tools/clang/lib/AST/Decl.cpp:3192 #18 0x00007f4b2a8b0ae6 in clang_getCursorDefinition(CXCursor) (C=...) at /home/abuild/rpmbuild/BUILD/llvm-18.1.6.src/tools/clang/tools/libclang/CIndex.cpp:6911 #19 0x00007f4b2a981f44 in () at /lib64/libKDevClangPrivate.so.514 #20 0x00007f4b2a8a23a7 in clang::cxcursor::CursorVisitor::Visit(CXCursor, bool) (this=0x7f4b1c9fe658, Cursor=..., CheckedRegionOfInterest=true) at /home/abuild/rpmbuild/BUILD/llvm-18.1.6.src/tools/clang/tools/libclang/CIndex.cpp:225 #21 clang::cxcursor::CursorVisitor::handleDeclForVisitation(clang::Decl const*) (this=0x7f4b1c9fe658, D=<optimized out>) at /home/abuild/rpmbuild/BUILD/llvm-18.1.6.src/tools/clang/tools/libclang/CIndex.cpp:694 #22 0x00007f4b2a8a24f8 in clang::cxcursor::CursorVisitor::VisitDeclContext(clang::DeclContext*) (this=0x7f4b1c9fe658, DC=0x7f481bd42e08) at /home/abuild/rpmbuild/BUILD/llvm-18.1.6.src/tools/clang/tools/libclang/CIndex.cpp:655 #23 0x00007f4b2a8a100e in clang::declvisitor::Base<std::add_pointer, clang::cxcursor::CursorVisitor, bool>::Visit(clang::Decl*) (this=0x7f4b1c9fe658, D=0x7f481bd42dc8) at tools/clang/include/clang/AST/DeclNodes.inc:414 #24 clang::cxcursor::CursorVisitor::VisitChildren(CXCursor) (this=0x7f4b1c9fe658, Cursor=...) at /home/abuild/rpmbuild/BUILD/llvm-18.1.6.src/tools/clang/tools/libclang/CIndex.cpp:514 #25 0x00007f4b2a8aca20 in clang_visitChildren(CXCursor, CXCursorVisitor, CXClientData) (parent=..., visitor=<optimized out>, client_data=0x11126aa28a3a23dc) at /home/abuild/rpmbuild/BUILD/llvm-18.1.6.src/tools/clang/tools/libclang/CIndex.cpp:4914 #26 0x00007f4b2a981e86 in () at /lib64/libKDevClangPrivate.so.514 #27 0x00007f4b2a8a23a7 in clang::cxcursor::CursorVisitor::Visit(CXCursor, bool) (this=0x7f4b1c9febd8, Cursor=..., CheckedRegionOfInterest=true) at /home/abuild/rpmbuild/BUILD/llvm-18.1.6.src/tools/clang/tools/libclang/CIndex.cpp:225 #28 clang::cxcursor::CursorVisitor::handleDeclForVisitation(clang::Decl const*) (this=0x7f4b1c9febd8, D=<optimized out>) at /home/abuild/rpmbuild/BUILD/llvm-18.1.6.src/tools/clang/tools/libclang/CIndex.cpp:694 #29 0x00007f4b2a8a24f8 in clang::cxcursor::CursorVisitor::VisitDeclContext(clang::DeclContext*) (this=0x7f4b1c9febd8, DC=0x7f483536b3c0) at /home/abuild/rpmbuild/BUILD/llvm-18.1.6.src/tools/clang/tools/libclang/CIndex.cpp:655 #30 0x00007f4b2a8a0dc2 in clang::cxcursor::CursorVisitor::VisitChildren(CXCursor) (this=0x7f4b1c9febd8, Cursor=...) at /home/abuild/rpmbuild/BUILD/llvm-18.1.6.src/tools/clang/tools/libclang/CIndex.cpp:548 #31 0x00007f4b2a8aca20 in clang_visitChildren(CXCursor, CXCursorVisitor, CXClientData) (parent=..., visitor=<optimized out>, client_data=0x11126aa28a3a23dc) at /home/abuild/rpmbuild/BUILD/llvm-18.1.6.src/tools/clang/tools/libclang/CIndex.cpp:4914 #32 0x00007f4b2a985282 in ClangCodeCompletionContext::ClangCodeCompletionContext(KDevelop::DUChainPointer<KDevelop::DUContext> const&, QExplicitlySharedDataPointer<ParseSessionData> const&, QUrl const&, KTextEditor::Cursor const&, QString const&, QString const&) () at /lib64/libKDevClangPrivate.so.514 #33 0x00007f4b2a991b2d in () at /lib64/libKDevClangPrivate.so.514 #34 0x00007f4b69125b92 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7f4b1c9ff170, r=0x557c24d36500, this=0x7f4ae40016a0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #35 doActivate<false>(QObject*, int, void**) (sender=0x7f4ae40015e0, signal_index=3, argv=0x7f4b1c9ff170) at kernel/qobject.cpp:3925 #36 0x00007f4b6911e7ef in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f4b693c69e0 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7f4b1c9ff170) at kernel/qobject.cpp:3985 #37 0x00007f4b6912996a in QTimer::timeout(QTimer::QPrivateSignal) (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205 #38 0x00007f4b6911958b in QObject::event(QEvent*) (this=0x7f4ae40015e0, e=0x7f4b1c9ff2c0) at kernel/qobject.cpp:1369 #39 0x00007f4b69fa513e in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x7f4ae40015e0, e=0x7f4b1c9ff2c0) at kernel/qapplication.cpp:3640 #40 0x00007f4b690ed8e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x7f4ae40015e0, event=0x7f4b1c9ff2c0) at kernel/qcoreapplication.cpp:1064 #41 0x00007f4b690edaae in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462 #42 0x00007f4b69145c19 in QTimerInfoList::activateTimers() (this=0x7f4ae4001150) at kernel/qtimerinfo_unix.cpp:643 #43 0x00007f4b691464c4 in timerSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183 #44 0x00007f4b64f12740 in () at /lib64/libglib-2.0.so.0 #45 0x00007f4b64f14388 in () at /lib64/libglib-2.0.so.0 #46 0x00007f4b64f14a3c in g_main_context_iteration () at /lib64/libglib-2.0.so.0 #47 0x00007f4b69146826 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f4ae4000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #48 0x00007f4b690ec37b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f4b1c9ff500, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #49 0x00007f4b68f0307e in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #50 0x00007f4b68f042ad in operator() (__closure=<optimized out>) at thread/qthread_unix.cpp:350 #51 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at thread/qthread_unix.cpp:287 #52 QThreadPrivate::start(void*) (arg=0x557c24ce6c80) at thread/qthread_unix.cpp:310 #53 0x00007f4b68692ba2 in start_thread () at /lib64/libc.so.6 #54 0x00007f4b6871400c in clone3 () at /lib64/libc.so.6 -- You are receiving this mail because: You are watching all bug changes.