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

Crash in QQmlValueTypeWrapper::typeId() (added 5.11.2)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.9.0, 5.9.1, 5.11.2
    • None
    • Windows 7 - VS 2017 (15.3.5) toolset v14.0 winsdk 10.0 - Qt 5.9.0 (5.9.0-0-201705291821, installed with the maintenance tool)

    Description

      I wanted to add that this now affects 5.11.2 too. But ticket QTBUG-63311 could not be edited to include the new version. Please close this ticket and edit QTBUG-63311 to include the latest version.

      After an update from Qt 5.7.0 to 5.9.0 (and 5.9.1), we get a crash in our application when removing items from a tree. I'm not sure if it is an issue in our code or in the qlm engine, but since it only starts occuring after the update, I'll post it anyway. More context info about our application can be found on the forum post (https://forum.qt.io/topic/83322/crash-in-qqmlvaluetypewrapper-typeid)

      Here's the callstack :

      Qt5Qmld.dll!QV4::QQmlValueTypeWrapper::typeId() Line 287    C++    Symbols loaded.
      Qt5Qmld.dll!QV4::QQmlValueTypeReference::readReferenceValue() Line 134    C++    Symbols loaded.
      Qt5Qmld.dll!QV4::QQmlValueTypeWrapper::toVariant() Line 210    C++    Symbols loaded.
      Qt5Qmld.dll!toVariant(QV4::ExecutionEngine * e, const QV4::Value & value, int typeHint, bool createJSValueForObjects, QSet<QV4::Heap::Object *> * visitedObjects) Line 1127    C++    Symbols loaded.
      Qt5Qmld.dll!QV4::ExecutionEngine::toVariant(const QV4::Value & value, int typeHint, bool createJSValueForObjects) Line 1094    C++    Symbols loaded.
      Qt5Qmld.dll!`anonymous namespace'::CallArgument::fromValue(int callType, QV4::ExecutionEngine * engine, const QV4::Value & value) Line 1610    C++    Symbols loaded.
      Qt5Qmld.dll!CallMethod(const QQmlObjectOrGadget & object, int index, int returnType, int argCount, int * argTypes, QV4::ExecutionEngine * engine, QV4::CallData * callArgs, QMetaObject::Call callType) Line 1078    C++    Symbols loaded.
      Qt5Qmld.dll!CallPrecise(const QQmlObjectOrGadget & object, const QQmlPropertyData & data, QV4::ExecutionEngine * engine, QV4::CallData * callArgs, QMetaObject::Call callType) Line 1345    C++    Symbols loaded.
      Qt5Qmld.dll!QV4::QObjectMethod::callInternal(QV4::CallData * callData, QV4::Scope & scope) Line 1839    C++    Symbols loaded.
      Qt5Qmld.dll!QV4::QObjectMethod::call(const QV4::Managed * m, QV4::Scope & scope, QV4::CallData * callData) Line 1769    C++    Symbols loaded.
      Qt5Qmld.dll!QV4::Object::call(QV4::Scope & scope, QV4::CallData * d) Line 362    C++    Symbols loaded.
      Qt5Qmld.dll!QV4::Runtime::method_callProperty(QV4::ExecutionEngine * engine, int nameIndex, QV4::CallData * callData) Line 1049    C++    Symbols loaded.
      [External Code]        Annotated Frame
      

      Attachments

        Issue Links

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

          Activity

            People

              shausman Simon Hausmann
              petermj Peter Myerscough-Jackopson
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes