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

QDeclarativeView - leak after adding and using new type

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 4.8.0
    • Windows 7 Prof., Qt SDK 1.2.1, MSVC 2010

    Description

      Trying to add new type into QML with qmlRegisterType and using it with QDeclarativeView provides a crash at destructor (after closing window) of it:

      Invalid address specified to RtlValidateHeap( , )
      LEAK: 217 Structure

      Code works fine without QDeclarativeView class.

      Attachments

        1. main.cpp
          0.5 kB
        2. main.qml
          0.2 kB
        3. someitem.cpp
          0.1 kB
        4. someitem.h
          0.3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            peppy Peter Bocan
            peppy Peter Bocan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes