Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8
-
None
-
-
8553f3b84 (dev), 04f979946 (6.8)
Description
The CurveRenderer is leaking SGNodes when the renderer is deleted.
To reproduce one can run the manual test painterPathQuickShape. Changing the shape or changing the renderer will lead to leaked nodes. To get informed about leaking nodes run the test with QT_LOGGING_RULES qt*=false;qt.scenegraph.leaks=true.
The result will be something similar to:
qt.scenegraph.leaks: Number of leaked textures: 0
Number of leaked materials: 9
Number of leaked nodes: 9
Number of leaked pixmaps: 0
It does not always happen, so it might be the result of a racing condition.
Attachments
For Gerrit Dashboard: QTBUG-127519 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
578847,12 | Avoid leaking nodes in when curve renderer is destroyed | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
582042,2 | Avoid leaking nodes in when curve renderer is destroyed | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |