https://bugs.kde.org/show_bug.cgi?id=503099
Bug ID: 503099
Summary: Plasma can crash in LegendModel::update() when
displaying a notification that does *not* include a
chart in it
Classification: Plasma
Product: plasmashell
Version: master
Platform: Other
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: Notifications
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Target Milestone: 1.0
I managed to get Plasma to crash while displaying a notification from Spectacle
today. The backtrace is in KQuickCharts code despite the notification not
displaying a file transfer progress chart, leading me to think that that part
is being loaded unnecessarily.
Backtrace:
Thread 1 (Thread 0x7f33a4e21dc0 (LWP 59413)):
[KCrash Handler]
#5 QJSEngine::handle (this=0x0) at
/usr/src/debug/qt6-qtdeclarative-6.8.2-1.fc41.x86_64/src/qml/jsapi/qjsengine.h:298
#6 QQmlListModel::engine (this=this@entry=0x12eb0660) at
/usr/src/debug/qt6-qtdeclarative-6.8.2-1.fc41.x86_64/src/qmlmodels/qqmllistmodel.cpp:2119
#7 0x00007f33ac75f6ca in QQmlListModel::data (this=0x12eb0660,
index=<optimized out>, role=0) at
/usr/src/debug/qt6-qtdeclarative-6.8.2-1.fc41.x86_64/src/qmlmodels/qqmllistmodel.cpp:2310
#8 0x00007f33ac75fbb4 in QQmlListModel::data (this=<optimized out>,
index=<optimized out>, role=<optimized out>) at
/usr/include/qt6/QtCore/qabstractitemmodel.h:130
#9 0x00007f33170ca2d3 in ModelSource::item (this=0x16bb51a0, index=0) at
/home/nate/kde/src/kquickcharts/src/datasource/ModelSource.cpp:93
#10 0x00007f33170c64ec in ChartDataSource::first (this=<optimized out>) at
/home/nate/kde/src/kquickcharts/src/datasource/ChartDataSource.cpp:20
#11 0x00007f3317070282 in LegendModel::getValueForItem
(this=this@entry=0x174252b0, item=item@entry=0) at
/home/nate/kde/src/kquickcharts/controls/LegendModel.cpp:258
#12 0x00007f3317070ea2 in LegendModel::update (this=<optimized out>) at
/home/nate/kde/src/kquickcharts/controls/LegendModel.cpp:163
#13 0x00007f33aa74b9a2 in QObject::event (this=0x174252b0, e=0x1697cd60) at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qobject.cpp:1418
#14 0x00007f33ad43d9b8 in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x174252b0, e=0x1697cd60) at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/widgets/kernel/qapplication.cpp:3296
#15 0x00007f33aa6f3590 in QCoreApplication::notifyInternal2
(receiver=0x174252b0, event=0x1697cd60) at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1172
#16 0x00007f33aa6f37ed in QCoreApplication::sendEvent (receiver=<optimized
out>, event=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1612
#17 0x00007f33aa6f6f51 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x1133e1c0) at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1946
#18 0x00007f33aa6f71fd in QCoreApplication::sendPostedEvents
(receiver=<optimized out>, event_type=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1800
#19 0x00007f33aa9efb5f in postEventSourceDispatch (s=0x11396b90) at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#20 0x00007f33a9d8d28c in g_main_dispatch (context=0x7f3390000f00) at
../glib/gmain.c:3357
#21 g_main_context_dispatch_unlocked (context=0x7f3390000f00) at
../glib/gmain.c:4208
#22 0x00007f33a9ded8b8 in g_main_context_iterate_unlocked.isra.0
(context=context@entry=0x7f3390000f00, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4273
#23 0x00007f33a9d8e783 in g_main_context_iteration (context=0x7f3390000f00,
may_block=1) at ../glib/gmain.c:4338
#24 0x00007f33aa9ef2b3 in QEventDispatcherGlib::processEvents (this=0x11344270,
flags=...) at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#25 0x00007f33aa700993 in QEventLoop::exec (this=this@entry=0x7ffcc44d5a20,
flags=..., flags@entry=...) at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/global/qflags.h:34
#26 0x00007f33aa6fbf6e in QCoreApplication::exec () at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/global/qflags.h:74
#27 0x00007f33ab2d7d3d in QGuiApplication::exec () at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/gui/kernel/qguiapplication.cpp:1975
#28 0x00007f33ad43d929 in QApplication::exec () at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/widgets/kernel/qapplication.cpp:2564
#29 0x0000000000407c76 in main (argc=<optimized out>, argv=<optimized out>) at
/home/nate/kde/src/plasma-workspace/shell/main.cpp:191
--
You are receiving this mail because:
You are watching all bug changes.