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

qqmlenginedebugservice assert m_engines.contains(engine)

    XMLWordPrintable

Details

    • 8201524ababcf5cb6e14657e23004d45e4dff548 958e412a25523cc031564faae81c569aa6c3b01f

    Description

      I am getting this error when closing my app.

      ASSERT: "m_engines.contains(engine)" in file qqmlenginedebugservice.cpp, line 803 global\qglobal.cpp: 3049

      There's no logging to tell me what the problem is... 

      This snippet of QML reproduces the problem:

      import QtQuick 2.9
      import QtQuick.Window 2.2
      
      Window {
          visible: true
          width: 640
          height: 480
          title: qsTr("Hello World")
          property Component x: Qt.createComponent("x.qml")
          Component.onDestruction: console.log(x.createObject(this, {}));
      }
      

      Just start it in the debugger and close the window.

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            Dynite Michael Cox
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes