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

Qt3DRender crash when updating Mesh

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.6.0 RC
    • Fix Version/s: 5.7.0 RC
    • Component/s: Qt3D
    • Environment:
    • Commits:
      36b6183bdf414a1363692c8f86e023ea305dcfba

      Description

      When dynamically updating Vertex data, there seems to happen a read access violation in "traverseTrianglesIndexed" after some time. It works fine until it crashes, which may be immediately, often after a second and sometimes it runs for minutes.

      To reproduce, modify the custom-mesh-qml example to animate one of the vertices. Modified main.qml is attached.

      Note: VSync is disabled system wide, so the app runs with a high framerate.

      I also attached a screenshot with the stack trace and local variables.

      The same behavior can be observerd when subclassing QGeometryRenderer and QGeometry and using a NumberAnimation to animate one of the properties.
      It seems to not crash when animating the meshResolution of a PlaneMesh, though.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              whagen Wieland Hagen
              Reporter:
              rtag Robert
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes