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

Misplaced Joint{} element may crash application

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.1.2, 6.2.0 Alpha, 6.2
    • 6.0.3
    • Quick: 3D
    • None
    • Linux/X11
    • 1
    • 0e01b6122eba04e7d43747c14c9ea52dcc6a7462 (qt/qtquick3d/dev) 337561531874c4b9b0a90a6745081102616045e9 (qt/qtquick3d/6.1) 18beb144a76e76fa3a08be427e70d9fa4710f022 (qt/qtquick3d/6.0)

    Description

      A `Joint` element without skeletonRoot (or with an invalid one) causes the whole application to crash without explanation.

      The problem occurs if a Joint is placed as it is inside a `view3D` (obviously, the Joint shouldn't do anything if there is no skeleton)

       

      How to reproduce:

      Open simpleSkinning example. Anywhere inside the main.qml view element, add a `Joint` element, for exemple line 64 :

          View3D {
              id: view
              Joint{}
              anchors.fill: parent
      [...]
      

      Application will crash on launch.

      The same will happen for any Qt Quick 3D example containing a view3D.

      Attachments

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

        Activity

          People

            inho Inho Lee
            philemong Philémon Giraud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes