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

ListView crashes on QQuickItemViewAttached::emitAdd() in QQuickItemViewPrivate::applyModelChanges()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7.3
    • None
    • macOS, Windows

    Description

      Unfortunately, I don't have a simple reproducer or any details on how this can be reproduced intentionally at the moment. We don't encounter this locally, and I only see such crashes on the user side through our automated tracking system.

      Unhandled exception thrown: read access violation.
      **sender** was 0xFFFFFFFFFFFFFFF7.
      

      Call stack:

       	Qt6Core.dll!doActivate<0>(QObject * sender, int signal_index, void * * argv) Line 3966	C++
       	Qt6Core.dll!QMetaObject::activate(QObject * sender, const QMetaObject * m, int local_signal_index, void * * argv) Line 4147	C++
       	[Inline Frame] Qt6Quick.dll!QQuickItemViewAttached::add() Line 1543	C++
       	[Inline Frame] Qt6Quick.dll!QQuickItemViewAttached::emitAdd() Line 366	C++
      >	Qt6Quick.dll!QQuickItemViewPrivate::applyModelChanges(QQuickItemViewPrivate::ChangeResult * totalInsertionResult, QQuickItemViewPrivate::ChangeResult * totalRemovalResult) Line 2085	C++
       	Qt6Quick.dll!QQuickItemViewPrivate::layout() Line 1890	C++
       	[Inline Frame] Qt6Quick.dll!QQuickItemViewPrivate::applyPendingChanges() Line 966	C++
       	Qt6Quick.dll!QQuickItemViewPrivate::positionViewAtIndex(int index, int mode) Line 829	C++
       	Qt6Quick.dll!QQuickItemView::positionViewAtIndex(int index, int mode) Line 905	C++
       	Qt6Quick.dll!QQuickItemView::qt_static_metacall(QObject * _o, QMetaObject::Call _c, int _id, void * * _a) Line 1008	C++
       	Qt6Quick.dll!QQuickItemView::qt_metacall(QMetaObject::Call _c, int _id, void * * _a) Line 1031	C++
       	Qt6Quick.dll!QQuickListView::qt_metacall(QMetaObject::Call _c, int _id, void * * _a) Line 661	C++
       	Qt6Qml.dll!QQmlVMEMetaObject::metaCall(QObject * o, QMetaObject::Call c, int _id, void * * a) Line 1183	C++
       	Qt6Qml.dll!QQmlVMEMetaObject::metaCall(QObject * o, QMetaObject::Call c, int _id, void * * a) Line 1180	C++
       	Qt6Core.dll!QMetaObject::metacall(QObject * object, QMetaObject::Call cl, int idx, void * * argv) Line 335	C++
       	Qt6Qml.dll!QQmlObjectOrGadget::metacall(QMetaObject::Call type, int index, void * * argv) Line 21	C++
       	Qt6Qml.dll!QV4::CallMethod(const QQmlObjectOrGadget & object, int index, QMetaType returnType, int argCount, const QMetaType * argTypes, QV4::ExecutionEngine * engine, QV4::CallData * callArgs, QMetaObject::Call callType) Line 1647	C++
       	Qt6Qml.dll!QV4::CallPrecise(const QQmlObjectOrGadget & object, const QQmlPropertyData & data, QV4::ExecutionEngine * engine, QV4::CallData * callArgs, QMetaObject::Call callType) Line 1950	C++
       	[Inline Frame] Qt6Qml.dll!QV4::QObjectMethod::callInternal::__l2::<lambda_4>::operator()() Line 2944	C++
       	[Inline Frame] Qt6Qml.dll!QV4::QObjectMethod::callInternal::__l2::<lambda_2>::operator()(const QV4::QObjectMethod::callInternal::__l2::<lambda_4> &) Line 2921	C++
       	Qt6Qml.dll!QV4::QObjectMethod::callInternal(const QV4::Value * thisObject, const QV4::Value * argv, int argc) Line 2944	C++
       	Qt6Qml.dll!QV4::FunctionObject::call(const QV4::Value * thisObject, const QV4::Value * argv, int argc) Line 172	C++
       	Qt6Qml.dll!QV4::Moth::VME::interpret(QV4::JSTypesStackFrame * frame, QV4::ExecutionEngine * engine, const char * code) Line 799	C++
       	Qt6Qml.dll!QV4::Moth::VME::exec(QV4::JSTypesStackFrame * frame, QV4::ExecutionEngine * engine) Line 490	C++
       	Qt6Qml.dll!qfoDoCall(const QV4::FunctionObject * fo, const QV4::Value * thisObject, const QV4::Value * argv, int argc) Line 528	C++
       	[Inline Frame] Qt6Qml.dll!QV4::FunctionObject::call(const QV4::Value *) Line 171	C++
       	Qt6Qml.dll!QV4::Runtime::CallPropertyLookup::call(QV4::ExecutionEngine * engine, const QV4::Value & base, unsigned int index, QV4::Value * argv, int argc) Line 1507	C++
      ...
      

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            studiosus Vladimir Belyavsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes