Bug 474769 - Plasma sometimes crashes in TaskManager::WaylandTasksModel::Private::icon() when changing wifi network
Summary: Plasma sometimes crashes in TaskManager::WaylandTasksModel::Private::icon() w...
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: 5.27.8
Platform: unspecified Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-09-21 17:13 UTC by cookiesandcream
Modified: 2023-09-25 18:41 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (241.15 KB, text/plain)
2023-09-21 17:13 UTC, cookiesandcream
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cookiesandcream 2023-09-21 17:13:49 UTC
Application: plasmashell (5.27.8)

Qt Version: 5.15.10
Frameworks Version: 5.110.0
Operating System: Linux 6.5.3-1-default x86_64
Windowing System: Wayland
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.27.8 [CoredumpBackend]

-- Information about the crash:
When I change the wifi network to a different one through the applet in the bar, sometimes plasma will crash, the bar will disappear and some visual artifacts will appear, and then it will reload and appear as it should.

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#4  0x00007fd03a611d7b in QIcon::QIcon(QIcon const&) () from /lib64/libQt5Gui.so.5
#5  0x00007fd03c5a2d21 in KWayland::Client::PlasmaWindow::icon() const () from /lib64/libKF5WaylandClient.so.5
#6  0x00007fd02c161864 in TaskManager::WaylandTasksModel::Private::icon (window=<optimized out>, this=0x55a877ba8a50) at /usr/src/debug/plasma-workspace-5.27.8/libtaskmanager/waylandtasksmodel.cpp:337
#7  TaskManager::WaylandTasksModel::data (this=<optimized out>, index=..., role=<optimized out>) at /usr/src/debug/plasma-workspace-5.27.8/libtaskmanager/waylandtasksmodel.cpp:388
#8  0x00007fd03a0a8100 in QAbstractProxyModel::data (this=<optimized out>, proxyIndex=..., role=1) at itemmodels/qabstractproxymodel.cpp:245


Reported using DrKonqi
Comment 1 cookiesandcream 2023-09-21 17:13:50 UTC
Created attachment 161785 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2023-09-22 20:55:35 UTC
Pasting full backtrace of the crashing thread here for searchability:

Thread 1 (Thread 0x7fd037cdf9c0 (LWP 22801)):
[KCrash Handler]
#4  0x00007fd03a611d7b in QIcon::QIcon(QIcon const&) () from /lib64/libQt5Gui.so.5
#5  0x00007fd03c5a2d21 in KWayland::Client::PlasmaWindow::icon() const () from /lib64/libKF5WaylandClient.so.5
#6  0x00007fd02c161864 in TaskManager::WaylandTasksModel::Private::icon (window=<optimized out>, this=0x55a877ba8a50) at /usr/src/debug/plasma-workspace-5.27.8/libtaskmanager/waylandtasksmodel.cpp:337
#7  TaskManager::WaylandTasksModel::data (this=<optimized out>, index=..., role=<optimized out>) at /usr/src/debug/plasma-workspace-5.27.8/libtaskmanager/waylandtasksmodel.cpp:388
#8  0x00007fd03a0a8100 in QAbstractProxyModel::data (this=<optimized out>, proxyIndex=..., role=1) at itemmodels/qabstractproxymodel.cpp:245
#9  0x00007fd03a0aa24a in QModelIndex::data (arole=1, this=0x7ffe9850e010) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:460
#10 QConcatenateTablesProxyModel::data (this=<optimized out>, index=..., role=1) at itemmodels/qconcatenatetablesproxymodel.cpp:195
#11 0x00007fd03a0b7731 in QSortFilterProxyModel::data (this=<optimized out>, index=..., role=1) at itemmodels/qsortfilterproxymodel.cpp:2294
#12 0x00007fd02c1377b1 in QModelIndex::data (this=this@entry=0x7ffe9850e190, arole=arole@entry=1) at /usr/include/qt5/QtCore/qabstractitemmodel.h:460
#13 0x00007fd02c13e3c9 in TaskManager::TaskGroupingProxyModel::data (this=0x55a8780cdfd0, proxyIndex=..., role=<optimized out>) at /usr/src/debug/plasma-workspace-5.27.8/libtaskmanager/taskgroupingproxymodel.cpp:744
#14 0x00007fd03a0b7731 in QSortFilterProxyModel::data (this=this@entry=0x55a8780cb100, index=..., role=role@entry=1) at itemmodels/qsortfilterproxymodel.cpp:2294
#15 0x00007fd02c14f55c in TaskManager::TasksModel::data (this=0x55a8780cb100, proxyIndex=..., role=1) at /usr/src/debug/plasma-workspace-5.27.8/libtaskmanager/tasksmodel.cpp:1062
#16 0x00007fd038d11320 in QModelIndex::data (arole=1, this=0x7ffe9850e310) at /usr/include/qt5/QtCore/qabstractitemmodel.h:460
#17 QQmlDMAbstractItemModelData::value (role=1, this=0x55a87bedea50) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.10+kde26/src/qmlmodels/qqmladaptormodel.cpp:414
#18 QQmlDMCachedModelData::metaCall (this=0x55a87bedea50, call=<optimized out>, id=<optimized out>, arguments=0x7ffe9850e3c0) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.10+kde26/src/qmlmodels/qqmladaptormodel.cpp:282
#19 0x00007fd03b5bac26 in QQmlPropertyData::readProperty (property=0x7ffe9850e3a0, target=0x55a87bedea50, this=0x55a87811a048) at ../../include/QtQml/5.15.10/QtQml/private/../../../../../../src/qml/qml/qqmlpropertydata_p.h:373
#20 loadProperty (v4=0x55a8771c6d00, object=0x55a87bedea50, property=...) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.10+kde26/src/qml/jsruntime/qv4qobjectwrapper.cpp:176
#21 0x00007fcfcc003eff in ?? ()
#22 0x0000000000000000 in ?? ()
Comment 3 Fushan Wen 2023-09-24 07:32:06 UTC
Looks like KWayland::Client::PlasmaWindow::unmapped was emitted after the window pointerwas deleted