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

Device settings page crashes when opened the second time

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • Qt Creator 2.7.0
    • Mac OS X, Qt5 based build

    Description

      Open Qt Creator, open the "Devices" settings page, close dialog, open settings page again. If the "Devices" settings page was the last page before closing the dialog it now crashes directly, otherwise select the "Devices" settings page again.

      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0 libProjectExplorer_debug.dylib 0x000000010f15e9c0 ProjectExplorer::DeviceManager::deviceCount() const + 16 (devicemanager.cpp:94)
      1 libProjectExplorer_debug.dylib 0x000000010f169733 ProjectExplorer::DeviceManagerModel::handleDeviceListChanged() + 83 (devicemanagermodel.cpp:147)
      2 libProjectExplorer_debug.dylib 0x000000010f16948f ProjectExplorer::DeviceManagerModel::DeviceManagerModel(ProjectExplorer::DeviceManager const*, QObject*) + 143 (devicemanagermodel.cpp:55)
      3 libProjectExplorer_debug.dylib 0x000000010f1693f5 ProjectExplorer::DeviceManagerModel::DeviceManagerModel(ProjectExplorer::DeviceManager const*, QObject*) + 37 (devicemanagermodel.cpp:60)
      4 libProjectExplorer_debug.dylib 0x000000010f171379 ProjectExplorer::Internal::DeviceSettingsWidget::DeviceSettingsWidget(QWidget*) + 249 (devicesettingswidget.cpp:102)
      5 libProjectExplorer_debug.dylib 0x000000010f17126d ProjectExplorer::Internal::DeviceSettingsWidget::DeviceSettingsWidget(QWidget*) + 29 (devicesettingswidget.cpp:113)
      6 libProjectExplorer_debug.dylib 0x000000010f1780ac ProjectExplorer::Internal::DeviceSettingsPage::createPage(QWidget*) + 60 (devicesettingspage.cpp:59)
      7 libCore_debug.dylib 0x000000010a097b35 Core::Internal::SettingsDialog::ensureCategoryWidget(Core::Internal::Category*) + 661 (settingsdialog.cpp:435)
      8 libCore_debug.dylib 0x000000010a097785 Core::Internal::SettingsDialog::showCategory(int) + 69 (settingsdialog.cpp:409)
      9 libCore_debug.dylib 0x000000010a0981e9 Core::Internal::SettingsDialog::currentChanged(QModelIndex const&) + 121 (settingsdialog.cpp:477)
      10 libCore_debug.dylib 0x000000010a17ff7e Core::Internal::SettingsDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 190 (moc_settingsdialog.cpp:97)
      11 QtCore 0x0000000100ce3620 QMetaObject::activate(QObject*, int, int, void**) + 2656
      12 QtCore 0x0000000100c7e145 QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) + 389
      13 QtWidgets 0x0000000100313db5 QAbstractItemView::mousePressEvent(QMouseEvent*) + 1173
      14 QtWidgets 0x0000000100141e23 QWidget::event(QEvent*) + 691
      15 QtWidgets 0x000000010021f657 QFrame::event(QEvent*) + 183
      16 QtWidgets 0x000000010029a465 QAbstractScrollArea::viewportEvent(QEvent*) + 53
      17 QtWidgets 0x000000010031374a QAbstractItemView::viewportEvent(QEvent*) + 1498
      18 QtWidgets 0x000000010029ade5 QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) + 37
      19 QtCore 0x0000000100cb60b7 QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 199
      20 QtWidgets 0x000000010010b739 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 281
      21 QtWidgets 0x000000010010d69f QApplication::notify(QObject*, QEvent*) + 3231
      22 QtCore 0x0000000100cb5dae QCoreApplication::notifyInternal(QObject*, QEvent*) + 110
      23 QtWidgets 0x000000010010c122 QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) + 1042
      24 QtWidgets 0x000000010015eba7 QWidgetWindow::handleMouseEvent(QMouseEvent*) + 2295
      25 QtWidgets 0x000000010015dd48 QWidgetWindow::event(QEvent*) + 632
      26 QtWidgets 0x000000010010b74e QApplicationPrivate::notify_helper(QObject*, QEvent*) + 302
      27 QtWidgets 0x000000010010ccf0 QApplication::notify(QObject*, QEvent*) + 752
      28 QtCore 0x0000000100cb5dae QCoreApplication::notifyInternal(QObject*, QEvent*) + 110
      29 QtGui 0x000000010072ba13 QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 1987
      30 QtGui 0x000000010072ae5c QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) + 92
      31 QtGui 0x000000010071ed58 QWindowSystemInterface::sendWindowSystemEventsImplementation(QFlags<QEventLoop::ProcessEventsFlag>) + 56
      32 QtGui 0x000000010071ede8 QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 24
      33 libqcocoa.dylib 0x0000000102f15df5 QCocoaEventDispatcherPrivate::processPostedEvents() + 149
      34 libqcocoa.dylib 0x0000000102f166fb QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 43
      35 com.apple.CoreFoundation 0x00007fff93b99b31 _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION_ + 17
      36 com.apple.CoreFoundation 0x00007fff93b99455 __CFRunLoopDoSources0 + 245
      37 com.apple.CoreFoundation 0x00007fff93bbc7f5 __CFRunLoopRun + 789
      38 com.apple.CoreFoundation 0x00007fff93bbc0e2 CFRunLoopRunSpecific + 290
      39 com.apple.HIToolbox 0x00007fff91e9beb4 RunCurrentEventLoopInMode + 209
      40 com.apple.HIToolbox 0x00007fff91e9bb94 ReceiveNextEventCommon + 166
      41 com.apple.HIToolbox 0x00007fff91e9bae3 BlockUntilNextEventMatchingListInMode + 62
      42 com.apple.AppKit 0x00007fff962bd563 _DPSNextEvent + 685
      43 com.apple.AppKit 0x00007fff962bce22 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
      44 com.apple.AppKit 0x00007fff96507639 -[NSApplication _realDoModalLoop:peek:] + 485
      45 com.apple.AppKit 0x00007fff96507d6e -[NSApplication runModalSession:] + 49
      46 libqcocoa.dylib 0x0000000102f152fa QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1066
      47 QtCore 0x0000000100cb35e3 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 355
      48 QtWidgets 0x00000001002cb381 QDialog::exec() + 417
      49 libCore_debug.dylib 0x000000010a098df3 Core::Internal::SettingsDialog::execDialog() + 83 (settingsdialog.cpp:584)
      50 libCore_debug.dylib 0x000000010a011145 Core::Internal::MainWindow::showOptionsDialog(Core::Id, Core::Id, QWidget*) + 101 (mainwindow.cpp:967)
      51 libCore_debug.dylib 0x000000010a1776f4 Core::Internal::MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 948 (moc_mainwindow.cpp:188)
      52 QtCore 0x0000000100ce3620 QMetaObject::activate(QObject*, int, int, void**) + 2656
      53 QtWidgets 0x00000001001041e9 QAction::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 153
      54 QtCore 0x0000000100ce3620 QMetaObject::activate(QObject*, int, int, void**) + 2656
      55 QtWidgets 0x0000000100103e68 QAction::activate(QAction::ActionEvent) + 264
      56 QtWidgets 0x0000000100104238 QAction::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 232
      57 QtCore 0x0000000100ce3620 QMetaObject::activate(QObject*, int, int, void**) + 2656
      58 com.apple.AppKit 0x00007fff963ad989 -[NSApplication sendAction:to:from:] + 342
      59 com.apple.AppKit 0x00007fff964e337c -[NSMenuItem _corePerformAction] + 406
      60 com.apple.AppKit 0x00007fff964e306a -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 133
      61 com.apple.AppKit 0x00007fff964e1cf0 -[NSMenu performKeyEquivalent:] + 271
      62 com.apple.AppKit 0x00007fff964e11b3 -[NSApplication _handleKeyEquivalent:] + 829
      63 com.apple.AppKit 0x00007fff9639e173 -[NSApplication sendEvent:] + 4480
      64 libqcocoa.dylib 0x0000000102f18b0e -[QNSApplication sendEvent:] + 78
      65 com.apple.AppKit 0x00007fff962b424a -[NSApplication run] + 636
      66 libqcocoa.dylib 0x0000000102f153fb QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1323
      67 QtCore 0x0000000100cb35e3 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 355
      68 QtCore 0x0000000100cb6315 QCoreApplication::exec() + 357
      69 org.qt-project.qtcreator 0x000000010000b94a main + 12458 (main.cpp:516)
      70 org.qt-project.qtcreator 0x0000000100004f24 start + 52

      Attachments

        Issue Links

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

          Activity

            People

              dt Daniel Teske
              con Eike Ziller
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes