./qtbug84196 [13:37:21] qml: translatepage count 0 ================================================================= ==61910==ERROR: AddressSanitizer: heap-use-after-free on address 0x60f00003ed48 at pc 0x7fb109f66d11 bp 0x7fff7f4cec50 sp 0x7fff7f4cec40 READ of size 8 at 0x60f00003ed48 thread T0 #0 0x7fb109f66d10 in QScopedPointer >::operator->() const /home/fabian/projects/515/qtbase/include/QtCore/../../src/corelib/tools/qscopedpointer.h:118 #1 0x7fb109f66ce0 in decltype (({parm#1}.(operator->))()) qGetPtrHelper > const>(QScopedPointer > const&) /home/fabian/projects/515/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1133 #2 0x7fb10a11378f in QObject::d_func() const /home/fabian/projects/515/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:132 #3 0x7fb10a1138c7 in QObjectPrivate::get(QObject const*) /home/fabian/projects/515/qtbase/include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/kernel/qobject_p.h:341 #4 0x7fb10a1145a8 in QQmlData::wasDeleted(QObject const*) /home/fabian/projects/515/qtbase/include/QtQml/5.15.0/QtQml/private/../../../../../../qtdeclarative/src/qml/qml/qqmldata_p.h:337 #5 0x7fb10a115b27 in QV4::QObjectWrapper::wrap(QV4::ExecutionEngine*, QObject*) /home/fabian/projects/515/qtbase/include/QtQml/5.15.0/QtQml/private/../../../../../../qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper_p.h:213 #6 0x7fb10a2fa310 in loadProperty jsruntime/qv4qobjectwrapper.cpp:139 #7 0x7fb10a2fbfba in QV4::QObjectWrapper::getProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*) jsruntime/qv4qobjectwrapper.cpp:268 #8 0x7fb10a2fd208 in QV4::QObjectWrapper::getQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, bool*, QQmlPropertyData**) jsruntime/qv4qobjectwrapper.cpp:388 #9 0x7fb10a7f3af5 in QV4::QQmlTypeWrapper::virtualGet(QV4::Managed const*, QV4::PropertyKey, QV4::Value const*, bool*) qml/qqmltypewrapper.cpp:268 #10 0x7fb10a11e64c in QV4::Object::get(QV4::StringOrSymbol*, bool*, QV4::Value const*) const /home/fabian/projects/515/qtbase/include/QtQml/5.15.0/QtQml/private/../../../../../../qtdeclarative/src/qml/jsruntime/qv4object_p.h:308 #11 0x7fb10a1a85b0 in QV4::Lookup::getterFallback(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value const&) jsruntime/qv4lookup.cpp:201 #12 0x7fb10a3d3d16 in QV4::Runtime::GetLookup::call(QV4::ExecutionEngine*, QV4::Function*, QV4::Value const&, int) jsruntime/qv4runtime.cpp:1114 #13 0x7fb0f2203c0f (/memfd:JITCode:QtQml (deleted)+0xc0f) 0x60f00003ed48 is located 8 bytes inside of 176-byte region [0x60f00003ed40,0x60f00003edf0) freed by thread T0 here: #0 0x7fb10f1a0ab9 in operator delete(void*) /build/gcc/src/gcc/libsanitizer/asan/asan_new_delete.cpp:160 #1 0x7fb10e5c5ca2 in QQmlPrivate::QQmlElement::operator delete(void*) /home/fabian/projects/515/qtbase/include/QtQml/../../../qtdeclarative/src/qml/qml/qqmlprivate.h:151 #2 0x7fb10e5c3957 in QQmlPrivate::QQmlElement::~QQmlElement() /home/fabian/projects/515/qtbase/include/QtQml/../../../qtdeclarative/src/qml/qml/qqmlprivate.h:144 #3 0x7fb1091334e9 in qDeleteInEventHandler(QObject*) kernel/qobject.cpp:4815 #4 0x7fb10911f05e in QObject::event(QEvent*) kernel/qobject.cpp:1301 #5 0x7fb10e00d639 in QQuickItem::event(QEvent*) items/qquickitem.cpp:8199 #6 0x7fb1090762c3 in QCoreApplicationPrivate::notify_helper(QObject*, QEvent*) kernel/qcoreapplication.cpp:1222 #7 0x7fb109075a4f in doNotify kernel/qcoreapplication.cpp:1151 #8 0x7fb109075925 in QCoreApplication::notify(QObject*, QEvent*) kernel/qcoreapplication.cpp:1137 #9 0x7fb10b9d669e in QGuiApplication::notify(QObject*, QEvent*) kernel/qguiapplication.cpp:1879 #10 0x7fb109075751 in QCoreApplication::notifyInternal2(QObject*, QEvent*) kernel/qcoreapplication.cpp:1061 #11 0x7fb109076e6e in QCoreApplication::sendEvent(QObject*, QEvent*) kernel/qcoreapplication.cpp:1456 #12 0x7fb109079297 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) kernel/qcoreapplication.cpp:1815 #13 0x7fb109077e59 in QCoreApplication::sendPostedEvents(QObject*, int) kernel/qcoreapplication.cpp:1674 #14 0x7fb1091dd59f in postEventSourceDispatch kernel/qeventdispatcher_glib.cpp:277 #15 0x7fb105f416bd in g_main_context_dispatch (/usr/lib/libglib-2.0.so.0+0x6b6bd) previously allocated by thread T0 here: #0 0x7fb10f19ff41 in operator new(unsigned long) /build/gcc/src/gcc/libsanitizer/asan/asan_new_delete.cpp:99 #1 0x7fb10a6f18e6 in QQmlType::create(QObject**, void**, unsigned long) const qml/qqmltype.cpp:498 #2 0x7fb10a80c43b in QQmlObjectCreator::createInstance(int, QObject*, bool) qml/qqmlobjectcreator.cpp:1189 #3 0x7fb10a7fd6fd in QQmlObjectCreator::create(int, QObject*, QQmlInstantiationInterrupt*, int) qml/qqmlobjectcreator.cpp:204 #4 0x7fb10a69a55b in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) qml/qqmlincubator.cpp:298 #5 0x7fb10a699059 in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) qml/qqmlincubator.cpp:89 #6 0x7fb10a68a46c in QQmlComponent::create(QQmlIncubator&, QQmlContext*, QQmlContext*) qml/qqmlcomponent.cpp:1178 #7 0x7fb0ff09ec62 in QQuickStackElement::load(QQuickStackView*) /home/fabian/projects/515/qtquickcontrols2/src/quicktemplates2/qquickstackelement.cpp:173 #8 0x7fb0ff0b2aff in QQuickStackViewPrivate::pushElements(QList const&) /home/fabian/projects/515/qtquickcontrols2/src/quicktemplates2/qquickstackview_p.cpp:178 #9 0x7fb0ff0b2ef1 in QQuickStackViewPrivate::replaceElements(QQuickStackElement*, QList const&) /home/fabian/projects/515/qtquickcontrols2/src/quicktemplates2/qquickstackview_p.cpp:211 #10 0x7fb0ff0a7fbd in QQuickStackView::replace(QQmlV4Function*) /home/fabian/projects/515/qtquickcontrols2/src/quicktemplates2/qquickstackview.cpp:863 #11 0x7fb0ff12e2b8 in QQuickStackView::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) .moc/moc_qquickstackview_p.cpp:284 #12 0x7fb0ff12fe3c in QQuickStackView::qt_metacall(QMetaObject::Call, int, void**) .moc/moc_qquickstackview_p.cpp:455 #13 0x7fb10a62eb1e in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) qml/qqmlvmemetaobject.cpp:1045 #14 0x7fb10908d537 in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) kernel/qmetaobject.cpp:314 #15 0x7fb10a758427 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const qml/qqmlobjectorgadget.cpp:51 #16 0x7fb10a30fd32 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const jsruntime/qv4qobjectwrapper.cpp:2122 #17 0x7fb10a30f1ed in QV4::QObjectMethod::virtualCall(QV4::FunctionObject const*, QV4::Value const*, QV4::Value const*, int) jsruntime/qv4qobjectwrapper.cpp:2065 #18 0x7fb10a11f875 in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const /home/fabian/projects/515/qtbase/include/QtQml/5.15.0/QtQml/private/../../../../../../qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:202 #19 0x7fb10a3d8b6e in QV4::Runtime::CallPropertyLookup::call(QV4::ExecutionEngine*, QV4::Value const&, unsigned int, QV4::Value*, int) jsruntime/qv4runtime.cpp:1460 #20 0x7fb0f2203f78 (/memfd:JITCode:QtQml (deleted)+0xf78) #21 0x7fb10a379fe3 in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) jsruntime/qv4vme_moth.cpp:460 #22 0x7fb10a21767f in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) jsruntime/qv4function.cpp:69 #23 0x7fb10a7ba9d3 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) qml/qqmljavascriptexpression.cpp:212 #24 0x7fb10a6ae9f0 in QQmlBoundSignalExpression::evaluate(void**) qml/qqmlboundsignal.cpp:224 #25 0x7fb10a6af78f in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) qml/qqmlboundsignal.cpp:361 #26 0x7fb10a756556 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) qml/qqmlnotifier.cpp:104 #27 0x7fb10a6422f3 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) qml/qqmlengine.cpp:834 #28 0x7fb10913d2b4 in void doActivate(QObject*, int, void**) (/home/fabian/projects/515/qtbase/lib/libQt5Core.so.5+0x8742b4) #29 0x7fb10912f74c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) kernel/qobject.cpp:3946 SUMMARY: AddressSanitizer: heap-use-after-free /home/fabian/projects/515/qtbase/include/QtCore/../../src/corelib/tools/qscopedpointer.h:118 in QScopedPointer >::operator->() const Shadow bytes around the buggy address: 0x0c1e7ffffd50: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c1e7ffffd60: fd fd fd fd fa fa fa fa fa fa fa fa fd fd fd fd 0x0c1e7ffffd70: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c1e7ffffd80: fd fd fa fa fa fa fa fa fa fa fd fd fd fd fd fd 0x0c1e7ffffd90: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd =>0x0c1e7ffffda0: fa fa fa fa fa fa fa fa fd[fd]fd fd fd fd fd fd 0x0c1e7ffffdb0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fa fa 0x0c1e7ffffdc0: fa fa fa fa fa fa fd fd fd fd fd fd fd fd fd fd 0x0c1e7ffffdd0: fd fd fd fd fd fd fd fd fd fd fd fa fa fa fa fa 0x0c1e7ffffde0: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fd 0x0c1e7ffffdf0: fd fd fd fd fd fd fd fd fd fd 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 ==61910==ABORTING