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

Dynamically creating and destroying models causes assertion failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 6.2.5, 6.3.0 Beta3, 6.4.0 Beta1
    • 6.2.0, 6.2.2, 6.3.0 Beta1, 6.3
    • Quick: 3D
    • None
    • Windows (MSVC 2019 16.11.7), Linux (gcc 9.3)
    • Linux/X11, Windows
    • 2ffd0c9d7a (qt/qtquick3d/dev) 4d2e7e36ce (qt/qtquick3d/6.2) 2e80ecb2f1 (qt/qtquick3d/6.3) 4d2e7e36ce (qt/tqtc-qtquick3d/6.2) 2e80ecb2f1 (qt/qtquick3d/6.3.0) 2e80ecb2f1 (qt/tqtc-qtquick3d/6.3.0)
    • Qt Quick 3D: Week 7 - 8

      Given the setup:

      • Frequently changing model based on user input
      • Repeater3D instantiating rectangle models with custom material that use Texture

      There are various crashes in QSGRenderThread (backtraces attached)
      Setting Texture:enabled property to false results in no crashes.

      As an approximation of what is going on I've attached minimal example

        1. CrashReproduction.7z
          21 kB
          Bartłomiej Neumann
        2. q3crtest.qml
          2 kB
          Laszlo Agocs
        3. image-2022-02-10-16-07-09-554.png
          319 kB
          Laszlo Agocs
        For Gerrit Dashboard: QTBUG-99759
        # Subject Branch Project Status CR V

            qt.team.graphics.and.multimedia Qt Graphics Team
            bnmann Bartłomiej Neumann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes