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

Crash when disabling multiple kits in short sequence

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P1: Critical P1: Critical
    • None
    • Qt Creator 18.0.0-beta1 (18.0 branch)
    • None

      I had multiple kits configured for a project, and selected "Disable kit for project" for multiple ones in succession (disabled a kit, another kit got "active" and probably before that was finished parsing the project I disabled that kit too, then got the crash)

      Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
      0   libUtils.17.0.82.dylib        	       0x103154f64 std::__1::unique_ptr<Utils::MacroExpander, std::__1::default_delete<Utils::MacroExpander>>::operator bool[abi:ne190102]() const + 24 (unique_ptr.h:280)
      1   libUtils.17.0.82.dylib        	       0x10313b7cc Utils::Internal::BaseAspectPrivate::macroExpander() + 48 (aspects.cpp:63)
      2   libUtils.17.0.82.dylib        	       0x103180c60 Utils::BaseAspect::addMacroExpansion(QWidget*)::$_0::operator()() const + 36 (aspects.cpp:809)
      3   libUtils.17.0.82.dylib        	       0x103180c30 decltype(std::declval<Utils::BaseAspect::addMacroExpansion(QWidget*)::$_0&>()()) std::__1::__invoke[abi:ne190102]<Utils::BaseAspect::addMacroExpansion(QWidget*)::$_0&>(Utils::BaseAspect::addMacroExpansion(QWidget*)::$_0&) + 24 (invoke.h:149)
      4   libUtils.17.0.82.dylib        	       0x103180be8 Utils::MacroExpander* std::__1::__invoke_void_return_wrapper<Utils::MacroExpander*, false>::__call[abi:ne190102]<Utils::BaseAspect::addMacroExpansion(QWidget*)::$_0&>(Utils::BaseAspect::addMacroExpansion(QWidget*)::$_0&) + 24 (invoke.h:216)
      5   libUtils.17.0.82.dylib        	       0x103180bc4 std::__1::__function::__alloc_func<Utils::BaseAspect::addMacroExpansion(QWidget*)::$_0, std::__1::allocator<Utils::BaseAspect::addMacroExpansion(QWidget*)::$_0>, Utils::MacroExpander* ()>::operator()[abi:ne190102]() + 28 (function.h:171)
      6   libUtils.17.0.82.dylib        	       0x10317fa64 std::__1::__function::__func<Utils::BaseAspect::addMacroExpansion(QWidget*)::$_0, std::__1::allocator<Utils::BaseAspect::addMacroExpansion(QWidget*)::$_0>, Utils::MacroExpander* ()>::operator()() + 28 (function.h:313)
      7   libUtils.17.0.82.dylib        	       0x10352d0cc std::__1::__function::__value_func<Utils::MacroExpander* ()>::operator()[abi:ne190102]() const + 60 (function.h:430)
      8   libUtils.17.0.82.dylib        	       0x10352d064 std::__1::function<Utils::MacroExpander* ()>::operator()() const + 24 (function.h:989)
      9   libUtils.17.0.82.dylib        	       0x10375942c Utils::Internal::VariableGroupItem::data(int, int) const + 92 (variablechooser.cpp:130)
      10  libUtils.17.0.82.dylib        	       0x103723780 Utils::BaseTreeModel::data(QModelIndex const&, int) const + 104 (treemodel.cpp:1034)
      11  QtCore                        	       0x105cd1c3c QSortFilterProxyModel::data(QModelIndex const&, int) const + 204
      12  QtCore                        	       0x105c9b474 QAbstractItemModel::multiData(QModelIndex const&, QModelRoleDataSpan) const + 96
      13  QtWidgets                     	       0x102874ba4 QStyledItemDelegate::initStyleOption(QStyleOptionViewItem*, QModelIndex const&) const + 108
      14  QtWidgets                     	       0x102875664 QStyledItemDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const + 256
      15  QtWidgets                     	       0x1028b6d38 QTreeView::indexRowSizeHint(QModelIndex const&) const + 596
      16  QtWidgets                     	       0x1028b6f5c QTreeViewPrivate::itemHeight(int) const + 116
      17  QtWidgets                     	       0x1028b71c8 QTreeViewPrivate::updateScrollBars() + 216
      18  QtWidgets                     	       0x1028c1bb4 QTreeView::updateGeometries() + 268
      19  QtWidgets                     	       0x1026070e8 QWidget::event(QEvent*) + 992
      20  QtWidgets                     	       0x102657c50 QFrame::event(QEvent*) + 56
      21  QtWidgets                     	       0x102848528 QAbstractItemView::viewportEvent(QEvent*) + 1176
      22  QtWidgets                     	       0x1028b98f8 QTreeView::viewportEvent(QEvent*) + 312
      23  QtCore                        	       0x105a770a8 QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 260
      24  QtWidgets                     	       0x1025b974c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 300
      25  QtWidgets                     	       0x1025bb1c8 QApplication::notify(QObject*, QEvent*) + 3208
      26  QtCore                        	       0x105a778e0 QCoreApplication::sendEvent(QObject*, QEvent*) + 172
      27  QtWidgets                     	       0x1025febd4 QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) + 280
      28  QtWidgets                     	       0x1025fec50 QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) + 404
      29  QtWidgets                     	       0x1025fec50 QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) + 404
      30  QtWidgets                     	       0x1025fec50 QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) + 404
      31  QtWidgets                     	       0x1025fec50 QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) + 404
      32  QtWidgets                     	       0x1025fec50 QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) + 404
      33  QtWidgets                     	       0x1025fec50 QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) + 404
      34  QtWidgets                     	       0x1025fec50 QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) + 404
      35  QtWidgets                     	       0x1025fec50 QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) + 404
      36  QtWidgets                     	       0x1025fec50 QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) + 404
      37  QtWidgets                     	       0x1025fec50 QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) + 404
      38  QtWidgets                     	       0x1025fec50 QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) + 404
      39  QtWidgets                     	       0x1025fec50 QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) + 404
      40  QtWidgets                     	       0x1025fec50 QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) + 404
      41  QtWidgets                     	       0x1025fec50 QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) + 404
      42  QtWidgets                     	       0x1025fec50 QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) + 404
      43  QtWidgets                     	       0x1025fec50 QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) + 404
      44  QtWidgets                     	       0x1025fec50 QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) + 404
      45  QtWidgets                     	       0x1025fec50 QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) + 404
      46  QtWidgets                     	       0x1025fda30 QWidgetPrivate::prepareToRender(QRegion const&, QFlags<QWidget::RenderFlag>) + 172
      47  QtWidgets                     	       0x1025fd520 QWidget::render(QPainter*, QPoint const&, QRegion const&, QFlags<QWidget::RenderFlag>) + 216
      48  QtWidgets                     	       0x1025ff654 0x1025ac000 + 341588
      49  QtWidgets                     	       0x10265a288 QGraphicsEffectSource::pixmap(Qt::CoordinateSystem, QPoint*, QGraphicsEffect::PixmapPadMode) const + 392
      50  QtWidgets                     	       0x10265c7b0 QGraphicsOpacityEffect::draw(QPainter*) + 208
      51  QtWidgets                     	       0x1025f6a7c QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 2648
      52  QtWidgets                     	       0x1025ff1e0 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 880
      53  QtWidgets                     	       0x1025ff0c8 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 600
      54  QtWidgets                     	       0x1025ff0c8 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 600
      55  QtWidgets                     	       0x1025ff0c8 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 600
      56  QtWidgets                     	       0x1025f6dd0 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 3500
      57  QtWidgets                     	       0x1025ff1e0 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 880
      58  QtWidgets                     	       0x1025f6dd0 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 3500
      59  QtWidgets                     	       0x102618c74 QWidgetRepaintManager::paintAndFlush() + 4268
      60  QtWidgets                     	       0x102618f18 QWidgetRepaintManager::sync() + 268
      61  QtWidgets                     	       0x102607278 QWidget::event(QEvent*) + 1392
      62  QtWidgets                     	       0x102729660 QMainWindow::event(QEvent*) + 728
      63  QtWidgets                     	       0x1025b976c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 332
      64  QtWidgets                     	       0x1025bb1c8 QApplication::notify(QObject*, QEvent*) + 3208
      65  QtCore                        	       0x105a778e0 QCoreApplication::sendEvent(QObject*, QEvent*) + 172
      66  QtCore                        	       0x105a78160 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 524
      67  libqcocoa.dylib               	       0x10236c7e0 0x102354000 + 100320
      68  libqcocoa.dylib               	       0x10236da80 0x102354000 + 105088
      69  CoreFoundation                	       0x194dc6b14 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
      70  CoreFoundation                	       0x194dc6aa8 __CFRunLoopDoSource0 + 172
      71  CoreFoundation                	       0x194dc6814 __CFRunLoopDoSources0 + 232
      72  CoreFoundation                	       0x194dc5468 __CFRunLoopRun + 840
      73  CoreFoundation                	       0x194dc4a98 CFRunLoopRunSpecific + 572
      74  HIToolbox                     	       0x1a086727c RunCurrentEventLoopInMode + 324
      75  HIToolbox                     	       0x1a086a31c ReceiveNextEventCommon + 216
      76  HIToolbox                     	       0x1a09f5484 _BlockUntilNextEventMatchingListInModeWithFilter + 76
      77  AppKit                        	       0x198ce9a34 _DPSNextEvent + 684
      78  AppKit                        	       0x199688940 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688
      79  AppKit                        	       0x198cdcbe4 -[NSApplication run] + 480
      80  libqcocoa.dylib               	       0x10236b304 0x102354000 + 94980
      81  QtCore                        	       0x105a80fa4 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 588
      82  QtCore                        	       0x105a775f0 QCoreApplication::exec() + 228
      83  Qt Creator                    	       0x100b76720 main + 18620 (main.cpp:1024)
      84  dyld                          	       0x19493ab98 start + 6076
      

        For Gerrit Dashboard: QTCREATORBUG-33467
        # Subject Branch Project Status CR V

            kandeler Christian Kandeler
            con Eike Ziller
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change