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

Scene3DRenderer crashes when Scene3DItem is destroyed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 5.9.4
    • 5.9.0, 5.9.2, 5.9.3, 5.10.0
    • Qt3D
    • None
    • MSVC 2015 (64 bits) / Windows 8.1 / Windows 10

    Description

      Unloading Scene3D from Loader cause that app crashs (sometime).

      I've investigated the problem in Qt Source and I found that the problem occurs in Scene3DRenderer  (function "render()").

      The Scene3DItem (m_item) is destroyed but the pointer is not set to nullptr. So when Scene3DRenderer try to "render", it crashs at line "const QSize boundingRectSize = m_item->boundingRect().size().toSize();" because m_item points to bad adress memory.

       

      When Scene3DItem  is destroyed, it will be good to stop render thread. I hope my above explanations whill help you to solve this problem.

      Attachments

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

        Activity

          People

            mkrus Mike Krus
            joffreycousin Joffrey Cousin
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes