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

Qt3DRender crash when updating Mesh

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.7.0 RC
    • 5.6.0 RC
    • Qt3D
    • 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

        1. main.qml
          7 kB
          Robert
        2. qtbug_traversetrianglesindexed.PNG
          133 kB
          Robert

        Issue Links

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

          Activity

            People

              whagen Wieland Hagen
              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