Bug 335939

Summary: [iconitem] requesting icon with negative size crashes
Product: [Frameworks and Libraries] libplasma Reporter: Bhushan Shah <bhush94>
Component: componentsAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bhushan Shah 2014-06-08 04:41:32 UTC
#7  0xb7490c9a in QSGSimpleTextureNode::setRect(QRectF const&) () from /usr/lib/libQt5Quick.so.5
#8  0xaf8332dd in IconItem::updatePaintNode (this=0xbfe6bd0, oldNode=0xbe51300, updatePaintNodeData=0xa646038) at /home/bshah/kdesrc/frameworks/plasma-framework/src/declarativeimports/core/iconitem.cpp:240
#9  0xb74ddcd5 in QQuickWindowPrivate::updateDirtyNode(QQuickItem*) () from /usr/lib/libQt5Quick.so.5
#10 0xb74dead4 in QQuickWindowPrivate::updateDirtyNodes() () from /usr/lib/libQt5Quick.so.5
#11 0xb74deb64 in QQuickWindowPrivate::syncSceneGraph() () from /usr/lib/libQt5Quick.so.5
Comment 1 Bhushan Shah 2014-06-08 04:44:28 UTC
I tried to fix this, https://git.reviewboard.kde.org/r/118613/
Comment 2 Bhushan Shah 2014-06-08 11:42:44 UTC
Git commit 86c1f46eaa2ffe3849e6e76c1ff2c8a27ed92a75 by Bhushan Shah.
Committed on 08/06/2014 at 17:09.
Pushed by bshah into branch 'master'.

Prevent crash when requesting icon with negative size

REVIEW: 118613

M  +1    -1    src/declarativeimports/core/iconitem.cpp

http://commits.kde.org/plasma-framework/86c1f46eaa2ffe3849e6e76c1ff2c8a27ed92a75