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

QML Profiler crashes Creator when Qt used for application is insufficient

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 3.5.0-rc1
    • Qt Creator 3.5.0-beta1
    • QML Profiler
    • Ubuntu 15.04 64 bit
    • 45b5f7341ed691252a8dd3ddd9ccbcb8c7eb58ef

    Description

      1. Have Qt installed using the distribution's package manager.
      2. Make sure that the particles module qml-module-qtquick-particles2 is not installed.
      3. Open the project qtdeclarative\examples\quick\demos\samegame\samegame.qmlproject from Qt 5.5.0's repository.
      4. Configure the project to use the system's Qt version from step 1.
      5. Try using the QML profiler on this project.
        The application will fail to start so the QML Profiler can't connect to it. Creator will ask whether it should try again.
      6. Click "Try again". (Or is it "Retry"? You'll find the right button. )
        Creator crashes:
        0	QmlDebug::QmlDebugConnection::isOpen() const			0x7fffcc164500	
        1	??			0x7fffbaca4458	
        2	QMetaObject::activate(QObject *, int, int, void * *)			0x7ffff5b7736e	
        3	QDialog::finished(int)			0x7ffff70b43fe	
        4	QDialog::done(int)			0x7ffff70b4b38	
        5	??			0x7ffff70d4eea	
        6	??			0x7ffff70d84c8	
        7	QMetaObject::activate(QObject *, int, int, void * *)			0x7ffff5b7736e	
        8	QDialogButtonBox::clicked(QAbstractButton *)			0x7ffff6fe7a3f	
        9	??			0x7ffff6fe820a	
        10	QMetaObject::activate(QObject *, int, int, void * *)			0x7ffff5b7736e	
        11	QAbstractButton::clicked(bool)			0x7ffff724dfc2	
        12	??			0x7ffff6fbe3f5	
        13	??			0x7ffff6fbef89	
        14	QAbstractButton::mouseReleaseEvent(QMouseEvent *)			0x7ffff6fbf124	
        15	QWidget::event(QEvent *)			0x7ffff6f050b8	
        16	QApplicationPrivate::notify_helper(QObject *, QEvent *)			0x7ffff6ec44dc	
        17	QApplication::notify(QObject *, QEvent *)			0x7ffff6ec9e25	
        18	QCoreApplication::notifyInternal(QObject *, QEvent *)			0x7ffff5b496a3	
        19	QApplicationPrivate::sendMouseEvent(QWidget *, QMouseEvent *, QWidget *, QWidget *, QWidget * *, QPointer<QWidget>&, bool)			0x7ffff6ec8ab2	
        ...	<Mehr>				
        

      It's clear that the QML Profiler can't record data in this situation but Creator must not crash.

      Attachments

        Activity

          People

            ulherman Ulf Hermann
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: