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

Creator crashes when trying to open the session management dialog

    XMLWordPrintable

Details

    • macOS
    • fb0db5c745bc6fe4885afd11750e267f89cf99da (qt-creator/qt-creator/4.14)

    Description

      QtCreator 4.14 branch self-built with Qt 5.15.1, crashes when i click the File -> Sessions -> Manage menu item

      
      Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
      Exception Codes:       EXC_I386_GPFLT
      Exception Note:        EXC_CORPSE_NOTIFY
      
      Termination Signal:    Segmentation fault: 11
      Termination Reason:    Namespace SIGNAL, Code 0xb
      Terminating Process:   exc handler [79543]
      
      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0   org.qt-project.QtCore         	0x000000010fe3e961 operator<(QString const&, QString const&) + 17 (qstring.cpp:3474)
      1   libProjectExplorer.dylib      	0x0000000114db10b9 ProjectExplorer::Internal::SessionModel::sort(int, Qt::SortOrder)::$_2::operator()(QString const&, QString const&) const + 89 (sessionmodel.cpp:187)
      2   libProjectExplorer.dylib      	0x0000000114db0b82 void std::__1::__sort<ProjectExplorer::Internal::SessionModel::sort(int, Qt::SortOrder)::$_2&, QList<QString>::iterator>(QList<QString>::iterator, QList<QString>::iterator, ProjectExplorer::Internal::SessionModel::sort(int, Qt::SortOrder)::$_2&) + 466 (algorithm:4035)
      3   libProjectExplorer.dylib      	0x0000000114db09ff void std::__1::__sort<ProjectExplorer::Internal::SessionModel::sort(int, Qt::SortOrder)::$_2&, QList<QString>::iterator>(QList<QString>::iterator, QList<QString>::iterator, ProjectExplorer::Internal::SessionModel::sort(int, Qt::SortOrder)::$_2&) + 79 (algorithm:4089)
      4   libProjectExplorer.dylib      	0x0000000114dafa22 ProjectExplorer::Internal::SessionModel::sort(int, Qt::SortOrder) + 146 (sessionmodel.cpp:195)
      5   org.qt-project.QtWidgets      	0x000000010f2081aa QTreeView::setModel(QAbstractItemModel*) + 698 (qtreeview.cpp:255)
      6   libProjectExplorer.dylib      	0x0000000114db1dbb ProjectExplorer::Internal::SessionView::SessionView(QWidget*) + 187 (sessionview.cpp:69)
      7   libProjectExplorer.dylib      	0x0000000114dacb0d ProjectExplorer::Internal::Ui_SessionDialog::setupUi(QDialog*) + 301 (ui_sessiondialog.h:53)
      8   libProjectExplorer.dylib      	0x0000000114dac545 ProjectExplorer::Internal::SessionDialog::SessionDialog(QWidget*) + 69 (sessiondialog.cpp:129)
      9   libProjectExplorer.dylib      	0x0000000114d1902d ProjectExplorer::ProjectExplorerPluginPrivate::showSessionManager() + 45 (projectexplorer.cpp:2029)
      10  org.qt-project.QtCore         	0x000000010ffacdb5 void doActivate<false>(QObject*, int, void**) + 1157 (qobject.cpp:3888)
      11  org.qt-project.QtWidgets      	0x000000010ef299a6 QAction::activate(QAction::ActionEvent) + 310 (qaction.cpp:1162)
      12  org.qt-project.QtCore         	0x000000010ffa49bf QObject::event(QEvent*) + 943 (qobject.cpp:1316)
      13  org.qt-project.QtWidgets      	0x000000010ef32fca QApplicationPrivate::notify_helper(QObject*, QEvent*) + 266 (qapplication.cpp:3632)
      14  org.qt-project.QtWidgets      	0x000000010ef343f1 QApplication::notify(QObject*, QEvent*) + 497
      15  org.qt-project.QtCore         	0x000000010ff79854 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212 (qcoreapplication.cpp:1063)
      16  org.qt-project.QtCore         	0x000000010ff7ab99 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 809 (qcoreapplication.cpp:1822)
      17  libqcocoa.dylib               	0x00000001125b6279 QCocoaEventDispatcherPrivate::processPostedEvents() + 313 (qcocoaeventdispatcher.mm:905)
      18  libqcocoa.dylib               	0x00000001125b69e8 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 40
      19  com.apple.CoreFoundation      	0x00007fff3750ad52 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
      20  com.apple.CoreFoundation      	0x00007fff3750acf1 __CFRunLoopDoSource0 + 103
      21  com.apple.CoreFoundation      	0x00007fff3750ab67 __CFRunLoopDoSources0 + 301
      22  com.apple.CoreFoundation      	0x00007fff3750983a __CFRunLoopRun + 927
      23  com.apple.CoreFoundation      	0x00007fff37508e3e CFRunLoopRunSpecific + 462
      24  com.apple.HIToolbox           	0x00007fff36135abd RunCurrentEventLoopInMode + 292
      25  com.apple.HIToolbox           	0x00007fff361356f4 ReceiveNextEventCommon + 359
      26  com.apple.HIToolbox           	0x00007fff36135579 _BlockUntilNextEventMatchingListInModeWithFilter + 64
      27  com.apple.AppKit              	0x00007fff3477b039 _DPSNextEvent + 883
      28  com.apple.AppKit              	0x00007fff34779880 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
      29  com.apple.AppKit              	0x00007fff3476b58e -[NSApplication run] + 658
      30  libqcocoa.dylib               	0x00000001125b564f QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2495 (qcocoaeventdispatcher.mm:438)
      31  org.qt-project.QtCore         	0x000000010ff758ef QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431 (qeventloop.cpp:231)
      32  org.qt-project.QtCore         	0x000000010ff79e62 QCoreApplication::exec() + 130 (qcoreapplication.cpp:1371)
      33  org.qt-project.qtcreator      	0x000000010eacf815 main + 16853
      34  libdyld.dylib                 	0x00007fff7157acc9 start + 1
      

      Attachments

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

        Activity

          People

            con Eike Ziller
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes