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

[REG 4.3.0 -> 4.3.1] Crash when closing Creator while QML Profiler is running

    XMLWordPrintable

Details

    • Bug
    • Resolution: Moved
    • P1: Critical
    • Qt Creator 4.4.0-rc1
    • Qt Creator 4.3.1, Qt Creator 4.4.0-beta1
    • QML Profiler
    • Ubuntu 16.04 64 bit
    • cca625edea5a5223f3924012f5aba4e3e52568ab

    Description

      1. Create a new Qt Quick Application project using the defaults from the wizard.
      2. Start the QML Profiler for this application.
      3. While the Profiler is recording, try to quit Creator.
        You'll see a warning, that the application is still running.
      4. Click "Force Quit".
        Creator crashes:
        1   QWidgetPrivate::setEnabled_helper                                                                                                                                                                                                             qwidget.cpp                     3435 0x7ffff716056f 
        2   QWidget::setEnabled                                                                                                                                                                                                                           qwidget.cpp                     3425 0x7ffff7160865 
        3   QmlProfiler::Internal::QmlProfilerTool::profilerStateChanged                                                                                                                                                                                  qmlprofilertool.cpp             875  0x7fffd1feed68 
        4   QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (QmlProfiler::Internal::QmlProfilerTool:: *)()>::call(void (QmlProfiler::Internal::QmlProfilerTool:: *)(), QmlProfiler::Internal::QmlProfilerTool *, void * *) qobjectdefs_impl.h              136  0x7fffd1ff3750 
        5   QtPrivate::FunctionPointer<void (QmlProfiler::Internal::QmlProfilerTool:: *)()>::call<QtPrivate::List<>, void>(void (QmlProfiler::Internal::QmlProfilerTool:: *)(), QmlProfiler::Internal::QmlProfilerTool *, void * *)                       qobjectdefs_impl.h              169  0x7fffd1ff3307 
        6   QtPrivate::QSlotObject<void (QmlProfiler::Internal::QmlProfilerTool:: *)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void * *, bool *)                                                                    qobject_impl.h                  120  0x7fffd1ff2866 
        7   QtPrivate::QSlotObjectBase::call                                                                                                                                                                                                              qobject_impl.h                  101  0x7ffff6787349 
        8   QMetaObject::activate                                                                                                                                                                                                                         qobject.cpp                     3749 0x7ffff6787349 
        9   QMetaObject::activate                                                                                                                                                                                                                         qobject.cpp                     3628 0x7ffff67878c3 
        10  QmlProfiler::QmlProfilerStateManager::stateChanged                                                                                                                                                                                            moc_qmlprofilerstatemanager.cpp 205  0x7fffd2073623 
        11  QmlProfiler::QmlProfilerStateManager::setCurrentState                                                                                                                                                                                         qmlprofilerstatemanager.cpp     138  0x7fffd1fd0a74 
        12  QmlProfiler::QmlProfilerRunner::stop                                                                                                                                                                                                          qmlprofilerruncontrol.cpp       135  0x7fffd1fcb939 
        13  ProjectExplorer::RunWorker::initiateStop                                                                                                                                                                                                      runconfiguration.cpp            1517 0x7fffdba3d2db 
        14  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (ProjectExplorer::RunWorker:: *)()>::call(void (ProjectExplorer::RunWorker:: *)(), ProjectExplorer::RunWorker *, void * *)                                     qobjectdefs_impl.h              136  0x7fffdba4a399 
        15  QtPrivate::FunctionPointer<void (ProjectExplorer::RunWorker:: *)()>::call<QtPrivate::List<>, void>(void (ProjectExplorer::RunWorker:: *)(), ProjectExplorer::RunWorker *, void * *)                                                           qobjectdefs_impl.h              169  0x7fffdba49d9f 
        16  QtPrivate::QSlotObject<void (ProjectExplorer::RunWorker:: *)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void * *, bool *)                                                                                qobject_impl.h                  120  0x7fffdba49204 
        17  QtPrivate::QSlotObjectBase::call                                                                                                                                                                                                              qobject_impl.h                  101  0x7ffff6794909 
        18  QSingleShotTimer::timerEvent                                                                                                                                                                                                                  qtimer.cpp                      318  0x7ffff6794909 
        19  QObject::event                                                                                                                                                                                                                                qobject.cpp                     1227 0x7ffff6787d0c 
        20  QApplicationPrivate::notify_helper                                                                                                                                                                                                            qapplication.cpp                3717 0x7ffff7117c31 
        ... <Mehr>                                                                                                                                                                                                                                                                                            
        

      Creator should not crash in this situation. Creator 4.3.0 did not crash.

      Attachments

        Issue Links

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

          Activity

            People

              hjk hjk
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes