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

Crash when edit qquickwindow.cpp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 12.0.0
    • Editors
    • None
    • Linux/X11

    Description

      Thread 1 "qtcreator" received signal SIGSEGV, Segmentation fault.
      (gdb) bt
      #0  0x00007f9e4f1751f8 in QHashPrivate::iterator<QHashPrivate::Node<QModelIndex, QSortFilterProxyModelPrivate::Mapping*> >::node() const (this=<synthetic pointer>)
          at /usr/src/debug/qt6-base/build/include/QtCore/../../../qtbase-everywhere-src-6.6.1/src/corelib/tools/qhash.h:788
      #1  QHash<QModelIndex, QSortFilterProxyModelPrivate::Mapping*>::const_iterator::key() const (this=<synthetic pointer>) at /usr/src/debug/qt6-base/build/include/QtCore/../../../qtbase-everywhere-src-6.6.1/src/corelib/tools/qhash.h:1153
      #2  QSortFilterProxyModel::parent(QModelIndex const&) const (this=0x5618cbc47fa0, child=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/itemmodels/qsortfilterproxymodel.cpp:2136
      #3  0x00007f9e5009985e in QModelIndex::parent() const (this=<optimized out>) at /usr/src/debug/qt6-base/build/include/QtCore/../../../qtbase-everywhere-src-6.6.1/src/corelib/itemmodels/qabstractitemmodel.h:481
      ^C#4  0x00007f9e502a9731 in QTreeView::indexRowSizeHint(QModelIndex const&) const (this=0x5618cb890930, index=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/itemviews/qtreeview.cpp:2987
      #5  0x00007f9e502abd1c in QTreeViewPrivate::itemHeight(int) const (this=this@entry=0x5618c99e65d0, item=item@entry=0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/itemviews/qtreeview.cpp:3521
      #6  0x00007f9e502abfb0 in QTreeViewPrivate::itemHeight(int) const (item=0, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/itemviews/qtreeview.cpp:3514
      #7  QTreeViewPrivate::coordinateForItem(int) const (this=0x5618c99e65d0, item=3) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/itemviews/qtreeview.cpp:3556
      #8  0x00007f9e5029ee3c in QTreeViewPrivate::visualRect(QModelIndex const&, QTreeViewPrivate::RectRule) const (this=0x5618c99e65d0, index=<optimized out>, rule=<optimized out>)
          at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/itemviews/qtreeview.cpp:1124
      #9  0x00007f9e50224592 in QAccessibleTableCell::rect() const (this=0x5618cb8dd7f0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/accessible/itemviews.cpp:1226
      #10 QAccessibleTableCell::rect() const (this=0x5618cb8dd7f0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/accessible/itemviews.cpp:1221
      #11 0x00007f9e502241fc in QAccessibleTableCell::state() const (this=0x5618cb8dd7f0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/accessible/itemviews.cpp:1185
      #12 0x00007f9e4f8f02b9 in AtSpiAdaptor::notify(QAccessibleEvent*) (this=0x5618c3f87c10, event=0x7ffc61836ed0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/gui/accessible/linux/atspiadaptor.cpp:1126
      #13 0x00007f9e502a788c in QTreeView::selectionChanged(QItemSelection const&, QItemSelection const&) (deselected=..., selected=<optimized out>, this=0x5618cb890930)
          at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/itemviews/qtreeview.cpp:4067
      #14 QTreeView::selectionChanged(QItemSelection const&, QItemSelection const&) (this=0x5618cb890930, selected=<optimized out>, deselected=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/itemviews/qtreeview.cpp:4052
      #15 0x00007f9e4efba1cb in doActivate<false>(QObject*, int, void**) (sender=0x5618cb9bad90, signal_index=3, argv=0x7ffc618370c0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qobject.cpp:4033
      #16 0x00007f9e4f15b930 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) (_t2=..., _t1=..., this=0x5618cb9bad90)
          at /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qitemselectionmodel.cpp:660
      #17 QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) (this=this@entry=0x5618cb9bad90, newSelection=..., oldSelection=...)
          at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/itemmodels/qitemselectionmodel.cpp:1909
      #18 0x00007f9e4f15c6cd in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) (this=0x5618cb9bad90, selection=<optimized out>, command=...)
          at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/itemmodels/qitemselectionmodel.cpp:1327
      #19 0x00007f9e4f15992e in QItemSelectionModel::select(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) (this=this@entry=0x5618cb9bad90, index=..., command=command@entry=...)
          at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/itemmodels/qitemselectionmodel.cpp:1174
      #20 0x00007f9e4f15a144 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) (this=this@entry=0x5618cb9bad90, index=..., command=..., command@entry=...)
          at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/itemmodels/qitemselectionmodel.cpp:1402
      #21 0x00007f9e5009eff8 in QComboBoxPrivate::setCurrentIndex(QModelIndex const&) (this=this@entry=0x5618c97348e0, mi=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/widgets/qcombobox.cpp:2185
      #22 0x00007f9e5009f1bf in QComboBoxPrivate::trySetValidIndex() (this=this@entry=0x5618c97348e0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/widgets/qcombobox.cpp:271
      #23 0x00007f9e5009f295 in QComboBoxPrivate::modelReset() (this=0x5618c97348e0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/widgets/qcombobox.cpp:252
      #24 0x00007f9e4efb9ec9 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc618376b0, r=0x5618caa1d560, this=0x5618c8e1d790, this=<optimized out>, r=<optimized out>, a=<optimized out>)
          at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qobjectdefs_impl.h:433
      #25 doActivate<false>(QObject*, int, void**) (sender=0x5618cbc47fa0, signal_index=21, argv=0x7ffc618376b0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qobject.cpp:4021
      #26 0x00007f9e4f148d97 in QAbstractItemModel::modelReset(QAbstractItemModel::QPrivateSignal) (_t1=..., this=0x5618cbc47fa0) at /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qabstractitemmodel.cpp:1412
      #27 QAbstractItemModel::endResetModel() (this=0x5618cbc47fa0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/itemmodels/qabstractitemmodel.cpp:3415
      #28 0x00007f9e4f178006 in QSortFilterProxyModelPrivate::_q_sourceReset() (this=0x7f9db400fe20) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/itemmodels/qsortfilterproxymodel.cpp:1591
      #29 0x00007f9e4efb9ec9 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc618377f0, r=0x5618cbc47fa0, this=0x5618cb9659a0, this=<optimized out>, r=<optimized out>, a=<optimized out>)
          at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qobjectdefs_impl.h:433
      #30 doActivate<false>(QObject*, int, void**) (sender=0x5618cb72fbd8, signal_index=21, argv=0x7ffc618377f0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qobject.cpp:4021
      #31 0x00007f9e4f148d97 in QAbstractItemModel::modelReset(QAbstractItemModel::QPrivateSignal) (_t1=..., this=0x5618cb72fbd8) at /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qabstractitemmodel.cpp:1412
      #32 QAbstractItemModel::endResetModel() (this=0x5618cb72fbd8) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/itemmodels/qabstractitemmodel.cpp:3415
      #33 0x00007f9e4efb9ec9 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc61837910, r=0x5618cb72fbd8, this=0x5618c8d05a70, this=<optimized out>, r=<optimized out>, a=<optimized out>)
          at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qobjectdefs_impl.h:433
      --Type <RET> for more, q to quit, c to continue without paging--
      #34 doActivate<false>(QObject*, int, void**) (sender=0x5618cc109310, signal_index=3, argv=0x7ffc61837910) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qobject.cpp:4021
      #35 0x00007f9e4efc1f84 in QTimer::timeout(QTimer::QPrivateSignal) (_t1=..., this=0x5618cc109310) at /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qtimer.cpp:272
      #36 QTimer::timerEvent(QTimerEvent*) (e=<optimized out>, this=0x5618cc109310) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qtimer.cpp:252
      #37 QTimer::timerEvent(QTimerEvent*) (this=0x5618cc109310, e=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qtimer.cpp:246
      #38 0x00007f9e4efa53b6 in QObject::event(QEvent*) (this=0x5618cc109310, e=0x7ffc61837ab0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qobject.cpp:1414
      #39 0x00007f9e4ff7319b in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5618cc109310, e=0x7ffc61837ab0)
          at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/kernel/qapplication.cpp:3296
      #40 0x00007f9e4ef62a78 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5618cc109310, event=0x7ffc61837ab0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qcoreapplication.cpp:1121
      #41 0x00007f9e4f0c8236 in QCoreApplication::sendEvent(QObject*, QEvent*) (event=0x7ffc61837ab0, receiver=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qcoreapplication.cpp:1539
      #42 QTimerInfoList::activateTimers() (this=0x5618c39221d0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qtimerinfo_unix.cpp:507
      #43 0x00007f9e4f19e90c in timerSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qeventdispatcher_glib.cpp:149
      #44 0x00007f9e4dd0df69 in  () at /usr/lib/libglib-2.0.so.0
      #45 0x00007f9e4dd6c367 in  () at /usr/lib/libglib-2.0.so.0
      #46 0x00007f9e4dd0c162 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
      #47 0x00007f9e4f19d074 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5618c391b810, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qeventdispatcher_glib.cpp:393
      #48 0x00007f9e4ef6cf5e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=..., this=0x7ffc61837d80) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qeventloop.cpp:100
      #49 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffc61837d80, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qeventloop.cpp:182
      #50 0x00007f9e4ef65518 in QCoreApplication::exec() () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/global/qflags.h:74
      #51 0x00007f9e4ff6fd1a in QApplication::exec() () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/widgets/kernel/qapplication.cpp:2574
      #52 0x00005618c2d8a4a3 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/qtcreator/qt-creator-opensource-src-12.0.0/src/app/main.cpp:831
      (gdb) 
      
      
      

      Step 1: Select some characters from the line end to the line start by keyboard
      Step 2: Delete the selected string
      Step 3: Input any character

      Attachments

        1. screenshot.png
          231 kB
          JiDe Zhang
        2. image-2023-12-11-12-08-36-552.png
          137 kB
          JiDe Zhang

        Issue Links

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

          Activity

            People

              davschul David Schulz
              zccrs JiDe Zhang
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes