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

Crash with asynchronous Loader in GridView

    XMLWordPrintable

    Details

    • Commits:
      149c1dd07b54ee0c027d94a49d52160dc4f4e2ac (qt/qtdeclarative/dev)

      Description

      To reproduce, run attached example and use mouse wheel to start scrolling the view, then click the button at the bottom.

      The example checks Loader state while it is being destroyed and there are a lot of items that are not ready when it is being destroyed. There is a lot of output like this when the crash occurs (up to 600):

      qml: Warning: Loader destroyed before ready (index: 1)
      qml: Warning: Loader destroyed before ready (index: 2)
      qml: Warning: Loader destroyed before ready (index: 3)
      qml: Warning: Loader destroyed before ready (index: 4)
      qml: Warning: Loader destroyed before ready (index: 5)
      qml: Warning: Loader destroyed before ready (index: 6)
      qml: Warning: Loader destroyed before ready (index: 7)
      qml: Warning: Loader destroyed before ready (index: 8)
      qml: Warning: Loader destroyed before ready (index: 9)
      qml: Warning: Loader destroyed before ready (index: 10)
      qml: Warning: Loader destroyed before ready (index: 11)
      qml: Warning: Loader destroyed before ready (index: 12)
      qml: Warning: Loader destroyed before ready (index: 13)
      qml: Warning: Loader destroyed before ready (index: 14)
      qml: Warning: Loader destroyed before ready (index: 15)
      

        Attachments

        For Gerrit Dashboard: QTBUG-86255
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There is 1 open Gerrit change