Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-33329

Spontaneous crash in locator

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 17.0.0
    • C/C++/Obj-C++ Support
    • None
    • Linux/X11

      Thread 1 (Thread 0x74c8fa483980 (LWP 9687)):
      #0  0x000074c8cf767e9e in QArrayDataPointer<QSharedPointer<CppEditor::IndexItem> >::deref (this=0x60e5702a5458) at /home/jarek/dev/qt-69/qtbase/src/corelib/tools/qarraydatapointer.h:452
      #1  0x000074c8cf7676f2 in QArrayDataPointer<QSharedPointer<CppEditor::IndexItem> >::~QArrayDataPointer (this=0x60e5702a5458, __in_chrg=<optimized out>) at /home/jarek/dev/qt-69/qtbase/src/corelib/tools/qarraydatapointer.h:108
      #2  0x000074c8cf7670fc in QList<QSharedPointer<CppEditor::IndexItem> >::~QList (this=0x60e5702a5458, __in_chrg=<optimized out>) at /home/jarek/dev/qt-69/qtbase/src/corelib/tools/qlist.h:76
      #3  0x000074c8cf89a466 in CppEditor::IndexItem::~IndexItem (this=0x60e5702a53d0, __in_chrg=<optimized out>) at /home/jarek/dev/creator-17/src/plugins/cppeditor/indexitem.h:18
      #4  0x000074c8cf89a4db in QtSharedPointer::CustomDeleter<CppEditor::IndexItem, QtSharedPointer::NormalDeleter>::execute (this=0x60e66dd20e90) at /home/jarek/dev/qt-69/qtbase/src/corelib/tools/qsharedpointer_impl.h:170
      #5  0x000074c8cf89a2b2 in QtSharedPointer::ExternalRefCountWithCustomDeleter<CppEditor::IndexItem, QtSharedPointer::NormalDeleter>::deleter (self=0x60e66dd20e80) at /home/jarek/dev/qt-69/qtbase/src/corelib/tools/qsharedpointer_impl.h:188
      #6  0x000074c8cf5164db in QtSharedPointer::ExternalRefCountData::destroy (this=0x60e66dd20e80) at /home/jarek/dev/qt-69/qtbase/src/corelib/tools/qsharedpointer_impl.h:124
      #7  0x000074c8cf5295cc in QSharedPointer<CppEditor::IndexItem>::deref (dd=0x60e66dd20e80) at /home/jarek/dev/qt-69/qtbase/src/corelib/tools/qsharedpointer_impl.h:515
      #8  0x000074c8cf52722a in QSharedPointer<CppEditor::IndexItem>::deref (this=0x60e66df9ba90) at /home/jarek/dev/qt-69/qtbase/src/corelib/tools/qsharedpointer_impl.h:510
      #9  0x000074c8cf522ee8 in QSharedPointer<CppEditor::IndexItem>::~QSharedPointer (this=0x60e66df9ba90, __in_chrg=<optimized out>) at /home/jarek/dev/qt-69/qtbase/src/corelib/tools/qsharedpointer_impl.h:293
      #10 0x000074c8cf76c065 in std::destroy_at<QSharedPointer<CppEditor::IndexItem> > (__location=0x60e66df9ba90) at /usr/include/c++/13/bits/stl_construct.h:88
      #11 0x000074c8cf76b824 in std::_Destroy<QSharedPointer<CppEditor::IndexItem> > (__pointer=0x60e66df9ba90) at /usr/include/c++/13/bits/stl_construct.h:149
      #12 0x000074c8cf76a538 in std::_Destroy_aux<false>::__destroy<QSharedPointer<CppEditor::IndexItem>*> (__first=0x60e66df9ba90, __last=0x60e66df9bb50) at /usr/include/c++/13/bits/stl_construct.h:163
      #13 0x000074c8cf76966b in std::_Destroy<QSharedPointer<CppEditor::IndexItem>*> (__first=0x60e66df9b9d0, __last=0x60e66df9bb50) at /usr/include/c++/13/bits/stl_construct.h:196
      #14 0x000074c8cf768b56 in std::destroy<QSharedPointer<CppEditor::IndexItem>*> (__first=0x60e66df9b9d0, __last=0x60e66df9bb50) at /usr/include/c++/13/bits/stl_construct.h:253
      #15 0x000074c8cf767f6c in QtPrivate::QGenericArrayOps<QSharedPointer<CppEditor::IndexItem> >::destroyAll (this=0x60e66b03e698) at /home/jarek/dev/qt-69/qtbase/src/corelib/tools/qarraydataops.h:350
      #16 0x000074c8cf76770d in QArrayDataPointer<QSharedPointer<CppEditor::IndexItem> >::~QArrayDataPointer (this=0x60e66b03e698, __in_chrg=<optimized out>) at /home/jarek/dev/qt-69/qtbase/src/corelib/tools/qarraydatapointer.h:109
      #17 0x000074c8cf7670fc in QList<QSharedPointer<CppEditor::IndexItem> >::~QList (this=0x60e66b03e698, __in_chrg=<optimized out>) at /home/jarek/dev/qt-69/qtbase/src/corelib/tools/qlist.h:76
      #18 0x000074c8cf89a466 in CppEditor::IndexItem::~IndexItem (this=0x60e66b03e610, __in_chrg=<optimized out>) at /home/jarek/dev/creator-17/src/plugins/cppeditor/indexitem.h:18
      #19 0x000074c8cf89a4db in QtSharedPointer::CustomDeleter<CppEditor::IndexItem, QtSharedPointer::NormalDeleter>::execute (this=0x60e66b03e3a0) at /home/jarek/dev/qt-69/qtbase/src/corelib/tools/qsharedpointer_impl.h:170
      #20 0x000074c8cf89a2b2 in QtSharedPointer::ExternalRefCountWithCustomDeleter<CppEditor::IndexItem, QtSharedPointer::NormalDeleter>::deleter (self=0x60e66b03e390) at /home/jarek/dev/qt-69/qtbase/src/corelib/tools/qsharedpointer_impl.h:188
      #21 0x000074c8cf5164db in QtSharedPointer::ExternalRefCountData::destroy (this=0x60e66b03e390) at /home/jarek/dev/qt-69/qtbase/src/corelib/tools/qsharedpointer_impl.h:124
      #22 0x000074c8cf5295cc in QSharedPointer<CppEditor::IndexItem>::deref (dd=0x60e66b03e390) at /home/jarek/dev/qt-69/qtbase/src/corelib/tools/qsharedpointer_impl.h:515
      #23 0x000074c8cf52722a in QSharedPointer<CppEditor::IndexItem>::deref (this=0x7ffd0900a610) at /home/jarek/dev/qt-69/qtbase/src/corelib/tools/qsharedpointer_impl.h:510
      #24 0x000074c8cf522ee8 in QSharedPointer<CppEditor::IndexItem>::~QSharedPointer (this=0x7ffd0900a610, __in_chrg=<optimized out>) at /home/jarek/dev/qt-69/qtbase/src/corelib/tools/qsharedpointer_impl.h:293
      #25 0x000074c8cf76bc21 in QSharedPointer<CppEditor::IndexItem>::operator= (this=0x60e66e0f65c0, other=...) at /home/jarek/dev/qt-69/qtbase/src/corelib/tools/qsharedpointer_impl.h:329
      #26 0x000074c8cf76b04a in QHashPrivate::Node<Utils::FilePath, QSharedPointer<CppEditor::IndexItem> >::emplaceValue<QSharedPointer<CppEditor::IndexItem> const&> (this=0x60e66e0f6598) at /home/jarek/dev/qt-69/qtbase/src/corelib/tools/qhash.h:88
      #27 0x000074c8cf769e73 in QHash<Utils::FilePath, QSharedPointer<CppEditor::IndexItem> >::emplace_helper<QSharedPointer<CppEditor::IndexItem> const&> (this=0x60e663d59720, key=...) at /home/jarek/dev/qt-69/qtbase/src/corelib/tools/qhash.h:1522
      #28 0x000074c8cf7690a3 in QHash<Utils::FilePath, QSharedPointer<CppEditor::IndexItem> >::emplace<QSharedPointer<CppEditor::IndexItem> const&> (this=0x60e663d59720, key=...) at /home/jarek/dev/qt-69/qtbase/src/corelib/tools/qhash.h:1386
      #29 0x000074c8cf7682e9 in QHash<Utils::FilePath, QSharedPointer<CppEditor::IndexItem> >::emplace<QSharedPointer<CppEditor::IndexItem> const&> (this=0x60e663d59720, key=...) at /home/jarek/dev/qt-69/qtbase/src/corelib/tools/qhash.h:1377
      #30 0x000074c8cf76791f in QHash<Utils::FilePath, QSharedPointer<CppEditor::IndexItem> >::insert (this=0x60e663d59720, key=..., value=...) at /home/jarek/dev/qt-69/qtbase/src/corelib/tools/qhash.h:1355
      #31 0x000074c8cf7666cb in CppEditor::CppLocatorData::flushPendingDocument (this=0x60e663d596c0, force=false) at /home/jarek/dev/creator-17/src/plugins/cppeditor/cpplocatordata.cpp:91
      #32 0x000074c8cf766314 in CppEditor::CppLocatorData::onDocumentUpdated (this=0x60e663d596c0, document=...) at /home/jarek/dev/creator-17/src/plugins/cppeditor/cpplocatordata.cpp:57
      #33 0x000074c8cf7d2092 in QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul>, QtPrivate::List<QSharedPointer<CPlusPlus::Document> >, void, void (CppEditor::CppLocatorData::*)(QSharedPointer<CPlusPlus::Document> const&)>::call(void (CppEditor::CppLocatorData::*)(QSharedPointer<CPlusPlus::Document> const&), CppEditor::CppLocatorData*, void**)::{lambda()#1}::operator()() const (__closure=0x7ffd0900a9e0) at /home/jarek/dev/qt-69/qtbase/src/corelib/kernel/qobjectdefs_impl.h:127
      #34 0x000074c8cf7d8155 in QtPrivate::FunctorCallBase::call_internal<void, QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul>, QtPrivate::List<QSharedPointer<CPlusPlus::Document> >, void, void (CppEditor::CppLocatorData::*)(QSharedPointer<CPlusPlus::Document> const&)>::call(void (CppEditor::CppLocatorData::*)(QSharedPointer<CPlusPlus::Document> const&), CppEditor::CppLocatorData*, void**)::{lambda()#1}>(void**, QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul>, QtPrivate::List<QSharedPointer<CPlusPlus::Document> >, void, void (CppEditor::CppLocatorData::*)(QSharedPointer<CPlusPlus::Document> const&)>::call(void (CppEditor::CppLocatorData::*)(QSharedPointer<CPlusPlus::Document> const&), CppEditor::CppLocatorData*, void**)::{lambda()#1}&&) (args=0x74c881168228, fn=...) at /home/jarek/dev/qt-69/qtbase/src/corelib/kernel/qobjectdefs_impl.h:65
      #35 0x000074c8cf7d2106 in QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul>, QtPrivate::List<QSharedPointer<CPlusPlus::Document> >, void, void (CppEditor::CppLocatorData::*)(QSharedPointer<CPlusPlus::Document> const&)>::call (f=(void (CppEditor::CppLocatorData::*)(class CppEditor::CppLocatorData * const, const class QSharedPointer<CPlusPlus::Document> &)) 0x74c8cf7660e0 <CppEditor::CppLocatorData::onDocumentUpdated(QSharedPointer<CPlusPlus::Document> const&)>, o=0x60e663d596c0, arg=0x74c881168228) at /home/jarek/dev/qt-69/qtbase/src/corelib/kernel/qobjectdefs_impl.h:126
      #36 0x000074c8cf7ca73e in QtPrivate::FunctionPointer<void (CppEditor::CppLocatorData::*)(QSharedPointer<CPlusPlus::Document> const&)>::call<QtPrivate::List<QSharedPointer<CPlusPlus::Document> >, void> (f=(void (CppEditor::CppLocatorData::*)(class CppEditor::CppLocatorData * const, const class QSharedPointer<CPlusPlus::Document> &)) 0x74c8cf7660e0 <CppEditor::CppLocatorData::onDocumentUpdated(QSharedPointer<CPlusPlus::Document> const&)>, o=0x60e663d596c0, arg=0x74c881168228) at /home/jarek/dev/qt-69/qtbase/src/corelib/kernel/qobjectdefs_impl.h:174
      #37 0x000074c8cf7c216f in QtPrivate::QCallableObject<void (CppEditor::CppLocatorData::*)(QSharedPointer<CPlusPlus::Document> const&), QtPrivate::List<QSharedPointer<CPlusPlus::Document> >, void>::impl (which=1, this_=0x60e664138c80, r=0x60e663d596c0, a=0x74c881168228, ret=0x0) at /home/jarek/dev/qt-69/qtbase/src/corelib/kernel/qobjectdefs_impl.h:545
      #38 0x000074c8fa7f8855 in QtPrivate::QSlotObjectBase::call (this=0x60e664138c80, r=0x60e663d596c0, a=0x74c881168228) at /home/jarek/dev/qt-69/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461
      #39 0x000074c8fa88544b in QMetaCallEvent::placeMetaCall (this=0x74c8811681e0, object=0x60e663d596c0) at /home/jarek/dev/qt-69/qtbase/src/corelib/kernel/qobject.cpp:623
      #40 0x000074c8fa886a29 in QObject::event (this=0x60e663d596c0, e=0x74c8811681e0) at /home/jarek/dev/qt-69/qtbase/src/corelib/kernel/qobject.cpp:1432
      #41 0x000074c8fc9b9ca0 in QApplicationPrivate::notify_helper (this=0x60e66344c720, receiver=0x60e663d596c0, e=0x74c8811681e0) at /home/jarek/dev/qt-69/qtbase/src/widgets/kernel/qapplication.cpp:3300
      #42 0x000074c8fc9b9a84 in QApplication::notify (this=0x60e663442fb0, receiver=0x60e663d596c0, e=0x74c8811681e0) at /home/jarek/dev/qt-69/qtbase/src/widgets/kernel/qapplication.cpp:3250
      #43 0x000074c8fa7f1842 in QCoreApplication::notifyInternal2 (receiver=0x60e663d596c0, event=0x74c8811681e0) at /home/jarek/dev/qt-69/qtbase/src/corelib/kernel/qcoreapplication.cpp:1106
      #44 0x000074c8fa7f23cd in QCoreApplication::sendEvent (receiver=0x60e663d596c0, event=0x74c8811681e0) at /home/jarek/dev/qt-69/qtbase/src/corelib/kernel/qcoreapplication.cpp:1546
      #45 0x000074c8fa7f3381 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60e663445120) at /home/jarek/dev/qt-69/qtbase/src/corelib/kernel/qcoreapplication.cpp:1891
      #46 0x000074c8fa7f2c01 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/jarek/dev/qt-69/qtbase/src/corelib/kernel/qcoreapplication.cpp:1744
      #47 0x000074c8facba70d in postEventSourceDispatch (s=0x60e6634b1e60) at /home/jarek/dev/qt-69/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:246
      #48 0x000074c8f9d145c5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #49 0x000074c8f9d73737 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #50 0x000074c8f9d13a63 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #51 0x000074c8facbb074 in QEventDispatcherGlib::processEvents (this=0x60e6634ab170, flags=...) at /home/jarek/dev/qt-69/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399
      #52 0x000074c8f5b1662c in QXcbGlibEventDispatcher::processEvents (this=0x60e6634ab170, flags=...) at /home/jarek/dev/qt-69/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:96
      #53 0x000074c8fa808d13 in QEventLoop::processEvents (this=0x7ffd0900b290, flags=...) at /home/jarek/dev/qt-69/qtbase/src/corelib/kernel/qeventloop.cpp:104
      #54 0x000074c8fa809086 in QEventLoop::exec (this=0x7ffd0900b290, flags=...) at /home/jarek/dev/qt-69/qtbase/src/corelib/kernel/qeventloop.cpp:186
      #55 0x000074c8fa7f2189 in QCoreApplication::exec () at /home/jarek/dev/qt-69/qtbase/src/corelib/kernel/qcoreapplication.cpp:1449
      #56 0x000074c8fb810532 in QGuiApplication::exec () at /home/jarek/dev/qt-69/qtbase/src/gui/kernel/qguiapplication.cpp:1986
      #57 0x000074c8fc9b6c83 in QApplication::exec () at /home/jarek/dev/qt-69/qtbase/src/widgets/kernel/qapplication.cpp:2567
      #58 0x000060e64bed9e4c in main (argc=1, argv=0x7ffd0900bbd8) at /home/jarek/dev/creator-17/src/app/main.cpp:1021
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kandeler Christian Kandeler
            jkobus Jarek Kobus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes