Bug 429585 - Plasma crash when navigating Memory Usage widget settings
Summary: Plasma crash when navigating Memory Usage widget settings
Status: RESOLVED DUPLICATE of bug 422780
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.19.5
Platform: Kubuntu Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-11-24 10:34 UTC by Lastique
Modified: 2020-11-24 16:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lastique 2020-11-24 10:34:58 UTC
Application: plasmashell (5.19.5)

Qt Version: 5.14.2
Frameworks Version: 5.74.0
Operating System: Linux 5.8.0-29-lowlatency x86_64
Windowing system: X11
Distribution: Ubuntu 20.10

-- Information about the crash:
- What I was doing when the application crashed:

I have added a Memory Usage widget on a horizontal panel and opened its settings window. In the Appearance tab, I switched Display Style to Bar chart and slicked Apply. Then I tried to switch to the Bar Chart Details tab and Plasma crashed.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x000055a400000065 in  ()
#5  0x00007f95c915a75b in qQmlPropertyCacheProperty<QV4::String const*>(QJSEngine*, QObject*, QV4::String const*, QQmlContextData*, QQmlPropertyData&) (engine=<optimized out>, obj=obj@entry=0x55a1945a4f40, name=0x7ffcff529290, name@entry=0x7f95c014f598, context=context@entry=0x55a18faa4620, local=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:647
#6  0x00007f95c9155f89 in QQmlPropertyCache::property(QJSEngine*, QObject*, QV4::String const*, QQmlContextData*, QQmlPropertyData&) (engine=<optimized out>, obj=obj@entry=0x55a1945a4f40, name=name@entry=0x7f95c014f598, context=context@entry=0x55a18faa4620, local=...) at qml/qqmlpropertycache.cpp:1032
#7  0x00007f95c904ff37 in QV4::QObjectWrapper::findProperty(QV4::ExecutionEngine*, QObject*, QQmlContextData*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QQmlPropertyData*) (engine=engine@entry=0x55a18c9ee3d0, o=o@entry=0x55a1945a4f40, qmlContext=qmlContext@entry=0x55a18faa4620, name=name@entry=0x7f95c014f598, revisionMode=revisionMode@entry=QV4::QObjectWrapper::CheckRevision, local=local@entry=0x7ffcff5292f0) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/jsruntime/qv4engine_p.h:195
#8  0x00007f95c9053c77 in QV4::QObjectWrapper::getQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, bool*, QQmlPropertyData**) (engine=engine@entry=0x55a18c9ee3d0, qmlContext=qmlContext@entry=0x55a18faa4620, object=0x55a1945a4f40, name=0x7f95c014f598, revisionMode=revisionMode@entry=QV4::QObjectWrapper::CheckRevision, hasProperty=hasProperty@entry=0x7ffcff5293b8, property=0x7ffcff5293c0) at jsruntime/qv4qobjectwrapper.cpp:371
#9  0x00007f95c9033f0a in QV4::QQmlContextWrapper::getPropertyAndBase(QV4::QQmlContextWrapper const*, QV4::PropertyKey, QV4::Value const*, bool*, QV4::Value*, QV4::Lookup*) (resource=<optimized out>, id=..., receiver=<optimized out>, hasProperty=0x7ffcff529437, base=0x0, lookup=0x0) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/common/qv4staticvalue_p.h:325
#10 0x00007f95c8fea049 in QV4::Object::get(QV4::PropertyKey, QV4::Value const*, bool*) const (hasProperty=0x7ffcff529437, receiver=0x7f95c014f588, id=..., this=0x7f95c014f588) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/memory/qv4heap_p.h:82
#11 QV4::ExecutionContext::getProperty(QV4::String*) (this=0x7f95c014f518, name=0x7f95c014f580) at jsruntime/qv4context.cpp:362
#12 0x00007f95c9085593 in QV4::Runtime::TypeofName::call(QV4::ExecutionEngine*, int) (engine=0x55a18c9ee3d0, nameIndex=<optimized out>) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/common/qv4staticvalue_p.h:325
#13 0x00007f95c9070ba0 in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) (frame=0x7ffcff529640, engine=0x55a18c9ee3d0, code=0x7f95b8b47fe2 "\030\a\022\v^\aL\004.\002H\001\f\030\006\002") at jsruntime/qv4vme_moth.cpp:944
#14 0x00007f95c90750b7 in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) (frame=frame@entry=0x7ffcff529640, engine=engine@entry=0x55a18c9ee3d0) at jsruntime/qv4vme_moth.cpp:463
#15 0x00007f95c901208d in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) (this=this@entry=0x55a192782ca0, thisObject=<optimized out>, argv=argv@entry=0x7f95c014f510, argc=<optimized out>, context=<optimized out>) at jsruntime/qv4function.cpp:69
#16 0x00007f95c9178a15 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) (this=this@entry=0x55a1950a06a0, callData=0x7f95c014f4e0, isUndefined=isUndefined@entry=0x7ffcff52981f) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/jsruntime/qv4value_p.h:343
#17 0x00007f95c917ddb8 in QQmlBinding::evaluate(bool*) (this=this@entry=0x55a1950a06a0, isUndefined=isUndefined@entry=0x7ffcff52981f) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/jsruntime/qv4jscall_p.h:95
#18 0x00007f95c9181cfb in QQmlNonbindingBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&, QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) (this=0x55a1950a06a0, watcher=..., flags=..., scope=...) at qml/qqmlbinding.cpp:246
#19 0x00007f95c917fa14 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) (this=0x55a1950a06a0, flags=...) at qml/qqmlbinding.cpp:186
#20 0x00007f95c918ba6a in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) (this=0x55a192c84af0, interrupt=...) at qml/qqmlobjectcreator.cpp:1390
#21 0x00007f95c91257c3 in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) (state=0x55a19281e8b8, enginePriv=0x55a18c87c9f0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:116
#22 QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) (enginePriv=0x55a18c87c9f0, state=0x55a19281e8b8) at qml/qqmlcomponent.cpp:965
#23 0x00007f95c91258e2 in QQmlComponentPrivate::completeCreate() (this=0x55a19281e830) at qml/qqmlcomponent.cpp:1005
#24 QQmlComponentPrivate::completeCreate() (this=0x55a19281e830) at qml/qqmlcomponent.cpp:1000
#25 0x00007f95c9126f32 in QQmlComponent::completeCreate() (this=0x55a19281e810) at qml/qqmlcomponent.cpp:997
#26 QQmlComponent::create(QQmlContext*) (this=0x55a19281e810, context=<optimized out>) at qml/qqmlcomponent.cpp:811
#27 0x00007f95a9607d21 in  () at /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/libkirigamiplugin.so
#28 0x00007f95c918062f in QQmlPropertyData::writeProperty(QObject*, void*, QFlags<QQmlPropertyData::WriteFlag>) const (flags=..., value=0x7ffcff529bc8, target=<optimized out>, this=<optimized out>) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/qml/qqmlpropertydata_p.h:286
#29 QObjectPointerBinding::write(QV4::Value const&, bool, QFlags<QQmlPropertyData::WriteFlag>) (this=0x55a19294e3b0, result=..., isUndefined=<optimized out>, flags=...) at qml/qqmlbinding.cpp:726
#30 0x00007f95c9181e1e in QQmlNonbindingBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&, QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) (this=0x55a19294e3b0, watcher=..., flags=..., scope=...) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/jsruntime/qv4scopedvalue_p.h:239
#31 0x00007f95c917fa14 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) (this=0x55a19294e3b0, flags=...) at qml/qqmlbinding.cpp:186
#32 0x00007f95c918ba6a in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) (this=0x55a193736780, interrupt=...) at qml/qqmlobjectcreator.cpp:1390
#33 0x00007f95c912a4fa in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) (this=0x55a193e4df50, i=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:116
#34 0x00007f95c912a9ed in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) (this=0x55a18c87c9f0, i=..., forContext=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qshareddata.h:160
#35 0x00007f95c7045f30 in QQmlDelegateModelPrivate::object(QQmlListCompositor::Group, int, QQmlIncubator::IncubationMode) (this=0x55a190a7ea30, group=QQmlListCompositor::Default, index=0, incubationMode=<optimized out>) at /usr/include/c++/10/bits/atomic_base.h:420
#36 0x00007f95c96443a6 in QQuickItemViewPrivate::createItem(int, QQmlIncubator::IncubationMode) (this=this@entry=0x55a18ffbb840, modelIndex=modelIndex@entry=0, incubationMode=incubationMode@entry=QQmlIncubator::Synchronous) at /usr/include/c++/10/bits/atomic_base.h:420
#37 0x00007f95c9658df8 in QQuickListViewPrivate::applyInsertionChange(QQmlChangeSet::Change const&, QQuickItemViewPrivate::ChangeResult*, QList<FxViewItem*>*, QList<QQuickItemViewPrivate::MovedItem>*) (this=0x55a18ffbb840, change=..., insertResult=0x7ffcff52a2e0, addedItems=<optimized out>, movingIntoView=<optimized out>) at items/qquicklistview.cpp:3519
#38 0x00007f95c9645de5 in QQuickItemViewPrivate::applyModelChanges(QQuickItemViewPrivate::ChangeResult*, QQuickItemViewPrivate::ChangeResult*) (this=this@entry=0x55a18ffbb840, totalInsertionResult=totalInsertionResult@entry=0x7ffcff52a3c0, totalRemovalResult=totalRemovalResult@entry=0x7ffcff52a3f0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:211
#39 0x00007f95c96466ca in QQuickItemViewPrivate::layout() (this=0x55a18ffbb840) at items/qquickitemview.cpp:1865
#40 0x00007f95c9646fd1 in QQuickItemViewPrivate::applyPendingChanges() (this=<optimized out>) at items/qquickitemview.cpp:972
#41 QQuickItemViewPrivate::applyPendingChanges() (this=<optimized out>) at items/qquickitemview.cpp:968
#42 0x0000000000000001 in  ()
#43 0x00007f95c95520f8 in QQuickItem::setWidth(double) (this=0x7f95c9657144 <QQuickListViewPrivate::updateHighlight()+20>, w=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qrect.h:644
#44 0x00007ffcff52a5b0 in  ()
#45 0x000055a1959eb250 in  ()
#46 0x0000000000000000 in  ()
[Inferior 1 (process 2202) detached]

Possible duplicates by query: bug 425786, bug 424232, bug 423394, bug 422780, bug 421761.

Reported using DrKonqi
Comment 1 Lastique 2020-11-24 10:59:21 UTC
Note that this crash is not 100% reproducible. I had multiple crashes when switching to different tabs in the Memory Usage widget settings after changing the Display Style option.
Comment 2 Nate Graham 2020-11-24 16:35:04 UTC

*** This bug has been marked as a duplicate of bug 422780 ***