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

ASSERT: "newInstance != d->animationInstance" in file qquickbehavior.cpp

    XMLWordPrintable

Details

    • 47be6f596 (dev), 1d91a3573 (6.5), e78961400 (dev), 04c63a71b (6.6), 580c91dbb (6.6.0)

    Description

      When running the attached example (which may not make sense but shouldn't crash), I get this output:

      virtual QAbstractAnimationJob* QQuickAnimator::transition(QQuickStateActions&, QQmlProperties&, QQuickAbstractAnimation::TransitionDirection, QObject*) property name conflict...
      ASSERT: "newInstance != d->animationInstance" in file /home/mitch/dev/qt-dev/qtdeclarative/src/quick/util/qquickbehavior.cpp, line 409
      

      This is the backtrace:

      1  __pthread_kill_implementation                                                                                                                                                                                                                            pthread_kill.c                     44   0x7fffeec96a7c 
      2  __pthread_kill_internal                                                                                                                                                                                                                                  pthread_kill.c                     78   0x7fffeec96a7c 
      3  __GI___pthread_kill                                                                                                                                                                                                                                      pthread_kill.c                     89   0x7fffeec96a7c 
      4  __GI_raise                                                                                                                                                                                                                                               raise.c                            26   0x7fffeec42476 
      5  __GI_abort                                                                                                                                                                                                                                               abort.c                            79   0x7fffeec287f3 
      6  qAbort                                                                                                                                                                                                                                                   qglobal.cpp                        161  0x7fffef5cc455 
      7  qt_message_fatal                                                                                                                                                                                                                                         qlogging.cpp                       2045 0x7fffef5f1c66 
      8  QMessageLogger::fatal                                                                                                                                                                                                                                    qlogging.cpp                       934  0x7fffef5e8772 
      9  qt_assert                                                                                                                                                                                                                                                qassert.cpp                        68   0x7fffef5c7090 
      10 QQuickBehavior::write                                                                                                                                                                                                                                    qquickbehavior.cpp                 409  0x7ffff624479e 
      11 QQmlInterceptorMetaObject::doIntercept                                                                                                                                                                                                                   qqmlvmemetaobject.cpp              345  0x7ffff47ffe27 
      12 QQmlInterceptorMetaObject::intercept                                                                                                                                                                                                                     qqmlvmemetaobject_p.h              104  0x7ffff480b992 
      13 QQmlVMEMetaObject::metaCall                                                                                                                                                                                                                              qqmlvmemetaobject.cpp              665  0x7ffff4803a8b 
      14 QQmlPropertyData::doMetacall<(QMetaObject::Call)2>                                                                                                                                                                                                       qqmlpropertydata_p.h               320  0x7ffff425e7ed 
      15 QQmlPropertyData::writeProperty                                                                                                                                                                                                                          qqmlpropertydata_p.h               340  0x7ffff425c1b8 
      16 tryConvertAndAssign                                                                                                                                                                                                                                      qqmlproperty.cpp                   1412 0x7ffff45d1cec 
      17 QQmlPropertyPrivate::write                                                                                                                                                                                                                               qqmlproperty.cpp                   1524 0x7ffff45d31af 
      18 QQmlPropertyPrivate::writeValueProperty                                                                                                                                                                                                                  qqmlproperty.cpp                   1306 0x7ffff45d1150 
      19 QQmlBinding::slowWrite                                                                                                                                                                                                                                   qqmlbinding.cpp                    537  0x7ffff428c4c5 
      20 GenericBinding<10>::write                                                                                                                                                                                                                                qqmlbinding.cpp                    265  0x7ffff42bfd03 
      21 QQmlBinding::doUpdate                                                                                                                                                                                                                                    qqmlbinding.cpp                    697  0x7ffff428f1e9 
      22 QQmlBinding::update                                                                                                                                                                                                                                      qqmlbinding.cpp                    161  0x7ffff4288fc8 
      23 QQmlBinding::expressionChanged                                                                                                                                                                                                                           qqmlbinding.cpp                    600  0x7ffff428d812 
      24 QQmlJavaScriptExpressionGuard_callback                                                                                                                                                                                                                   qqmljavascriptexpression.cpp       548  0x7ffff448f37b 
      25 QQmlNotifier::emitNotify                                                                                                                                                                                                                                 qqmlnotifier.cpp                   70   0x7ffff4540076 
      26 QQmlData::signalEmitted                                                                                                                                                                                                                                  qqmlengine.cpp                     357  0x7ffff43663aa 
      27 doActivate<false>                                                                                                                                                                                                                                        qobject.cpp                        3883 0x7fffef8fd3bb 
      28 QMetaObject::activate                                                                                                                                                                                                                                    qobject.cpp                        4064 0x7fffef8e84ed 
      29 QQmlVMEMetaObject::activate                                                                                                                                                                                                                              qqmlvmemetaobject.cpp              1382 0x7ffff480a7f8 
      30 QQmlVMEMetaObject::metaCall                                                                                                                                                                                                                              qqmlvmemetaobject.cpp              942  0x7ffff4806a39 
      31 QMetaObject::metacall                                                                                                                                                                                                                                    qmetaobject.cpp                    332  0x7fffef7d7d6a 
      32 QV4::QObjectWrapper::setProperty                                                                                                                                                                                                                         qv4qobjectwrapper.cpp              605  0x7ffff400e48a 
      33 QV4::QObjectWrapper::setQmlProperty                                                                                                                                                                                                                      qv4qobjectwrapper.cpp              464  0x7ffff400a680 
      34 QV4::QQmlContextWrapper::virtualPut                                                                                                                                                                                                                      qv4qmlcontext.cpp                  459  0x7ffff3ff8dd3 
      35 QV4::Object::put                                                                                                                                                                                                                                         qv4object_p.h                      281  0x7ffff3db3f47 
      36 QV4::ExecutionContext::setProperty                                                                                                                                                                                                                       qv4context.cpp                     278  0x7ffff3dc51ee 
      37 QV4::Runtime::StoreNameSloppy::call                                                                                                                                                                                                                      qv4runtime.cpp                     964  0x7ffff40bcf37 
      38 QV4::Moth::VME::interpret                                                                                                                                                                                                                                qv4vme_moth.cpp                    677  0x7ffff41727c4 
      39 QV4::Moth::VME::exec                                                                                                                                                                                                                                     qv4vme_moth.cpp                    541  0x7ffff416c47a 
      40 QV4::doCall                                                                                                                                                                                                                                              qv4function.cpp                    54   0x7ffff3f11b79 
      41 QV4::Function::call                                                                                                                                                                                                                                      qv4function.cpp                    79   0x7ffff3f11ec3 
      42 operator()                                                                                                                                                                                                                                               qv4function.cpp                    30   0x7ffff3f11578 
      43 QV4::convertAndCall<QV4::Function::call(QObject *, void * *, const QMetaType *, int, QV4::ExecutionContext *)::<lambda(const QV4::Value *, const QV4::Value *, int)>>(QV4::ExecutionEngine *, QObject *, void * *, const QMetaType *, int, struct {...}) qv4jscall_p.h                      197  0x7ffff3f152bb 
      44 QV4::Function::call                                                                                                                                                                                                                                      qv4function.cpp                    27   0x7ffff3f116dd 
      45 QQmlJavaScriptExpression::evaluate                                                                                                                                                                                                                       qqmljavascriptexpression.cpp       270  0x7ffff448bf51 
      46 QQmlBoundSignalExpression::evaluate                                                                                                                                                                                                                      qqmlboundsignal.cpp                195  0x7ffff42c43a9 
      47 QQmlBoundSignal_callback                                                                                                                                                                                                                                 qqmlboundsignal.cpp                310  0x7ffff42c4f5b 
      48 QQmlNotifier::emitNotify                                                                                                                                                                                                                                 qqmlnotifier.cpp                   70   0x7ffff4540076 
      49 QQmlData::signalEmitted                                                                                                                                                                                                                                  qqmlengine.cpp                     357  0x7ffff43663aa 
      50 doActivate<false>                                                                                                                                                                                                                                        qobject.cpp                        3883 0x7fffef8fd3bb 
      51 QMetaObject::activate                                                                                                                                                                                                                                    qobject.cpp                        4051 0x7fffef8e8477 
      52 QQuickSinglePointHandler::pointChanged                                                                                                                                                                                                                   moc_qquicksinglepointhandler_p.cpp 191  0x7ffff5ae29e5 
      53 QQuickSinglePointHandler::handlePointerEventImpl                                                                                                                                                                                                         qquicksinglepointhandler.cpp       103  0x7ffff5ae17dc 
      54 QQuickPointerHandler::handlePointerEvent                                                                                                                                                                                                                 qquickpointerhandler.cpp           654  0x7ffff5ac9e98 
      55 QQuickItemPrivate::handlePointerEvent                                                                                                                                                                                                                    qquickitem.cpp                     5590 0x7ffff5bc6100 
      56 QQuickDeliveryAgentPrivate::deliverMatchingPointsToItem                                                                                                                                                                                                  qquickdeliveryagent.cpp            2105 0x7ffff6268e20 
      57 QQuickDeliveryAgentPrivate::deliverPressOrReleaseEvent                                                                                                                                                                                                   qquickdeliveryagent.cpp            2080 0x7ffff62688a3 
      58 QQuickDeliveryAgentPrivate::deliverPointerEvent                                                                                                                                                                                                          qquickdeliveryagent.cpp            1846 0x7ffff626537b 
      59 QQuickDeliveryAgentPrivate::handleMouseEvent                                                                                                                                                                                                             qquickdeliveryagent.cpp            1620 0x7ffff6260e85 
      60 QQuickDeliveryAgent::event                                                                                                                                                                                                                               qquickdeliveryagent.cpp            705  0x7ffff6255beb 
      61 QQuickWindow::event                                                                                                                                                                                                                                      qquickwindow.cpp                   1479 0x7ffff5ecd1f6 
      62 QCoreApplicationPrivate::notify_helper                                                                                                                                                                                                                   qcoreapplication.cpp               1247 0x7fffef79e97c 
      63 doNotify                                                                                                                                                                                                                                                 qcoreapplication.cpp               1176 0x7fffef79e0bf 
      64 QCoreApplication::notify                                                                                                                                                                                                                                 qcoreapplication.cpp               1159 0x7fffef79df5e 
      65 QGuiApplication::notify                                                                                                                                                                                                                                  qguiapplication.cpp                1954 0x7ffff0d8c40d 
      66 QCoreApplication::notifyInternal2                                                                                                                                                                                                                        qcoreapplication.cpp               1080 0x7fffef79dd3e 
      67 QCoreApplication::sendSpontaneousEvent                                                                                                                                                                                                                   qcoreapplication.cpp               1512 0x7fffef79f69b 
      68 QGuiApplicationPrivate::processMouseEvent                                                                                                                                                                                                                qguiapplication.cpp                2280 0x7ffff0d8ebb8 
      69 QGuiApplicationPrivate::processWindowSystemEvent                                                                                                                                                                                                         qguiapplication.cpp                2026 0x7ffff0d8d06c 
      70 QWindowSystemInterface::sendWindowSystemEvents                                                                                                                                                                                                           qwindowsysteminterface.cpp         1100 0x7ffff0f367e6 
      71 xcbSourceDispatch                                                                                                                                                                                                                                        qxcbeventdispatcher.cpp            57   0x7fffeab4c63d 
      72 g_main_context_dispatch                                                                                                                                                                                                                                                                          0x7ffff371bd3b 
      73 ??                                                                                                                                                                                                                                                                                               0x7ffff37706c8 
      74 g_main_context_iteration                                                                                                                                                                                                                                                                         0x7ffff37193e3 
      75 QEventDispatcherGlib::processEvents                                                                                                                                                                                                                      qeventdispatcher_glib.cpp          393  0x7ffff01b6312 
      76 QXcbGlibEventDispatcher::processEvents                                                                                                                                                                                                                   qxcbeventdispatcher.cpp            96   0x7fffeab4cbe5 
      77 QEventLoop::processEvents                                                                                                                                                                                                                                qeventloop.cpp                     100  0x7fffef7cc733 
      78 QEventLoop::exec                                                                                                                                                                                                                                         qeventloop.cpp                     182  0x7fffef7cd131 
      79 QCoreApplication::exec                                                                                                                                                                                                                                   qcoreapplication.cpp               1401 0x7fffef79f144 
      80 QGuiApplication::exec                                                                                                                                                                                                                                    qguiapplication.cpp                1886 0x7ffff0d8c208 
      81 main                                                                                                                                                                                                                                                     main.cpp                           20   0x555555556c70 
      

      Attachments

        Issue Links

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

          Activity

            People

              kagro Kaj Grönholm
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes