Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-79958

Crash when switching between (animated) qml contents with a Loader

    XMLWordPrintable

Details

    • 662ab7ebdad0e6c32278f2fcf9a5e43a11681b09

    Description

      Running an application like qtdeclarative/tests/manual/nodetypes_ng has a regression in the 5.15 branch right now. The application switches between scenes by setting Loader.source when pressing a key. Both the outgoing and incoming qml tree has typically some animations. It seems that when the switch happens, some animated property tries to write a value when the QQmlEngine is already destroyed.

      This does not happen with the latest 5.14 branch.

      1   QScopedPointer<QObjectData,QScopedPointerDeleter<QObjectData>>::operator->    qscopedpointer.h          118  0x7ff9773b36ca 
      2   qGetPtrHelper<QScopedPointer<QObjectData,QScopedPointerDeleter<QObjectData>>> qglobal.h                 1127 0x7ff9773b2c23 
      3   QQmlEngine::d_func                                                            qqmlengine.h              172  0x7ff9773d350a 
      4   QQmlEnginePrivate::get                                                        qqmlengine_p.h            408  0x7ff977577517 
      5   QQmlEnginePrivate::get                                                        qqmlengine_p.h            424  0x7ff9775774ab 
      6   QQmlPropertyPrivate::write                                                    qqmlproperty.cpp          1218 0x7ff9777d05a3 
      7   QQmlPropertyPrivate::writeValueProperty                                       qqmlproperty.cpp          1191 0x7ff9777d03f9 
      8   QQmlPropertyPrivate::writeValueProperty                                       qqmlproperty.cpp          1171 0x7ff9777cfd61 
      9   QQmlPropertyPrivate::write                                                    qqmlproperty.cpp          1538 0x7ff9777d2741 
      10  QQuickAnimationPropertyUpdater::setValue                                      qquickanimation.cpp       2576 0x7ff9768a8553 
      11  QQuickBulkValueAnimator::updateCurrentTime                                    qquickanimation.cpp       1987 0x7ff9768a730d 
      12  QAbstractAnimationJob::setCurrentTime                                         qabstractanimationjob.cpp 484  0x7ff977928cb1 
      13  QQmlAnimationTimer::updateAnimationsTime                                      qabstractanimationjob.cpp 112  0x7ff97792c09a 
      14  QUnifiedTimer::updateAnimationTimers                                          qabstractanimation.cpp    325  0x7ff977d4831f 
      15  QAnimationDriver::advanceAnimation                                            qabstractanimation.cpp    824  0x7ff977d454d7 
      16  QSGAnimationDriver::advance                                                   qsgcontext.cpp            219  0x7ff976a2aa3b 
      17  QSGThreadedRenderLoop::polishAndSync                                          qsgthreadedrenderloop.cpp 1557 0x7ff976a88311 
      18  QSGThreadedRenderLoop::handleUpdateRequest                                    qsgthreadedrenderloop.cpp 1377 0x7ff976a86ce9 
      19  QQuickWindow::event                                                           qquickwindow.cpp          1754 0x7ff976b3332c 
      20  QCoreApplicationPrivate::notify_helper                                        qcoreapplication.cpp      1253 0x7ff9781af699 
      ... <More>                                                                                                                      
      

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            lagocs Laszlo Agocs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes