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

Scene::setSceneSubtree crashes if called with null subTree parameter

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.7.1
    • 5.7.0 Beta
    • Qt3D
    • None
    • Latest 5.7 from git (4e730b699a2663b1c029b27c694095086fc7357a), Windows 7 64bit
    • fc1e70e36f38df32f0db0be78a75096b5c857e78

    Description

      Scene::setSceneSubtree crashes if called with null subTree parameter. This happens at least when trying to load non-scene urls with QSceneLoader. This case is trivially reproducable with assimp-cpp example by loading e.g. a png file.

      I'm pretty sure this has also happened a couple of times when loading valid scenes in scene editor, but I can't repro that case on demand. If it happens, it is rare occurrence. There is a chance that those cases have actually been misclicks on wrong file, though.

      Attachments

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

        Activity

          People

            whagen Wieland Hagen
            e0348803 Miikka Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes