Binding on contentItem is not deferred as requested by the DeferredPropertyNames class info because it constitutes a group property. Binding on contentItem is not deferred as requested by the DeferredPropertyNames class info because it constitutes a group property. Binding on contentItem is not deferred as requested by the DeferredPropertyNames class info because it constitutes a group property. Binding on contentItem is not deferred as requested by the DeferredPropertyNames class info because one or more of its sub-objects contain an id. Binding on contentItem is not deferred as requested by the DeferredPropertyNames class info because one or more of its sub-objects contain an id. Binding on contentItem is not deferred as requested by the DeferredPropertyNames class info because one or more of its sub-objects contain an id. Binding on contentItem is not deferred as requested by the DeferredPropertyNames class info because it constitutes a group property. Binding on contentItem is not deferred as requested by the DeferredPropertyNames class info because it constitutes a group property. Binding on contentItem is not deferred as requested by the DeferredPropertyNames class info because it constitutes a group property. ********* Start testing of tst_controls::Basic ********* Config: Using QtTest library 6.3.0, Qt 6.3.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by Clang 10.0.0 ), ubuntu 18.04 PASS : tst_controls::Basic::StackView::initTestCase() QWARN : tst_controls::Basic::StackView::test_requiredProperties() file:///home/ag/work/qt5/qtdeclarative/tests/auto/quickcontrols2/controls/data/tst_stackview.qml:69:9: QML StackView: push: Property i was marked as required but not set. ================================================================= ==7770==ERROR: AddressSanitizer: heap-use-after-free on address 0x60f0001b99d8 at pc 0x7f29ab94431d bp 0x7ffe48b968d0 sp 0x7ffe48b968c8 READ of size 4 at 0x60f0001b99d8 thread T0 #0 0x7f29ab94431c in QQuickStackViewPrivate::viewItemTransitionFinished(QQuickItemViewTransitionableItem*) /home/ag/work/qt5/qtdeclarative/src/quicktemplates2/qquickstackview_p.cpp:302:18 #1 0x7f29ab943f43 in QQuickStackViewPrivate::completeTransition(QQuickStackElement*, QQuickTransition*, QQuickStackView::Status) /home/ag/work/qt5/qtdeclarative/src/quicktemplates2/qquickstackview_p.cpp:296:5 #2 0x7f29ab94383a in QQuickStackViewPrivate::startTransition(QQuickStackTransition const&, QQuickStackTransition const&, bool) /home/ag/work/qt5/qtdeclarative/src/quicktemplates2/qquickstackview_p.cpp:260:13 #3 0x7f29ab923145 in QQuickStackView::pop(QQmlV4Function*) /home/ag/work/qt5/qtdeclarative/src/quicktemplates2/qquickstackview.cpp:723:12 #4 0x7f29ab928784 in QQuickStackView::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /home/ag/work/build/qt5/qtdeclarative/src/quicktemplates2/QuickTemplates2_autogen/include/moc_qquickstackview_p.cpp:268:22 #5 0x7f29ab92a52c in QQuickStackView::qt_metacall(QMetaObject::Call, int, void**) /home/ag/work/build/qt5/qtdeclarative/src/quicktemplates2/QuickTemplates2_autogen/include/moc_qquickstackview_p.cpp:449:13 #6 0x7f29b0d7bbbd in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlvmemetaobject.cpp:1038:24 #7 0x7f29ad9d7a3b in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) /home/ag/work/qt5/qtbase/src/corelib/kernel/qmetaobject.cpp:319:43 #8 0x7f29b0adb11e in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlobjectorgadget.cpp:50:9 #9 0x7f29b04b1d5f in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const::$_3::operator()() const /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2358:20 #10 0x7f29b04acb68 in auto QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const::$_2::operator()(QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const::$_3 const&) const /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2342:16 #11 0x7f29b04ab4b0 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2352:16 #12 0x7f29b04aa9a2 in QV4::QObjectMethod::virtualCall(QV4::FunctionObject const*, QV4::Value const*, QV4::Value const*, int) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2301:18 #13 0x7f29b018ce26 in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:205:16 #14 0x7f29b066d297 in QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*, char const*) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:873:48 #15 0x7f29b065df6a in QV4::Moth::VME::exec(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:555:18 #16 0x7f29b0392bda in QV4::ArrowFunction::virtualCall(QV4::FunctionObject const*, QV4::Value const*, QV4::Value const*, int) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:578:18 #17 0x7f29b018ce26 in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:205:16 #18 0x7f29b0587faf in QV4::Runtime::CallElement::call(QV4::ExecutionEngine*, QV4::Value const&, QV4::Value const&, QV4::Value*, int) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:1545:37 #19 0x7f29b066db46 in QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*, char const*) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:879:15 #20 0x7f29b065df6a in QV4::Moth::VME::exec(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:555:18 #21 0x7f29b0392bda in QV4::ArrowFunction::virtualCall(QV4::FunctionObject const*, QV4::Value const*, QV4::Value const*, int) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:578:18 #22 0x7f29b018ce26 in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:205:16 #23 0x7f29b0585eb3 in QV4::Runtime::CallQmlContextPropertyLookup::call(QV4::ExecutionEngine*, unsigned int, QV4::Value*, int) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:1434:74 #24 0x7f29b066f505 in QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*, char const*) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:903:15 #25 0x7f29b065df6a in QV4::Moth::VME::exec(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:555:18 #26 0x7f29b0392bda in QV4::ArrowFunction::virtualCall(QV4::FunctionObject const*, QV4::Value const*, QV4::Value const*, int) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:578:18 #27 0x7f29b018ce26 in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:205:16 #28 0x7f29b0585eb3 in QV4::Runtime::CallQmlContextPropertyLookup::call(QV4::ExecutionEngine*, unsigned int, QV4::Value*, int) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:1434:74 #29 0x7f29b066f505 in QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*, char const*) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:903:15 #30 0x7f29b065df6a in QV4::Moth::VME::exec(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:555:18 #31 0x7f29b0392bda in QV4::ArrowFunction::virtualCall(QV4::FunctionObject const*, QV4::Value const*, QV4::Value const*, int) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:578:18 #32 0x7f29b018ce26 in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:205:16 #33 0x7f29b0585eb3 in QV4::Runtime::CallQmlContextPropertyLookup::call(QV4::ExecutionEngine*, unsigned int, QV4::Value*, int) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:1434:74 #34 0x7f29b066f505 in QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*, char const*) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:903:15 #35 0x7f29b065df6a in QV4::Moth::VME::exec(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:555:18 #36 0x7f29b0384915 in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext*) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4function.cpp:98:28 #37 0x7f29b03878bf in QV4::Function::call(QObject*, void**, QMetaType const*, int, QV4::ExecutionContext*)::$_0::operator()(QV4::Value const*, QV4::Value const*, int) const /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4function.cpp:67:20 #38 0x7f29b0383ed0 in bool QV4::convertAndCall(QV4::ExecutionEngine*, QObject*, void**, QMetaType const*, int, QV4::Function::call(QObject*, void**, QMetaType const*, int, QV4::ExecutionContext*)::$_0) /home/ag/work/build/qt5/qtbase/include/QtQml/6.3.0/QtQml/private/../../../../../../../../qt5/qtdeclarative/src/qml/jsruntime/qv4jscall_p.h:229:33 #39 0x7f29b03836e4 in QV4::Function::call(QObject*, void**, QMetaType const*, int, QV4::ExecutionContext*) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4function.cpp:64:16 #40 0x7f29b097f1a0 in QQmlJavaScriptExpression::evaluate(void**, QMetaType const*, int) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmljavascriptexpression.cpp:306:46 #41 0x7f29b07ece0d in QQmlBoundSignalExpression::evaluate(void**) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlboundsignal.cpp:235:35 #42 0x7f29b07edbbe in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlboundsignal.cpp:350:26 #43 0x7f29b0a53836 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlnotifier.cpp:104:13 #44 0x7f29b0880b38 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:405:17 #45 0x7f29adb579a4 in void doActivate(QObject*, int, void**) /home/ag/work/qt5/qtbase/src/corelib/kernel/qobject.cpp:3806:9 #46 0x7f29adb43f91 in QMetaObject::activate(QObject*, int, int, void**) /home/ag/work/qt5/qtbase/src/corelib/kernel/qobject.cpp:3987:9 #47 0x7f29b0d71bc5 in QQmlVMEMetaObject::activate(QObject*, int, void**) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlvmemetaobject.cpp:1302:5 #48 0x7f29b0d7a569 in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlvmemetaobject.cpp:886:25 #49 0x7f29b0d7baea in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlvmemetaobject.cpp:1036:31 #50 0x7f29b077ea7a in void QQmlPropertyData::doMetacall<(QMetaObject::Call)2>(QObject*, int, void**) const /home/ag/work/build/qt5/qtbase/include/QtQml/6.3.0/QtQml/private/../../../../../../../../qt5/qtdeclarative/src/qml/qml/qqmlpropertydata_p.h:356:32 #51 0x7f29b077e775 in QQmlPropertyData::writeProperty(QObject*, void*, QFlags) const /home/ag/work/build/qt5/qtbase/include/QtQml/6.3.0/QtQml/private/../../../../../../../../qt5/qtdeclarative/src/qml/qml/qqmlpropertydata_p.h:376:13 #52 0x7f29b07d0766 in bool GenericBinding<1>::doStore(bool, QQmlPropertyData const*, QFlags) const /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlbinding.cpp:393:20 #53 0x7f29b07d0766 in GenericBinding<1>::write(QV4::Value const&, bool, QFlags) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlbinding.cpp:354:28 #54 0x7f29b07b5041 in QQmlNonbindingBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&, QFlags, QV4::Scope&) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlbinding.cpp:285:26 #55 0x7f29b0796aa3 in QQmlBinding::update(QFlags) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlbinding.cpp:199:5 #56 0x7f29b079c64b in QQmlBinding::expressionChanged() /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlbinding.cpp:651:5 #57 0x7f29b0982cea in QQmlJavaScriptExpressionGuard_callback(QQmlNotifierEndpoint*, void**) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmljavascriptexpression.cpp:584:17 #58 0x7f29b0a53836 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlnotifier.cpp:104:13 #59 0x7f29b0880b38 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:405:17 #60 0x7f29adb579a4 in void doActivate(QObject*, int, void**) /home/ag/work/qt5/qtbase/src/corelib/kernel/qobject.cpp:3806:9 #61 0x7f29adb43f91 in QMetaObject::activate(QObject*, int, int, void**) /home/ag/work/qt5/qtbase/src/corelib/kernel/qobject.cpp:3987:9 #62 0x7f29b0d71bc5 in QQmlVMEMetaObject::activate(QObject*, int, void**) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlvmemetaobject.cpp:1302:5 #63 0x7f29b0d7a569 in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlvmemetaobject.cpp:886:25 #64 0x7f29b0d7baea in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlvmemetaobject.cpp:1036:31 #65 0x7f29b077ea7a in void QQmlPropertyData::doMetacall<(QMetaObject::Call)2>(QObject*, int, void**) const /home/ag/work/build/qt5/qtbase/include/QtQml/6.3.0/QtQml/private/../../../../../../../../qt5/qtdeclarative/src/qml/qml/qqmlpropertydata_p.h:356:32 #66 0x7f29b077e775 in QQmlPropertyData::writeProperty(QObject*, void*, QFlags) const /home/ag/work/build/qt5/qtbase/include/QtQml/6.3.0/QtQml/private/../../../../../../../../qt5/qtdeclarative/src/qml/qml/qqmlpropertydata_p.h:376:13 #67 0x7f29b07d0766 in bool GenericBinding<1>::doStore(bool, QQmlPropertyData const*, QFlags) const /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlbinding.cpp:393:20 #68 0x7f29b07d0766 in GenericBinding<1>::write(QV4::Value const&, bool, QFlags) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlbinding.cpp:354:28 #69 0x7f29b07b5041 in QQmlNonbindingBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&, QFlags, QV4::Scope&) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlbinding.cpp:285:26 #70 0x7f29b0796aa3 in QQmlBinding::update(QFlags) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlbinding.cpp:199:5 #71 0x7f29b079c64b in QQmlBinding::expressionChanged() /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlbinding.cpp:651:5 #72 0x7f29b0982cea in QQmlJavaScriptExpressionGuard_callback(QQmlNotifierEndpoint*, void**) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmljavascriptexpression.cpp:584:17 #73 0x7f29b0a53836 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlnotifier.cpp:104:13 #74 0x7f29b0880b38 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlengine.cpp:405:17 #75 0x7f29adb579a4 in void doActivate(QObject*, int, void**) /home/ag/work/qt5/qtbase/src/corelib/kernel/qobject.cpp:3806:9 #76 0x7f29adb43f0d in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) /home/ag/work/qt5/qtbase/src/corelib/kernel/qobject.cpp:3974:9 #77 0x7f29b6f4fd41 in QTestRootObject::windowShownChanged() /home/ag/work/build/qt5/qtdeclarative/src/qmltest/QuickTest_autogen/EWIEGA46WW/moc_quicktest_p.cpp:210:5 #78 0x7f29b6f9b5d8 in QTestRootObject::setWindowShown(bool) /home/ag/work/qt5/qtdeclarative/src/qmltest/quicktest_p.h:96:67 #79 0x7f29b6f699cd in quick_test_main_with_setup(int, char**, char const*, char const*, QObject*)::$_1::operator()() const /home/ag/work/qt5/qtdeclarative/src/qmltest/quicktest.cpp:605:50 #80 0x7f29b6f69927 in QtPrivate::FunctorCall, QtPrivate::List<>, void, quick_test_main_with_setup(int, char**, char const*, char const*, QObject*)::$_1>::call(quick_test_main_with_setup(int, char**, char const*, char const*, QObject*)::$_1&, void**) /home/ag/work/build/qt5/qtbase/include/QtCore/../../../../../qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:146:13 #81 0x7f29b6f69830 in void QtPrivate::Functor::call, void>(quick_test_main_with_setup(int, char**, char const*, char const*, QObject*)::$_1&, void*, void**) /home/ag/work/build/qt5/qtbase/include/QtCore/../../../../../qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:252:13 #82 0x7f29b6f697db in QtPrivate::QFunctorSlotObject, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /home/ag/work/build/qt5/qtbase/include/QtCore/../../../../../qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:419:17 #83 0x7f29ad9f69fc in QtPrivate::QSlotObjectBase::call(QObject*, void**) /home/ag/work/build/qt5/qtbase/include/QtCore/../../../../../qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:374:51 #84 0x7f29adb29898 in QMetaCallEvent::placeMetaCall(QObject*) /home/ag/work/qt5/qtbase/src/corelib/kernel/qobject.cpp:623:21 #85 0x7f29adb2dc34 in QObject::event(QEvent*) /home/ag/work/qt5/qtbase/src/corelib/kernel/qobject.cpp:1351:18 #86 0x7f29adf2671b in QThread::event(QEvent*) /home/ag/work/qt5/qtbase/src/corelib/thread/qthread.cpp:1003:25 #87 0x7f29ad98515a in QCoreApplicationPrivate::notify_helper(QObject*, QEvent*) /home/ag/work/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1230:26 #88 0x7f29ad9844a0 in doNotify(QObject*, QEvent*) /home/ag/work/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1159:47 #89 0x7f29ad9846a3 in QCoreApplication::notify(QObject*, QEvent*) /home/ag/work/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1142:12 #90 0x7f29b224a719 in QGuiApplication::notify(QObject*, QEvent*) /home/ag/work/qt5/qtbase/src/gui/kernel/qguiapplication.cpp:1930:30 #91 0x7f29ad9841b8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) /home/ag/work/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1063:18 #92 0x7f29ad986490 in QCoreApplication::sendEvent(QObject*, QEvent*) /home/ag/work/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1479:12 #93 0x7f29ad988c73 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) /home/ag/work/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1843:9 #94 0x7f29ad98627c in QCoreApplication::sendPostedEvents(QObject*, int) /home/ag/work/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1702:5 #95 0x7f29ae7280a3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) /home/ag/work/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:279:5 #96 0x7f29aaa41536 in g_main_context_dispatch (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x4c536) #97 0x7f29aaa4176f (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x4c76f) #98 0x7f29aaa417fb in g_main_context_iteration (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x4c7fb) #99 0x7f29ae725d94 in QEventDispatcherGlib::processEvents(QFlags) /home/ag/work/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:429:19 #100 0x7f29a167ea37 in QXcbGlibEventDispatcher::processEvents(QFlags) /home/ag/work/qt5/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:132:34 #101 0x7f29ad9c8b21 in QEventLoop::processEvents(QFlags) /home/ag/work/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:136:55 #102 0x7f29ad9c9166 in QEventLoop::exec(QFlags) /home/ag/work/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:218:9 #103 0x7f29b6f667be in quick_test_main_with_setup(int, char**, char const*, char const*, QObject*) /home/ag/work/qt5/qtdeclarative/src/qmltest/quicktest.cpp:613:27 #104 0x7f29b6f6153f in quick_test_main(int, char**, char const*, char const*) /home/ag/work/qt5/qtdeclarative/src/qmltest/quicktest.cpp:363:12 #105 0x4c6749 in main /home/ag/work/qt5/qtdeclarative/tests/auto/quickcontrols2/controls/basic/tst_basic.cpp:45:12 #106 0x7f29ac148bf6 in __libc_start_main /build/glibc-S9d2JN/glibc-2.27/csu/../csu/libc-start.c:310 #107 0x41bdc9 in _start (/home/ag/work/build/qt5/qtdeclarative/tests/auto/quickcontrols2/controls/basic/tst_basic+0x41bdc9) 0x60f0001b99d8 is located 152 bytes inside of 176-byte region [0x60f0001b9940,0x60f0001b99f0) freed by thread T0 here: #0 0x4c44dd in operator delete(void*) (/home/ag/work/build/qt5/qtdeclarative/tests/auto/quickcontrols2/controls/basic/tst_basic+0x4c44dd) #1 0x7f29ab913647 in QQuickStackElement::~QQuickStackElement() /home/ag/work/qt5/qtdeclarative/src/quicktemplates2/qquickstackelement.cpp:85:1 #2 0x7f29ab935d62 in void qDeleteAll::const_iterator>(QList::const_iterator, QList::const_iterator) /home/ag/work/build/qt5/qtbase/include/QtCore/../../../../../qt5/qtbase/src/corelib/tools/qalgorithms.h:59:9 #3 0x7f29ab92c549 in void qDeleteAll >(QList const&) /home/ag/work/build/qt5/qtbase/include/QtCore/../../../../../qt5/qtbase/src/corelib/tools/qalgorithms.h:67:5 #4 0x7f29ab944ad2 in QQuickStackViewPrivate::viewItemTransitionFinished(QQuickItemViewTransitionableItem*) /home/ag/work/qt5/qtdeclarative/src/quicktemplates2/qquickstackview_p.cpp:332:9 #5 0x7f29ab944bd5 in non-virtual thunk to QQuickStackViewPrivate::viewItemTransitionFinished(QQuickItemViewTransitionableItem*) /home/ag/work/qt5/qtdeclarative/src/quicktemplates2/qquickstackview_p.cpp #6 0x7f29b6150c20 in QQuickItemViewTransitioner::finishedTransition(QQuickItemViewTransitionJob*, QQuickItemViewTransitionableItem*) /home/ag/work/qt5/qtdeclarative/src/quick/items/qquickitemviewtransition.cpp:314:29 #7 0x7f29b6150703 in QQuickItemViewTransitionJob::finished() /home/ag/work/qt5/qtdeclarative/src/quick/items/qquickitemviewtransition.cpp:137:9 #8 0x7f29b5cd5d35 in QQuickTransitionManager::complete() /home/ag/work/qt5/qtdeclarative/src/quick/util/qquicktransitionmanager.cpp:106:5 #9 0x7f29b5cd1837 in ParallelAnimationWrapper::updateState(QAbstractAnimationJob::State, QAbstractAnimationJob::State) /home/ag/work/qt5/qtdeclarative/src/quick/util/qquicktransition.cpp:203:19 #10 0x7f29b0eccfd9 in QAbstractAnimationJob::setState(QAbstractAnimationJob::State) /home/ag/work/qt5/qtdeclarative/src/qml/animations/qabstractanimationjob.cpp:380:5 #11 0x7f29b0ecf36e in QAbstractAnimationJob::stop() /home/ag/work/qt5/qtdeclarative/src/qml/animations/qabstractanimationjob.cpp:553:5 #12 0x7f29b5cd1d13 in QQuickTransitionInstance::stop() /home/ag/work/qt5/qtdeclarative/src/quick/util/qquicktransition.cpp:229:17 #13 0x7f29b5cd95d4 in QQuickTransitionManager::cancel() /home/ag/work/qt5/qtdeclarative/src/quick/util/qquicktransitionmanager.cpp:262:9 #14 0x7f29b6155fd8 in QQuickItemViewTransitionableItem::completeTransition(QQuickTransition*) /home/ag/work/qt5/qtdeclarative/src/quick/items/qquickitemviewtransition.cpp:520:13 #15 0x7f29ab91698f in QQuickStackElement::completeTransition(QQuickTransition*) /home/ag/work/qt5/qtdeclarative/src/quicktemplates2/qquickstackelement.cpp:331:39 #16 0x7f29ab943e4c in QQuickStackViewPrivate::completeTransition(QQuickStackElement*, QQuickTransition*, QQuickStackView::Status) /home/ag/work/qt5/qtdeclarative/src/quicktemplates2/qquickstackview_p.cpp:288:22 #17 0x7f29ab94383a in QQuickStackViewPrivate::startTransition(QQuickStackTransition const&, QQuickStackTransition const&, bool) /home/ag/work/qt5/qtdeclarative/src/quicktemplates2/qquickstackview_p.cpp:260:13 #18 0x7f29ab923145 in QQuickStackView::pop(QQmlV4Function*) /home/ag/work/qt5/qtdeclarative/src/quicktemplates2/qquickstackview.cpp:723:12 #19 0x7f29ab928784 in QQuickStackView::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /home/ag/work/build/qt5/qtdeclarative/src/quicktemplates2/QuickTemplates2_autogen/include/moc_qquickstackview_p.cpp:268:22 #20 0x7f29ab92a52c in QQuickStackView::qt_metacall(QMetaObject::Call, int, void**) /home/ag/work/build/qt5/qtdeclarative/src/quicktemplates2/QuickTemplates2_autogen/include/moc_qquickstackview_p.cpp:449:13 #21 0x7f29b0d7bbbd in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlvmemetaobject.cpp:1038:24 #22 0x7f29ad9d7a3b in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) /home/ag/work/qt5/qtbase/src/corelib/kernel/qmetaobject.cpp:319:43 #23 0x7f29b0adb11e in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlobjectorgadget.cpp:50:9 #24 0x7f29b04b1d5f in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const::$_3::operator()() const /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2358:20 #25 0x7f29b04acb68 in auto QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const::$_2::operator()(QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const::$_3 const&) const /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2342:16 #26 0x7f29b04ab4b0 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2352:16 #27 0x7f29b04aa9a2 in QV4::QObjectMethod::virtualCall(QV4::FunctionObject const*, QV4::Value const*, QV4::Value const*, int) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2301:18 #28 0x7f29b018ce26 in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:205:16 #29 0x7f29b066d297 in QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*, char const*) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:873:48 previously allocated by thread T0 here: #0 0x4c3c7d in operator new(unsigned long) (/home/ag/work/build/qt5/qtdeclarative/tests/auto/quickcontrols2/controls/basic/tst_basic+0x4c3c7d) #1 0x7f29ab913ea7 in QQuickStackElement::fromObject(QObject*, QQuickStackView*, QString*) /home/ag/work/qt5/qtdeclarative/src/quicktemplates2/qquickstackelement.cpp:146:35 #2 0x7f29ab941baa in QQuickStackViewPrivate::createElement(QV4::Value const&, QQmlRefPointer const&, QString*) /home/ag/work/qt5/qtdeclarative/src/quicktemplates2/qquickstackview_p.cpp:181:16 #3 0x7f29ab9415e5 in QQuickStackViewPrivate::parseElements(int, QQmlV4Function*, QList*) /home/ag/work/qt5/qtdeclarative/src/quicktemplates2/qquickstackview_p.cpp:126:43 #4 0x7f29ab92192e in QQuickStackView::push(QQmlV4Function*) /home/ag/work/qt5/qtdeclarative/src/quicktemplates2/qquickstackview.cpp:585:47 #5 0x7f29ab9286f6 in QQuickStackView::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /home/ag/work/build/qt5/qtdeclarative/src/quicktemplates2/QuickTemplates2_autogen/include/moc_qquickstackview_p.cpp:267:22 #6 0x7f29ab92a52c in QQuickStackView::qt_metacall(QMetaObject::Call, int, void**) /home/ag/work/build/qt5/qtdeclarative/src/quicktemplates2/QuickTemplates2_autogen/include/moc_qquickstackview_p.cpp:449:13 #7 0x7f29b0d7bbbd in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlvmemetaobject.cpp:1038:24 #8 0x7f29ad9d7a3b in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) /home/ag/work/qt5/qtbase/src/corelib/kernel/qmetaobject.cpp:319:43 #9 0x7f29b0adb11e in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const /home/ag/work/qt5/qtdeclarative/src/qml/qml/qqmlobjectorgadget.cpp:50:9 #10 0x7f29b04b1d5f in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const::$_3::operator()() const /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2358:20 #11 0x7f29b04acb68 in auto QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const::$_2::operator()(QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const::$_3 const&) const /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2342:16 #12 0x7f29b04ab4b0 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2352:16 #13 0x7f29b04aa9a2 in QV4::QObjectMethod::virtualCall(QV4::FunctionObject const*, QV4::Value const*, QV4::Value const*, int) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2301:18 #14 0x7f29b018ce26 in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:205:16 #15 0x7f29b066d297 in QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*, char const*) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:873:48 #16 0x7f29b065df6a in QV4::Moth::VME::exec(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:555:18 #17 0x7f29b0392bda in QV4::ArrowFunction::virtualCall(QV4::FunctionObject const*, QV4::Value const*, QV4::Value const*, int) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:578:18 #18 0x7f29b018ce26 in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:205:16 #19 0x7f29b0587faf in QV4::Runtime::CallElement::call(QV4::ExecutionEngine*, QV4::Value const&, QV4::Value const&, QV4::Value*, int) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:1545:37 #20 0x7f29b066db46 in QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*, char const*) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:879:15 #21 0x7f29b065df6a in QV4::Moth::VME::exec(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:555:18 #22 0x7f29b0392bda in QV4::ArrowFunction::virtualCall(QV4::FunctionObject const*, QV4::Value const*, QV4::Value const*, int) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:578:18 #23 0x7f29b018ce26 in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:205:16 #24 0x7f29b0585eb3 in QV4::Runtime::CallQmlContextPropertyLookup::call(QV4::ExecutionEngine*, unsigned int, QV4::Value*, int) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:1434:74 #25 0x7f29b066f505 in QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*, char const*) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:903:15 #26 0x7f29b065df6a in QV4::Moth::VME::exec(QV4::JSTypesStackFrame*, QV4::ExecutionEngine*) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:555:18 #27 0x7f29b0392bda in QV4::ArrowFunction::virtualCall(QV4::FunctionObject const*, QV4::Value const*, QV4::Value const*, int) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:578:18 #28 0x7f29b018ce26 in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:205:16 #29 0x7f29b0585eb3 in QV4::Runtime::CallQmlContextPropertyLookup::call(QV4::ExecutionEngine*, unsigned int, QV4::Value*, int) /home/ag/work/qt5/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:1434:74 SUMMARY: AddressSanitizer: heap-use-after-free /home/ag/work/qt5/qtdeclarative/src/quicktemplates2/qquickstackview_p.cpp:302:18 in QQuickStackViewPrivate::viewItemTransitionFinished(QQuickItemViewTransitionableItem*) Shadow bytes around the buggy address: 0x0c1e8002f2e0: 00 00 00 00 fa fa fa fa fa fa fa fa fd fd fd fd 0x0c1e8002f2f0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c1e8002f300: fd fa fa fa fa fa fa fa fa fa fd fd fd fd fd fd 0x0c1e8002f310: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fa 0x0c1e8002f320: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd =>0x0c1e8002f330: fd fd fd fd fd fd fd fd fd fd fd[fd]fd fd fa fa 0x0c1e8002f340: fa fa fa fa fa fa 00 00 00 00 00 00 00 00 00 00 0x0c1e8002f350: 00 00 00 00 00 00 00 00 00 00 00 00 fa fa fa fa 0x0c1e8002f360: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fd 0x0c1e8002f370: fd fd fd fd fd fd fd fd fd fd fa fa fa fa fa fa 0x0c1e8002f380: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb Shadow gap: cc ==7770==ABORTING