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

AnimatedSprite source change causes infinite loop in QQuickSpriteEngine::assembledImage()

    XMLWordPrintable

Details

    • b61c774ce58d15bfc26a2a75b55e3f5eefbcdcc2

    Description

      Steps to reproduce the issue:

      • Extract the attached file (animatedSpriteInfiniteLoop.zip) and run it with "qmlscene animatedSpriteInfiniteLoop.qml"
      • Click on it.

      Outcome:
      The process enters into an infinited loop inside QQuickSpriteEngine::assembledImage(). More speficically inside "while (framesLeft > 0)

      {...}

      " as framesLeft is never decremented because "copied/frameWidth" in the expression "framesLeft -= copied/frameWidth;" always resolves to zero because copied < frameWidth.

      Comments:
      Got a simple fix in the works.

      Attachments

        Issue Links

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

          Activity

            People

              dandrader Daniel d'Andrada
              dandrader Daniel d'Andrada
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes