Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.1
-
None
-
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
- duplicates
-
QTBUG-28844 Memory leak when using AnimatedImage
- Closed
- relates to
-
QTBUG-24869 Use of MNG with a LOOP block causes memory leak in AnimatedImage QML element
- Open
-
QTBUG-55808 AnimatedImage Memory occupancy
- Closed
For Gerrit Dashboard: QTBUG-53937 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
161896,4 | QQuickSpriteEngine: avoid entering infinite loop in assembledImage() | 5.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |