Uploaded image for project: 'Qt Automotive Suite'
  1. Qt Automotive Suite
  2. AUTOSUITE-727

Crash in QIviSimulationEngine when using animations for property updates

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • None
    • None
    • Qt IVI
    • None
    • 5bca991b07903942fb48450f3e867b5a3c30d1e5 (qt/qtivi/5.12) 4a9225d2ad (qt/qtinterfaceframework/6.3)

    Description

      When using an animation in the simulation QML code to update a property. The QIviSimulationEngine crashes with a stack-trace like this:

      0: _FUN [562e0c237075] in /home/gagi/work/qtas/qtapplicationmanager/src/common-lib/unixsignalhandler.cpp:152
         1: (null) [7fd5d8b318df]
         2: operator==(QString const&, QString const&) [7fd5d8f84a49]
         3: QObject::setObjectName(QString const&) [7fd5d90f5042]
         4: QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [7fd5d90fc8c7]
         5: QObject::qt_metacall(QMetaObject::Call, int, void**) [7fd5d90fc96a]
         6: QIviFeatureInterface::qt_metacall(QMetaObject::Call, int, void**) [7fd5b97ceab4]
         7: InstrumentClusterBackendInterface::qt_metacall(QMetaObject::Call, int, void**) [7fd5b9a22b5d] in /home/gagi/work/qtas/build-neptune3-ui-Desktop_Qt_5_12_0_GCC_64bit3-Debug/src/remotesettings/frontend/moc_instrumentclusterbackendinterface.cpp:402
         8: InstrumentClusterBackend::qt_metacall(QMetaObject::Call, int, void**) [7fd5b84063bf] in /home/gagi/work/qtas/build-neptune3-ui-Desktop_Qt_5_12_0_GCC_64bit3-Debug/src/remotesettings/backend_simulation/moc_instrumentclusterbackend.cpp:356
         9: qtivi_private::QIviSimulationProxy<InstrumentClusterBackend>::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [7fd5b84017d8]
        10: QQmlPropertyData::writeProperty(QObject*, void*, QFlags<QQmlPropertyData::WriteFlag>) const [7fd5da2e5bd9]
        11: QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyData::WriteFlag>) [7fd5da2e4617]
        12: QQuickAnimationPropertyUpdater::setValue(double) [7fd5db0503c2]
        13: QAbstractAnimationJob::setCurrentTime(int) [7fd5da397567]
        14: QSequentialAnimationGroupJob::updateCurrentTime(int) [7fd5da399362]
        15: QAbstractAnimationJob::setCurrentTime(int) [7fd5da397567]
        16: QAbstractAnimationJob::setState(QAbstractAnimationJob::State) [7fd5da397256]
        17: QQuickAbstractAnimationPrivate::commence() [7fd5db04e104]
        18: QQuickAbstractAnimation::setRunning(bool) [7fd5db04e32b]
        19: QQuickAbstractAnimation::componentFinalized() [7fd5db04e42f]
        20: QQuickAbstractAnimation::qt_metacall(QMetaObject::Call, int, void**) [7fd5db0527ff]
        21: QQuickAnimationGroup::qt_metacall(QMetaObject::Call, int, void**) [7fd5db052de4]
        22: QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) [7fd5da361048]
        23: QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) [7fd5da2e7266]
        24: QQmlComponentPrivate::completeCreate() [7fd5da2e7381]
        25: QQmlComponent::create(QQmlContext*) [7fd5da2e7179]
        26: QQmlApplicationEnginePrivate::finishLoad(QQmlComponent*) [7fd5da35892a]
        27: QQmlApplicationEnginePrivate::startLoad(QUrl const&, QByteArray const&, bool) [7fd5da358bad]
        28: QQmlApplicationEngine::load(QUrl const&) [7fd5da358bdc]
        29: QIviSimulationEngine::loadSimulation(QUrl const&) [7fd5b97c4a53]
        30: SettingsPlugin::SettingsPlugin(QObject*) [7fd5b83fe9df] in /home/gagi/work/qtas/build-neptune3-ui-Desktop_Qt_5_12_0_GCC_64bit3-Debug/src/remotesettings/backend_simulation/settingsplugin.cpp:53
        31: qt_plugin_instance [7fd5b8406e6d] in /home/gagi/work/qtas/build-neptune3-ui-Desktop_Qt_5_12_0_GCC_64bit3-Debug/src/remotesettings/backend_simulation/moc_settingsplugin.cpp:128
        32: QPluginLoader::instance() [7fd5d90b1b42]
        33: QIviServiceManagerPrivate::loadServiceBackendInterface(Backend*) const [7fd5b97987d6]
        34: QIviServiceManagerPrivate::createServiceObject(Backend*) const [7fd5b9798bcc]
        35: QIviServiceManagerPrivate::findServiceByInterface(QString const&, QFlags<QIviServiceManager::SearchFlag>) const [7fd5b9799021]
        36: QIviServiceManager::findServiceByInterface(QString const&, QFlags<QIviServiceManager::SearchFlag>) [7fd5b979923c]
        37: QIviAbstractFeature::startAutoDiscovery() [7fd5b97a042f]
        38: QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) [7fd5da3611a1]
        39: QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) [7fd5da2e7266]
        40: QQmlComponentPrivate::completeCreate() [7fd5da2e7381]
        41: QQmlComponent::create(QQmlContext*) [7fd5da2e7179]
        42: QQmlApplicationEnginePrivate::finishLoad(QQmlComponent*) [7fd5da35892a]
        43: QQmlApplicationEnginePrivate::startLoad(QUrl const&, QByteArray const&, bool) [7fd5da358bad]
        44: QQmlApplicationEngine::load(QUrl const&) [7fd5da358bdc]
        45: QtAM::Main::loadQml(bool) [562e0c0e52fb] in /home/gagi/work/qtas/qtapplicationmanager/src/main-lib/main.cpp:722
        46: main [562e0c0dd000] in /home/gagi/work/qtas/neptune3-ui/src/neptune3-ui/main.cpp:138
        47: __libc_start_main [7fd5d8433b16]
        48: _start [562e0c0dc649]
        49: (null) [ffffffffffffffff]
      

      Attachments

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

        Activity

          People

            gagi Dominik Holland
            gagi Dominik Holland
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes