Summary: | Plasma Shell crashes on changing themes | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-plasma | Reporter: | Rohan Garg <rohan> |
Component: | libplasma | Assignee: | Marco Martin <notmart> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | bhush94, rohan |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/plasma-framework/3fdf999ba004112b30e8c27cecf3be53c04646c6 | Version Fixed In: |
Description
Rohan Garg
2014-05-28 13:53:12 UTC
pasting the relevant piece of bt Thread 1 (Thread 0x7f65de1397c0 (LWP 19096)): [KCrash Handler] #6 0x00007f65dc12b48d in QHash<Plasma::FrameSvg*, int>::findNode (this=0x52b8f70, akey=@0x7fffa32d2400: 0x52bb100, ahp=0x7fffa32d23e0) at /opt/project-neon5/include/QtCore/qhash.h:939 #7 0x00007f65dc129085 in QHash<Plasma::FrameSvg*, int>::operator[] (this=0x52b8f70, akey=@0x7fffa32d2400: 0x52bb100) at /opt/project-neon5/include/QtCore/qhash.h:773 #8 0x00007f65dc1263f9 in Plasma::FrameData::ref (this=0x52b8ef0, svg=0x52bb100) at /build/buildd/project-neon5-plasma-framework-0.0+git20140527.0321+neon4~0596cf1~14.04/src/plasma/framesvg.cpp:1134 #9 0x00007f65dc12019d in Plasma::FrameSvg::resizeFrame (this=0x52bb100, size=...) at /build/buildd/project-neon5-plasma-framework-0.0+git20140527.0321+neon4~0596cf1~14.04/src/plasma/framesvg.cpp:344 #10 0x00007f65bcc68b69 in Plasma::FrameSvgItem::geometryChanged (this=0x60bdd20, newGeometry=..., oldGeometry=...) at /build/buildd/project-neon5-plasma-framework-0.0+git20140527.0321+neon4~0596cf1~14.04/src/declarativeimports/core/framesvgitem.cpp:217 #11 0x00007f65dda330fb in QQuickItem::setHeight (this=0x60bdd20, h=23) at items/qquickitem.cpp:6075 #12 0x00007f65dda38b38 in QQuickItem::qt_metacall (this=0x60bdd20, _c=QMetaObject::WriteProperty, _id=8, _a=0x7fffa32d2820) at .moc/moc_qquickitem.cpp:878 #13 0x00007f65bcc7872a in Plasma::FrameSvgItem::qt_metacall (this=0x60bdd20, _c=QMetaObject::WriteProperty, _id=9, _a=0x7fffa32d2820) at /build/buildd/project-neon5-plasma-framework-0.0+git20140527.0321+neon4~0596cf1~14.04/obj-x86_64-linux-gnu/src/declarativeimports/core/moc_framesvgitem.cpp:365 #14 0x00007f65d7566f41 in QMetaObject::metacall (object=0x60bdd20, cl=QMetaObject::WriteProperty, idx=9, argv=0x7fffa32d2820) at kernel/qmetaobject.cpp:308 #15 0x00007f65dd378cc2 in QQmlPropertyPrivate::writeBinding (object=0x60bdd20, core=..., context=0x5360df0, expression=0x60d0a80, result=..., isUndefined=false, flags=...) at qml/qqmlproperty.cpp:1498 Git commit 3fdf999ba004112b30e8c27cecf3be53c04646c6 by Marco Martin. Committed on 28/05/2014 at 18:25. Pushed by mart into branch 'master'. bit more complex bookeeping since it is now possible to have different svg/framesvg with different themes, s_sharedFrames must be indexed by theme first what it's really the identifying thing is ThemePrivate, so it's indexed by that this fixes a crash that occurs the second thime the theme gets changed M +42 -34 src/plasma/framesvg.cpp M +1 -1 src/plasma/framesvg.h M +9 -7 src/plasma/private/framesvg_p.h M +3 -0 src/plasma/private/theme_p.cpp M +2 -0 src/plasma/theme.h http://commits.kde.org/plasma-framework/3fdf999ba004112b30e8c27cecf3be53c04646c6 |