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

Crash when running Catch2 tests

    XMLWordPrintable

Details

    • Linux/X11
    • 1462258939 (qt-creator/qt-creator/8.0) 1462258939 (qt-creator/qt-creator/9.0) 1462258939 (qt-creator/qt-creator/master) ba99a7f921143a5b6e1ba24ba274330e425fbf74

    Description

      Very regularly I get crashes when I try to run one or multiple tests. The first time will sometimes work, but then when I run one of the "test" commands again I get a crash

      Here's the crash log:

      Program terminated with signal SIGSEGV, Segmentation fault.
      #0  0x00007eff2c72eb98 in QHashPrivate::iterator<QHashPrivate::Node<QModelIndex, QSortFilterProxyModelPrivate::Mapping*> >::node (this=<synthetic pointer>)
          at /usr/src/debug/build/include/QtCore/../../../qtbase-everywhere-src-6.4.0/src/corelib/tools/qhash.h:782
      782	/usr/src/debug/build/include/QtCore/../../../qtbase-everywhere-src-6.4.0/src/corelib/tools/qhash.h: Le dossier n'est pas vide.
      [Current thread is 1 (Thread 0x7eff28a5e980 (LWP 33110))]
      (gdb) bt
      #0  0x00007eff2c72eb98 in QHashPrivate::iterator<QHashPrivate::Node<QModelIndex, QSortFilterProxyModelPrivate::Mapping*> >::node() const (this=<synthetic pointer>)
          at /usr/src/debug/build/include/QtCore/../../../qtbase-everywhere-src-6.4.0/src/corelib/tools/qhash.h:782
      #1  QHash<QModelIndex, QSortFilterProxyModelPrivate::Mapping*>::const_iterator::key() const (this=<synthetic pointer>)
          at /usr/src/debug/build/include/QtCore/../../../qtbase-everywhere-src-6.4.0/src/corelib/tools/qhash.h:1147
      #2  QSortFilterProxyModel::parent(QModelIndex const&) const (this=0x5616cb90aa10, child=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/corelib/itemmodels/qsortfilterproxymodel.cpp:2174
      #3  0x00007eff2c704d1a in QModelIndex::parent() const (this=0x7ffd7fa72640) at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/corelib/itemmodels/qabstractitemmodel.h:481
      #4  QAbstractItemModel::checkIndex(QModelIndex const&, QFlags<QAbstractItemModel::CheckIndexOption>) const (this=0x5616cb90aa10, index=..., options=options@entry=...)
          at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/corelib/itemmodels/qabstractitemmodel.cpp:3586
      #5  0x00007eff2d81fcf6 in QAbstractItemViewPrivate::_q_delegateSizeHintChanged(QModelIndex const&) (this=<optimized out>, index=<optimized out>)
          at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/widgets/itemviews/qabstractitemview.cpp:215
      #6  QAbstractItemView::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>)
          at /usr/src/debug/build/src/widgets/Widgets_autogen/include/moc_qabstractitemview.cpp:807
      #7  0x00007eff2c580823 in doActivate<false>(QObject*, int, void**) (sender=0x5616cb929f00, signal_index=6, argv=0x7ffd7fa72600)
          at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/corelib/kernel/qobject.cpp:3984
      #8  0x00007eff2d80242a in QAbstractItemDelegate::sizeHintChanged(QModelIndex const&) (this=this@entry=0x5616cb929f00, _t1=...)
          at /usr/src/debug/build/src/widgets/Widgets_autogen/include/moc_qabstractitemdelegate.cpp:255
      #9  0x00007eff1e3d3215 in Autotest::Internal::TestResultDelegate::clearCache() (this=0x5616cb929f00) at /usr/src/debug/qt-creator-opensource-src-8.0.1/src/plugins/autotest/testresultdelegate.cpp:185
      #10 0x00007eff1e3dfeb2 in Autotest::Internal::TestResultsPane::clearContents() (this=0x5616cb890700) at /usr/src/debug/qt-creator-opensource-src-8.0.1/src/plugins/autotest/testresultspane.cpp:345
      #11 0x00007eff1e3e9f8f in Autotest::Internal::TestRunner::prepareToRunTests(Autotest::TestRunMode) (this=0x5616cb221be8, mode=Autotest::TestRunMode::Run)
          at /usr/src/debug/qt-creator-opensource-src-8.0.1/src/plugins/autotest/testrunner.cpp:389
      #12 0x00007eff1e34ccc9 in Autotest::Internal::AutotestPluginPrivate::onRunFailedTriggered() (this=0x5616cb221960) at /usr/src/debug/qt-creator-opensource-src-8.0.1/src/plugins/autotest/autotestplugin.cpp:381
      #13 0x00007eff2c5805c3 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd7fa728b0, r=0x5616cb221960, this=0x5616cb9190a0, this=<optimized out>, r=<optimized out>, a=<optimized out>)
          at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/corelib/kernel/qobjectdefs_impl.h:363
      #14 doActivate<false>(QObject*, int, void**) (sender=0x5616cb8e0600, signal_index=7, argv=0x7ffd7fa728b0) at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/corelib/kernel/qobject.cpp:3972
      #15 0x00007eff2d0c8c17 in QAction::triggered(bool) (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/build/src/gui/Gui_autogen/include/moc_qaction.cpp:572
      #16 0x00007eff2c5805c3 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd7fa729d0, r=0x5616cb8e0600, this=0x5616cb986620, this=<optimized out>, r=<optimized out>, a=<optimized out>)
          at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/corelib/kernel/qobjectdefs_impl.h:363
      #17 doActivate<false>(QObject*, int, void**) (sender=0x5616cb918680, signal_index=7, argv=0x7ffd7fa729d0) at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/corelib/kernel/qobject.cpp:3972
      #18 0x00007eff2d0c8c17 in QAction::triggered(bool) (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/build/src/gui/Gui_autogen/include/moc_qaction.cpp:572
      #19 0x00007eff2c5805c3 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd7fa72af0, r=0x5616cb918680, this=0x5616cb93af20, this=<optimized out>, r=<optimized out>, a=<optimized out>)
          at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/corelib/kernel/qobjectdefs_impl.h:363
      #20 doActivate<false>(QObject*, int, void**) (sender=0x5616cb939440, signal_index=7, argv=0x7ffd7fa72af0) at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/corelib/kernel/qobject.cpp:3972
      #21 0x00007eff2d0c8c17 in QAction::triggered(bool) (this=this@entry=0x5616cb939440, _t1=<optimized out>) at /usr/src/debug/build/src/gui/Gui_autogen/include/moc_qaction.cpp:572
      #22 0x00007eff2d0cc079 in QAction::activate(QAction::ActionEvent) (this=0x5616cb939440, event=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/gui/kernel/qaction.cpp:1098
      #23 0x00007eff2d6744e2 in QAbstractButtonPrivate::click() (this=0x5616cb938e50) at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/widgets/widgets/qabstractbutton.cpp:362
      #24 0x00007eff2d681635 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) (this=0x5616cb937350, e=0x7ffd7fa730d0) at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/widgets/widgets/qabstractbutton.cpp:973
      #25 0x00007eff2d7813df in QToolButton::mouseReleaseEvent(QMouseEvent*) (this=<optimized out>, e=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/widgets/widgets/qtoolbutton.cpp:584
      #26 0x00007eff2d5bda05 in QWidget::event(QEvent*) (this=0x5616cb937350, event=0x7ffd7fa730d0) at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/widgets/kernel/qwidget.cpp:8816
      #27 0x00007eff2d575b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5616cb937350, e=0x7ffd7fa730d0)
          at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/widgets/kernel/qapplication.cpp:3313
      #28 0x00007eff2d56e4d9 in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=<optimized out>, e=0x7ffd7fa730d0)
          at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/widgets/kernel/qapplication.cpp:2802
      #29 0x00007eff2c52a408 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5616cb937350, event=0x7ffd7fa730d0)
          at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/corelib/kernel/qcoreapplication.cpp:1026
      #30 0x00007eff2d56ae39 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool)
          (receiver=0x5616cb937350, event=0x7ffd7fa730d0, alienWidget=0x5616cb937350, nativeWidget=0x5616caee0080, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false)
          at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/widgets/kernel/qapplication.cpp:2386
      #31 0x00007eff2d5cbc4e in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=0x5616cccced00, event=0x7ffd7fa73480) at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/widgets/kernel/qwidgetwindow.cpp:623
      #32 0x00007eff2d5ccf45 in QWidgetWindow::event(QEvent*) (this=0x5616cccced00, event=0x7ffd7fa73480) at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/widgets/kernel/qwidgetwindow.cpp:241
      #33 0x00007eff2d575b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5616cccced00, e=0x7ffd7fa73480)
          at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/widgets/kernel/qapplication.cpp:3313
      #34 0x00007eff2c52a408 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5616cccced00, event=0x7ffd7fa73480)
          at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/corelib/kernel/qcoreapplication.cpp:1026
      #35 0x00007eff2cd9a0ec in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x5616cb2f16b0)
          at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/gui/kernel/qguiapplication.cpp:2249
      #36 0x00007eff2cdf7075 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=flags@entry=...)
          at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/gui/kernel/qwindowsysteminterface.cpp:1103
      #37 0x00007eff285b4430 in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:57
      #38 0x00007eff2b3d681b in g_main_dispatch (context=0x7eff20005040) at ../glib/glib/gmain.c:3444
      #39 g_main_context_dispatch (context=0x7eff20005040) at ../glib/glib/gmain.c:4162
      #40 0x00007eff2b42cec9 in g_main_context_iterate.constprop.0 (context=0x7eff20005040, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4238
      #41 0x00007eff2b3d50d2 in g_main_context_iteration (context=0x7eff20005040, may_block=1) at ../glib/glib/gmain.c:4303
      #42 0x00007eff2c74d602 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5616ca90cd70, flags=...)
          at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/corelib/kernel/qeventdispatcher_glib.cpp:393
      #43 0x00007eff2c5357b4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffd7fa73930, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/corelib/global/qflags.h:34
      #44 0x00007eff2c52d02b in QCoreApplication::exec() () at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/corelib/global/qflags.h:74
      #45 0x00007eff2cd95252 in QGuiApplication::exec() () at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/gui/kernel/qguiapplication.cpp:1859
      #46 0x00007eff2d56785a in QApplication::exec() () at /usr/src/debug/qtbase-everywhere-src-6.4.0/src/widgets/kernel/qapplication.cpp:2594
      #47 0x00005616c962ecec in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt-creator-opensource-src-8.0.1/src/app/main.cpp:790
      
      

      Attachments

        Issue Links

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

          Activity

            People

              cstenger Christian Stenger
              jcelerier Jean-Michaƫl Celerier
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes