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

Infinite loop in QPropertyObserverPointer::notify on startup

    XMLWordPrintable

Details

    • 366fee74f (dev), b82a9b7b7 (tqtc/lts-6.2), 29a10c610 (6.6), 869d1b9c5 (6.5)

    Description

      When running https://github.com/mitchcurtis/slate with the dev branch on macOS, the window never shows and execution is stuck in a loop:

      1  QPropertyObserverPointer::notify(QUntypedPropertyData *)                                                                                                                                                                               qproperty_p.h                866  0x104ad359c 
      2  _ZN21QObjectCompatPropertyI17QQuickItemPrivatedXadL_ZNS0_25_qt_property_width_offsetEvEEXadL_ZNS0_8setWidthEdEEXadL_ZNS0_12widthChangedEvEELDn0EE6notifyEv                                                                             qproperty_p.h                634  0x1049fff84 
      3  QQuickItem::geometryChange(QRectF const&, QRectF const&)                                                                                                                                                                               qquickitem.cpp               3834 0x1049fe900 
      4  QQuickControl::geometryChange(QRectF const&, QRectF const&)                                                                                                                                                                            qquickcontrol.cpp            2117 0x1216c1824 
      5  QQuickItem::setImplicitWidth(double)                                                                                                                                                                                                   qquickitem.cpp               7325 0x104a289c0 
      6  QQuickItem::qt_static_metacall(QObject *, QMetaObject::Call, int, void * *)                                                                                                                                                            moc_qquickitem.cpp           1237 0x104a4ddb0 
      7  QQmlPropertyData::writeProperty(QObject *, void *, QFlags<QQmlPropertyData::WriteFlag>) const                                                                                                                                          qqmlpropertydata_p.h         338  0x116b79e4c 
      8  bool GenericBinding<6>::doStore<double>(double, QQmlPropertyData const *, QFlags<QQmlPropertyData::WriteFlag>) const                                                                                                                   qqmlbinding.cpp              275  0x116bf3294 
      9  GenericBinding<6>::write(QV4::Value const&, bool, QFlags<QQmlPropertyData::WriteFlag>)                                                                                                                                                 qqmlbinding.cpp              248  0x116bf31e8 
      10 QQmlBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&, QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&)                                                                                                                qqmlbinding.cpp              700  0x116bacd68 
      11 QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>)                                                                                                                                                                               qqmlbinding.cpp              164  0x116ba32e8 
      12 QQmlBinding::expressionChanged()                                                                                                                                                                                                       qqmlbinding.cpp              603  0x116baa4a8 
      13 QQmlJavaScriptExpressionGuard_callback(QQmlNotifierEndpoint *, void * *)                                                                                                                                                               qqmljavascriptexpression.cpp 562  0x1170ae208 
      14 QQmlNotifier::emitNotify(QQmlNotifierEndpoint *, void * *)                                                                                                                                                                             qqmlnotifier.cpp             70   0x1171ca2a4 
      15 QQmlData::signalEmitted(QAbstractDeclarativeData *, QObject *, int, void * *)                                                                                                                                                          qqmlengine.cpp               357  0x116ce9ccc 
      16 void doActivate<false>(QObject *, int, void * *)                                                                                                                                                                                       qobject.cpp                  3869 0x10de1b14c 
      17 QMetaObject::activate(QObject *, QMetaObject const *, int, void * *)                                                                                                                                                                   qobject.cpp                  4037 0x10de190f8 
      18 QQuickControl::implicitBackgroundWidthChanged()                                                                                                                                                                                        moc_qquickcontrol_p.cpp      929  0x1216b9344 
      19 QQuickControlPrivate::itemImplicitWidthChanged(QQuickItem *)                                                                                                                                                                           qquickcontrol.cpp            874  0x1216b92d4 
      20 QQuickAbstractButtonPrivate::itemImplicitWidthChanged(QQuickItem *)                                                                                                                                                                    qquickabstractbutton.cpp     394  0x1215c2b8c 
      21 non-virtual thunk to QQuickAbstractButtonPrivate::itemImplicitWidthChanged(QQuickItem *)                                                                                                                                               qquickabstractbutton.cpp          0x1215c2c48 
      22 void QQuickItemPrivate::notifyChangeListeners<void (QQuickItemChangeListener:: *)(QQuickItem *), QQuickItem * const&>(QFlags<QQuickItemPrivate::ChangeType>, void (QQuickItemChangeListener:: *&&)(QQuickItem *), QQuickItem * const&) qquickitem_p.h               355  0x1049fd52c 
      23 QQuickItemPrivate::implicitWidthChanged()                                                                                                                                                                                              qquickitem.cpp               7196 0x104a28e54 
      24 QQuickItem::setImplicitWidth(double)                                                                                                                                                                                                   qquickitem.cpp               7328 0x104a28a64 
      25 QQuickItem::qt_static_metacall(QObject *, QMetaObject::Call, int, void * *)                                                                                                                                                            moc_qquickitem.cpp           1237 0x104a4ddb0 
      26 QQmlPropertyData::writeProperty(QObject *, void *, QFlags<QQmlPropertyData::WriteFlag>) const                                                                                                                                          qqmlpropertydata_p.h         338  0x116b79e4c 
      27 bool GenericBinding<6>::doStore<double>(double, QQmlPropertyData const *, QFlags<QQmlPropertyData::WriteFlag>) const                                                                                                                   qqmlbinding.cpp              275  0x116bf3294 
      28 GenericBinding<6>::write(QV4::Value const&, bool, QFlags<QQmlPropertyData::WriteFlag>)                                                                                                                                                 qqmlbinding.cpp              248  0x116bf31e8 
      29 QQmlBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&, QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&)                                                                                                                qqmlbinding.cpp              700  0x116bacd68 
      30 QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>)                                                                                                                                                                               qqmlbinding.cpp              164  0x116ba32e8 
      31 QQmlBinding::setEnabled(bool, QFlags<QQmlPropertyData::WriteFlag>)                                                                                                                                                                     qqmlbinding.cpp              619  0x116baa9ec 
      32 non-virtual thunk to QQmlBinding::setEnabled(bool, QFlags<QQmlPropertyData::WriteFlag>)                                                                                                                                                qqmlbinding.cpp                   0x116baaf8c 
      33 QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&)                                                                                                                                                                               qqmlobjectcreator.cpp        1446 0x1171edb1c 
      34 QQmlComponentPrivate::complete(QQmlEnginePrivate *, QQmlComponentPrivate::ConstructionState *)                                                                                                                                         qqmlcomponent.cpp            1147 0x116c598c4 
      35 QQmlComponentPrivate::completeDeferred(QQmlEnginePrivate *, std::vector<QQmlComponentPrivate::ConstructionState> *)                                                                                                                    qqmlcomponent.cpp            1140 0x116c609a4 
      36 QtQuickPrivate::completeDeferred(QObject *, QString const&, QQuickUntypedDeferredPointer *)                                                                                                                                            qquickdeferredexecute.cpp    130  0x1216d0910 
      37 void quickCompleteDeferred<QQuickItem>(QObject *, QString const&, QQuickDeferredPointer<QQuickItem>&)                                                                                                                                  qquickdeferredexecute_p_p.h  54   0x1215c2b44 
      38 QQuickControlPrivate::executeBackground(bool)                                                                                                                                                                                          qquickcontrol.cpp            771  0x1216b84dc 
      39 QQuickControl::componentComplete()                                                                                                                                                                                                     qquickcontrol.cpp            1977 0x1216bec60 
      40 QQuickAbstractButton::componentComplete()                                                                                                                                                                                              qquickabstractbutton.cpp     1068 0x1215cbc2c 
      41 non-virtual thunk to QQuickAbstractButton::componentComplete()                                                                                                                                                                         qquickabstractbutton.cpp          0x1215cbc54 
      42 QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&)                                                                                                                                                                               qqmlobjectcreator.cpp        1495 0x1171ee274 
      43 QQmlComponentPrivate::complete(QQmlEnginePrivate *, QQmlComponentPrivate::ConstructionState *)                                                                                                                                         qqmlcomponent.cpp            1147 0x116c598c4 
      44 QQmlComponentPrivate::completeCreate()                                                                                                                                                                                                 qqmlcomponent.cpp            1252 0x116c518f0 
      45 QQmlComponent::completeCreate()                                                                                                                                                                                                        qqmlcomponent.cpp            1230 0x116c620b4 
      46 QQmlComponentPrivate::createWithProperties(QObject *, QMap<QString, QVariant> const&, QQmlContext *, QQmlComponentPrivate::CreateBehavior)                                                                                             qqmlcomponent.cpp            957  0x116c593e8 
      47 QQmlComponent::create(QQmlContext *)                                                                                                                                                                                                   qqmlcomponent.cpp            908  0x116c5901c 
      48 QQmlApplicationEnginePrivate::finishLoad(QQmlComponent *)                                                                                                                                                                              qqmlapplicationengine.cpp    135  0x116b94bd4 
      49 QQmlApplicationEnginePrivate::ensureLoadingFinishes(QQmlComponent *)                                                                                                                                                                   qqmlapplicationengine.cpp    162  0x116b941a0 
      50 QQmlApplicationEnginePrivate::startLoad(QUrl const&, QByteArray const&, bool)                                                                                                                                                          qqmlapplicationengine.cpp    109  0x116b93f3c 
      51 QQmlApplicationEngine::load(QUrl const&)                                                                                                                                                                                               qqmlapplicationengine.cpp    324  0x116b96270 
      52 Application::Application(int&, char * *, QString const&)                                                                                                                                                                               application.cpp              99   0x1000082c8 
      53 Application::Application(int&, char * *, QString const&)                                                                                                                                                                               application.cpp              72   0x10000c620 
      54 main                                                                                                                                                                                                                                   main.cpp                     5    0x100042bfc 
      55 start                                                                                                                                                                                                                                  (arm64e) /usr/lib/dyld            0x1a75dbf28 
      

      Attachments

        For Gerrit Dashboard: QTBUG-115251
        # Subject Branch Project Status CR V

        Activity

          People

            fabiankosmale Fabian Kosmale
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: