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

Invalid access to memory in QmlEnginePrivate destructor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.1.1
    • 5.1.0 RC2
    • None
    • Windows 7
    • 3fe9adaeb8330df02b63a79a601ac998704fc99b

    Description

      drmemory indicates that the access to incubationController->d in ~QQmlEnginePrivate accesses invalid memory:

      Error #169: UNADDRESSABLE ACCESS: writing 0x0043827c-0x00438280 4 byte(s)
      # 0 Qt5Qml.dll!QQmlEnginePrivate::~QQmlEnginePrivate                           [d:\dev\qt\qt-rls\src\qtdeclarative\src\qml\qml\qqmlengine.cpp:536]
      # 1 Qt5Qml.dll!QQmlApplicationEnginePrivate::`vector deleting destructor'
      # 2 Qt5Core.dll!QScopedPointerDeleter<QEvent>::cleanup                         [d:\dev\qt\qt-rls\src\qtbase\src\corelib\tools\qscopedpointer.h:62]
      # 3 Qt5Core.dll!QScopedPointer<QObjectData,QScopedPointerDeleter<QObjectData> >::~QScopedPointer<QObjectData,QScopedPointerDeleter<QObjectData> > [d:\dev\qt\qt-rls\src\qtbase\src\corelib\tools\qscopedpointer.h:98]
      # 4 Qt5Qml.dll!QQmlEngine::~QQmlEngine                                         [d:\dev\qt\qt-rls\src\qtdeclarative\src\qml\qml\qqmlengine.cpp:861]
      # 5 main                                                                       [d:\dev\qt\qt-rls\src\qtquickcontrols\examples\quick\controls\gallery\src\main.cpp:42]
      Note: @0:01:15.818 in thread 3292
      Note: next higher malloc: 0x004382b8-0x004382d4
      Note: prev lower malloc:  0x00438228-0x00438242
      Note: instruction: mov    %ebx -> 0x04(%eax)
      

      Attachments

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

        Activity

          People

            kkohne Kai Köhne
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes