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

Crash on quickly closing many qml files

    XMLWordPrintable

Details

    Description

      Open all files from $CREATORDIR/tests/manual/qml/testfiles/testfiles.qmlproject
      (I opened them in alpahbetical order, no idea if that matters.)
      Switch to Design mode hit Ctrl+W until all editors are closed, and do that rapidly.

      #0 0xb75f313e in QVector<int>::size (this=0xb71033e0) at ../../include/QtCore/../../../qt/src/corelib/tools/qvector.h:124
      #1 0xb7b4c4b9 in QSortFilterProxyModelPrivate::proxy_to_source (this=0x9ed8c70, proxy_index=...)
      at /home/dteske/git/qt/src/gui/itemviews/qsortfilterproxymodel.cpp:369
      #2 0xb7b53f6c in QSortFilterProxyModel::mapToSource (this=0xa031690, proxyIndex=...)
      at /home/dteske/git/qt/src/gui/itemviews/qsortfilterproxymodel.cpp:2500
      #3 0xb7b5159d in QSortFilterProxyModel::data (this=0xa031690, index=..., role=6)
      at /home/dteske/git/qt/src/gui/itemviews/qsortfilterproxymodel.cpp:1713
      #4 0xaf03e02e in QmlJSEditor::Internal::QmlJSOutlineFilterModel::data (this=0xa031690, index=..., role=6)
      at /home/dteske/git/ide/src/plugins/qmljseditor/qmljsoutline.cpp:87
      #5 0xb790de17 in QModelIndex::data (this=0xbfffbd74, arole=6) at ../../include/QtCore/../../../qt/src/corelib/kernel/qabstractitemmodel.h:398
      #6 0xb7b78416 in QStyledItemDelegate::initStyleOption (this=0x9848ea8, option=0xbfffbc08, index=...)
      at /home/dteske/git/qt/src/gui/itemviews/qstyleditemdelegate.cpp:318
      #7 0xb50ffa68 in Utils::AnnotatedItemDelegate::sizeHint (this=0x9848ea8, option=..., index=...)
      at /home/dteske/git/ide/src/libs/utils/annotateditemdelegate.cpp:120
      #8 0xb7aff21a in QTreeView::sizeHintForColumn (this=0xa090410, column=0) at /home/dteske/git/qt/src/gui/itemviews/qtreeview.cpp:2737
      #9 0xb7acb73e in QHeaderViewPrivate::viewSectionSizeHint (this=0x9fb3750, logical=0) at /home/dteske/git/qt/src/gui/itemviews/qheaderview.cpp:3501
      #10 0xb7ac9a5a in QHeaderViewPrivate::resizeSections (this=0x9fb3750, globalMode=QHeaderView::Interactive, useGlobalMode=false)
      at /home/dteske/git/qt/src/gui/itemviews/qheaderview.cpp:3009
      #11 0xb7ac3fd2 in QHeaderView::resizeSections (this=0x9efbd80) at /home/dteske/git/qt/src/gui/itemviews/qheaderview.cpp:1618
      #12 0xb7acd62e in QHeaderViewPrivate::executePostedResize (this=0x9fb3750)
      at ../../include/QtGui/private/../../../../qt/src/gui/itemviews/qheaderview_p.h:230
      #13 0xb7ac1d71 in QHeaderView::sectionSize (this=0x9efbd80, logicalIndex=0) at /home/dteske/git/qt/src/gui/itemviews/qheaderview.cpp:641
      #14 0xb7b02684 in QTreeViewPrivate::updateScrollBars (this=0x9919820) at /home/dteske/git/qt/src/gui/itemviews/qtreeview.cpp:3483
      #15 0xb7afeeba in QTreeView::updateGeometries (this=0xa090410) at /home/dteske/git/qt/src/gui/itemviews/qtreeview.cpp:2686
      #16 0xb7ab4d9e in QAbstractItemView::resizeEvent (this=0xa090410, event=0xbfffcabc)
      at /home/dteske/git/qt/src/gui/itemviews/qabstractitemview.cpp:2399
      #17 0xb74952c7 in QWidget::event (this=0xa090410, event=0xbfffcabc) at /home/dteske/git/qt/src/gui/kernel/qwidget.cpp:8426
      #18 0xb794273c in QFrame::event (this=0xa090410, e=0xbfffcabc) at /home/dteske/git/qt/src/gui/widgets/qframe.cpp:557
      #19 0xb79f3111 in QAbstractScrollArea::viewportEvent (this=0xa090410, e=0xbfffcabc)
      at /home/dteske/git/qt/src/gui/widgets/qabstractscrollarea.cpp:1043
      #20 0xb7ab0e0b in QAbstractItemView::viewportEvent (this=0xa090410, event=0xbfffcabc)
      at /home/dteske/git/qt/src/gui/itemviews/qabstractitemview.cpp:1628
      #21 0xb7af84f9 in QTreeView::viewportEvent (this=0xa090410, event=0xbfffcabc) at /home/dteske/git/qt/src/gui/itemviews/qtreeview.cpp:1256
      #22 0xb79f3c85 in QAbstractScrollAreaPrivate::viewportEvent (this=0x9919820, event=0xbfffcabc)
      at /home/dteske/git/qt/src/gui/widgets/qabstractscrollarea_p.h:100
      #23 0xb79f3d70 in QAbstractScrollAreaFilter::eventFilter (this=0x9846600, o=0x9ded3b8, e=0xbfffcabc)
      at /home/dteske/git/qt/src/gui/widgets/qabstractscrollarea_p.h:116
      #24 0xb6f81d51 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x805ac90, receiver=0x9ded3b8, event=0xbfffcabc)
      at /home/dteske/git/qt/src/corelib/kernel/qcoreapplication.cpp:902
      #25 0xb7426ed6 in QApplicationPrivate::notify_helper (this=0x805ac90, receiver=0x9ded3b8, e=0xbfffcabc)
      at /home/dteske/git/qt/src/gui/kernel/qapplication.cpp:4458
      #26 0xb7426d60 in QApplication::notify (this=0xbffff068, receiver=0x9ded3b8, e=0xbfffcabc)
      at /home/dteske/git/qt/src/gui/kernel/qapplication.cpp:4427
      #27 0xb6f81a73 in QCoreApplication::notifyInternal (this=0xbffff068, receiver=0x9ded3b8, event=0xbfffcabc)
      at /home/dteske/git/qt/src/corelib/kernel/qcoreapplication.cpp:787
      #28 0xb7416755 in QCoreApplication::sendEvent (receiver=0x9ded3b8, event=0xbfffcabc)
      at ../../include/QtCore/../../../qt/src/corelib/kernel/qcoreapplication.h:215
      #29 0xb7492a52 in QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x9919b28, recursive=false, disableUpdates=false)
      at /home/dteske/git/qt/src/gui/kernel/qwidget.cpp:7342
      #30 0xb7492cee in QWidgetPrivate::show_helper (this=0x9919b28) at /home/dteske/git/qt/src/gui/kernel/qwidget.cpp:7393
      #31 0xb74937a9 in QWidget::setVisible (this=0x9ded3b8, visible=true) at /home/dteske/git/qt/src/gui/kernel/qwidget.cpp:7674
      #32 0xb7471c1a in QWidget::show (this=0x9ded3b8) at ../../include/QtGui/../../../qt/src/gui/kernel/qwidget.h:487
      #33 0xb7493c1e in QWidgetPrivate::showChildren (this=0x9919820, spontaneous=false) at /home/dteske/git/qt/src/gui/kernel/qwidget.cpp:7762
      #34 0xb7492d1c in QWidgetPrivate::show_helper (this=0x9919820) at /home/dteske/git/qt/src/gui/kernel/qwidget.cpp:7399
      #35 0xb74937a9 in QWidget::setVisible (this=0xa090410, visible=true) at /home/dteske/git/qt/src/gui/kernel/qwidget.cpp:7674
      #36 0xb7471c1a in QWidget::show (this=0xa090410) at ../../include/QtGui/../../../qt/src/gui/kernel/qwidget.h:487
      #37 0xb7493c1e in QWidgetPrivate::showChildren (this=0x9f6d668, spontaneous=false) at /home/dteske/git/qt/src/gui/kernel/qwidget.cpp:7762
      #38 0xb7492d1c in QWidgetPrivate::show_helper (this=0x9f6d668) at /home/dteske/git/qt/src/gui/kernel/qwidget.cpp:7399
      #39 0xb749289b in QWidgetPrivate::show_recursive (this=0x9f6d668) at /home/dteske/git/qt/src/gui/kernel/qwidget.cpp:7323
      #40 0xb7493c11 in QWidgetPrivate::showChildren (this=0x8881b68, spontaneous=false) at /home/dteske/git/qt/src/gui/kernel/qwidget.cpp:7760
      #41 0xb7492d1c in QWidgetPrivate::show_helper (this=0x8881b68) at /home/dteske/git/qt/src/gui/kernel/qwidget.cpp:7399
      #42 0xb749289b in QWidgetPrivate::show_recursive (this=0x8881b68) at /home/dteske/git/qt/src/gui/kernel/qwidget.cpp:7323
      #43 0xb7493c11 in QWidgetPrivate::showChildren (this=0x88807c8, spontaneous=false) at /home/dteske/git/qt/src/gui/kernel/qwidget.cpp:7760
      #44 0xb7492d1c in QWidgetPrivate::show_helper (this=0x88807c8) at /home/dteske/git/qt/src/gui/kernel/qwidget.cpp:7399
      #45 0xb749289b in QWidgetPrivate::show_recursive (this=0x88807c8) at /home/dteske/git/qt/src/gui/kernel/qwidget.cpp:7323
      #46 0xb7493c11 in QWidgetPrivate::showChildren (this=0x819ce88, spontaneous=false) at /home/dteske/git/qt/src/gui/kernel/qwidget.cpp:7760
      #47 0xb7492d1c in QWidgetPrivate::show_helper (this=0x819ce88) at /home/dteske/git/qt/src/gui/kernel/qwidget.cpp:7399
      #48 0xb749289b in QWidgetPrivate::show_recursive (this=0x819ce88) at /home/dteske/git/qt/src/gui/kernel/qwidget.cpp:7323
      #49 0xb7493c11 in QWidgetPrivate::showChildren (this=0x82601a0, spontaneous=false) at /home/dteske/git/qt/src/gui/kernel/qwidget.cpp:7760
      #50 0xb7492d1c in QWidgetPrivate::show_helper (this=0x82601a0) at /home/dteske/git/qt/src/gui/kernel/qwidget.cpp:7399
      #51 0xb749289b in QWidgetPrivate::show_recursive (this=0x82601a0) at /home/dteske/git/qt/src/gui/kernel/qwidget.cpp:7323
      #52 0xb7493c11 in QWidgetPrivate::showChildren (this=0x824abd0, spontaneous=false) at /home/dteske/git/qt/src/gui/kernel/qwidget.cpp:7760
      #53 0xb7492d1c in QWidgetPrivate::show_helper (this=0x824abd0) at /home/dteske/git/qt/src/gui/kernel/qwidget.cpp:7399
      #54 0xb74937a9 in QWidget::setVisible (this=0x8073700, visible=true) at /home/dteske/git/qt/src/gui/kernel/qwidget.cpp:7674
      #55 0xb7471c1a in QWidget::show (this=0x8073700) at ../../include/QtGui/../../../qt/src/gui/kernel/qwidget.h:487
      #56 0xb7471319 in QStackedLayout::setCurrentIndex (this=0x819ec30, index=1) at /home/dteske/git/qt/src/gui/kernel/qstackedlayout.cpp:311
      #57 0xb54a1ba9 in Core::Internal::FancyTabWidget::showWidget (this=0x819d670, index=1)
      at /home/dteske/git/ide/src/plugins/coreplugin/fancytabwidget.cpp:506
      #58 0xb55941b4 in Core::Internal::FancyTabWidget::qt_metacall (this=0x819d670, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfffd488)
      at /home/dteske/git/bide/src/plugins/coreplugin/.moc/debug-shared/moc_fancytabwidget.cpp:233
      #59 0xb6f897e8 in QMetaObject::metacall (object=0x819d670, cl=QMetaObject::InvokeMetaMethod, idx=30, argv=0xbfffd488)
      at /home/dteske/git/qt/src/corelib/kernel/qmetaobject.cpp:237
      #60 0xb6f9e972 in QMetaObject::activate (sender=0x819d800, m=0xb564bdf0, local_signal_index=0, argv=0xbfffd488)
      at /home/dteske/git/qt/src/corelib/kernel/qobject.cpp:3278
      #61 0xb559403c in Core::Internal::FancyTabBar::currentChanged (this=0x819d800, _t1=1)
      at /home/dteske/git/bide/src/plugins/coreplugin/.moc/debug-shared/moc_fancytabwidget.cpp:169
      #62 0xb54a0771 in Core::Internal::FancyTabBar::setCurrentIndex (this=0x819d800, index=1)
      at /home/dteske/git/ide/src/plugins/coreplugin/fancytabwidget.cpp:327
      #63 0xb54a1b6e in Core::Internal::FancyTabWidget::setCurrentIndex (this=0x819d670, index=1)
      at /home/dteske/git/ide/src/plugins/coreplugin/fancytabwidget.cpp:500
      #64 0xb551de2b in Core::ModeManager::activateMode (this=0x81a10d0, id=...) at /home/dteske/git/ide/src/plugins/coreplugin/modemanager.cpp:175
      #65 0xb5558185 in Core::DesignMode::currentEditorChanged (this=0x815d840, editor=0x0)
      at /home/dteske/git/ide/src/plugins/coreplugin/designmode.cpp:248
      #66 0xb559c594 in Core::DesignMode::qt_metacall (this=0x815d840, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfffd6b8)
      at /home/dteske/git/bide/src/plugins/coreplugin/.moc/debug-shared/moc_designmode.cpp:84
      #67 0xb6f897e8 in QMetaObject::metacall (object=0x815d840, cl=QMetaObject::InvokeMetaMethod, idx=6, argv=0xbfffd6b8)
      at /home/dteske/git/qt/src/corelib/kernel/qmetaobject.cpp:237
      #68 0xb6f9e972 in QMetaObject::activate (sender=0x81d2360, m=0xb564c454, local_signal_index=0, argv=0xbfffd6b8)
      at /home/dteske/git/qt/src/corelib/kernel/qobject.cpp:3278
      #69 0xb5595632 in Core::EditorManager::currentEditorChanged (this=0x81d2360, _t1=0x0)
      at /home/dteske/git/bide/src/plugins/coreplugin/.moc/debug-shared/moc_editormanager.cpp:235
      #70 0xb54c98a8 in Core::EditorManager::closeEditors (this=0x81d2360, editorsToClose=..., askAboutModifiedEditors=true)
      at /home/dteske/git/ide/src/plugins/coreplugin/editormanager/editormanager.cpp:843
      #71 0xb54c891f in Core::EditorManager::closeEditor (this=0x81d2360, editor=0x83e2f70)
      at /home/dteske/git/ide/src/plugins/coreplugin/editormanager/editormanager.cpp:738
      #72 0xb54c88c5 in Core::EditorManager::closeEditor (this=0x81d2360)
      at /home/dteske/git/ide/src/plugins/coreplugin/editormanager/editormanager.cpp:731
      #73 0xb55954a3 in Core::EditorManager::qt_metacall (this=0x81d2360, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbfffd9e8)
      at /home/dteske/git/bide/src/plugins/coreplugin/.moc/debug-shared/moc_editormanager.cpp:206
      #74 0xb6f897e8 in QMetaObject::metacall (object=0x81d2360, cl=QMetaObject::InvokeMetaMethod, idx=40, argv=0xbfffd9e8)
      at /home/dteske/git/qt/src/corelib/kernel/qmetaobject.cpp:237
      #75 0xb6f9e972 in QMetaObject::activate (sender=0x823f6d0, m=0xb7f49f78, local_signal_index=1, argv=0xbfffd9e8)
      at /home/dteske/git/qt/src/corelib/kernel/qobject.cpp:3278
      #76 0xb74160b2 in QAction::triggered (this=0x823f6d0, _t1=false) at .moc/debug-shared/moc_qaction.cpp:263
      #77 0xb74158e1 in QAction::qt_metacall (this=0x823f6d0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfffdb48)
      at .moc/debug-shared/moc_qaction.cpp:167
      #78 0xb6f897e8 in QMetaObject::metacall (object=0x823f6d0, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0xbfffdb48)
      at /home/dteske/git/qt/src/corelib/kernel/qmetaobject.cpp:237
      #79 0xb6f9e972 in QMetaObject::activate (sender=0x81a5100, m=0xb7f49f78, local_signal_index=1, argv=0xbfffdb48)
      at /home/dteske/git/qt/src/corelib/kernel/qobject.cpp:3278
      #80 0xb74160b2 in QAction::triggered (this=0x81a5100, _t1=false) at .moc/debug-shared/moc_qaction.cpp:263
      #81 0xb7415555 in QAction::activate (this=0x81a5100, event=QAction::Trigger) at /home/dteske/git/qt/src/gui/kernel/qaction.cpp:1257
      #82 0xb74152f3 in QAction::event (this=0x81a5100, e=0xbfffe020) at /home/dteske/git/qt/src/gui/kernel/qaction.cpp:1183
      #83 0xb7426efa in QApplicationPrivate::notify_helper (this=0x805ac90, receiver=0x81a5100, e=0xbfffe020)
      at /home/dteske/git/qt/src/gui/kernel/qapplication.cpp:4462
      #84 0xb7424679 in QApplication::notify (this=0xbffff068, receiver=0x81a5100, e=0xbfffe020)
      at /home/dteske/git/qt/src/gui/kernel/qapplication.cpp:3862
      #85 0xb6f81a73 in QCoreApplication::notifyInternal (this=0xbffff068, receiver=0x81a5100, event=0xbfffe020)
      at /home/dteske/git/qt/src/corelib/kernel/qcoreapplication.cpp:787
      #86 0xb7416755 in QCoreApplication::sendEvent (receiver=0x81a5100, event=0xbfffe020)
      at ../../include/QtCore/../../../qt/src/corelib/kernel/qcoreapplication.h:215
      #87 0xb746cf53 in QShortcutMap::dispatchEvent (this=0x805ad3c, e=0xbfffe52c) at /home/dteske/git/qt/src/gui/kernel/qshortcutmap.cpp:879
      #88 0xb746b7d6 in QShortcutMap::tryShortcutEvent (this=0x805ad3c, o=0x8ed2808, e=0xbfffe52c)
      at /home/dteske/git/qt/src/gui/kernel/qshortcutmap.cpp:364
      #89 0xb74248db in QApplication::notify (this=0xbffff068, receiver=0x8ed2808, e=0xbfffe52c)
      at /home/dteske/git/qt/src/gui/kernel/qapplication.cpp:3904
      #90 0xb6f81a73 in QCoreApplication::notifyInternal (this=0xbffff068, receiver=0x8ed2808, event=0xbfffe52c)
      at /home/dteske/git/qt/src/corelib/kernel/qcoreapplication.cpp:787
      #91 0xb74298b5 in QCoreApplication::sendSpontaneousEvent (receiver=0x8ed2808, event=0xbfffe52c)
      at ../../include/QtCore/../../../qt/src/corelib/kernel/qcoreapplication.h:218
      #92 0xb742726b in qt_sendSpontaneousEvent (receiver=0x8ed2808, event=0xbfffe52c) at /home/dteske/git/qt/src/gui/kernel/qapplication.cpp:5456
      #93 0xb750155c in QKeyMapper::sendKeyEvent (keyWidget=0x8ed2808, grab=false, type=QEvent::KeyPress, code=87, modifiers=..., text=...,
      autorepeat=false, count=1, nativeScanCode=25, nativeVirtualKey=119, nativeModifiers=20)
      at /home/dteske/git/qt/src/gui/kernel/qkeymapper_x11.cpp:1866
      #94 0xb750126f in QKeyMapperPrivate::translateKeyEvent (this=0x8095da8, keyWidget=0x8ed2808, event=0xbfffec60, grab=false)
      at /home/dteske/git/qt/src/gui/kernel/qkeymapper_x11.cpp:1836
      #95 0xb74caf59 in QApplication::x11ProcessEvent (this=0xbffff068, event=0xbfffec60) at /home/dteske/git/qt/src/gui/kernel/qapplication_x11.cpp:3480
      #96 0xb75034b5 in x11EventSourceDispatch (s=0x805ea40, callback=0, user_data=0x0)
      at /home/dteske/git/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:146
      #97 0xb6a84305 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
      #98 0xb6a87fe8 in ?? () from /lib/libglib-2.0.so.0
      #99 0xb6a881c8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
      #100 0xb6fbb92c in QEventDispatcherGlib::processEvents (this=0x805b878, flags=...)
      at /home/dteske/git/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:422
      #101 0xb7503aee in QGuiEventDispatcherGlib::processEvents (this=0x805b878, flags=...)
      at /home/dteske/git/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:204
      #102 0xb6f7ee3b in QEventLoop::processEvents (this=0xbfffef3c, flags=...) at /home/dteske/git/qt/src/corelib/kernel/qeventloop.cpp:149
      #103 0xb6f7ef80 in QEventLoop::exec (this=0xbfffef3c, flags=...) at /home/dteske/git/qt/src/corelib/kernel/qeventloop.cpp:201
      #104 0xb6f82165 in QCoreApplication::exec () at /home/dteske/git/qt/src/corelib/kernel/qcoreapplication.cpp:1064
      #105 0xb742428a in QApplication::exec () at /home/dteske/git/qt/src/gui/kernel/qapplication.cpp:3736
      #106 0x080524d7 in main (argc=1, argv=0xbffff374) at /home/dteske/git/ide/src/app/main.cpp:363

      Attachments

        Issue Links

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

          Activity

            People

              kkohne Kai Köhne
              dt Daniel Teske
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes