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

Scene3D shutdown doesn't work properly in Loader.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 5.5.0
    • Qt3D
    • Linux x86_64, Windows 7 x64, MacOS X

    Description

      It seems that there are some bugs in scene shutdown code, which is prone to memory-leaks and crashes.

      Steps to reproduce:

      Open scene3d-loader example and add follow snippet to the main.qml:

      Timer {
              interval: 1000
              running: true
              repeat: true
              onTriggered: loader.source == "qrc:/Scene.qml" ? loader.source = "Scene2.qml" : loader.source = "Scene.qml"
          }
      

      The bug(s) reproduceable in different conditions with release and debug builds. 100% crash in Valgrind.
      The memory usage grows by about 70 mb per switch.

      Attachments

        1. fullbt.txt
          64 kB
        2. shortbt.txt
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            anmaatta Antti Määttä
            kaffeine Alexandr Akulich
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes