Bug 475742

Summary: Plasmashell taskbar crashes when swotching desktops or interacting with it
Product: [Plasma] plasmashell Reporter: martin-kokos
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde, nate
Priority: NOR Keywords: drkonqi
Version: 5.27.8   
Target Milestone: 1.0   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description martin-kokos 2023-10-17 14:23:46 UTC
Application: plasmashell (5.27.8)
 (Compiled from sources)
Qt Version: 5.15.10
Frameworks Version: 5.110.0
Operating System: Linux 6.1.53-gentoo-r1 x86_64
Windowing System: Wayland
Distribution: "Gentoo Linux"
DrKonqi: 5.27.8 [KCrashBackend]

-- Information about the crash:
This particular time, it crashed when switching desktops, but it sometimes crashes also when interacting with it.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma (plasmashell), signal: Aborted

[KCrash Handler]
#4  0x00007f7797cb166c in  () at /lib64/libc.so.6
#5  0x00007f7797c63d82 in raise () at /lib64/libc.so.6
#6  0x00007f7797c4d4af in abort () at /lib64/libc.so.6
#7  0x00007f7797ea0c38 in  () at /usr/lib/gcc/x86_64-pc-linux-gnu/13/libstdc++.so.6
#8  0x00007f7797eb30b6 in  () at /usr/lib/gcc/x86_64-pc-linux-gnu/13/libstdc++.so.6
#9  0x00007f7797eb3121 in  () at /usr/lib/gcc/x86_64-pc-linux-gnu/13/libstdc++.so.6
#10 0x00007f7797eb33b3 in __cxa_rethrow () at /usr/lib/gcc/x86_64-pc-linux-gnu/13/libstdc++.so.6
#11 0x00007f77984adc96 in QVector<int>::realloc(int, QFlags<QArrayData::AllocationOption>) (this=0x5562f8e5bfe0, aalloc=<optimized out>, options=...) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/include/QtCore/../../src/corelib/tools/qvector.h:734
#12 0x00007f77986938da in QVector<int>::detach() (this=<optimized out>) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/include/QtCore/../../src/corelib/global/qflags.h:121
#13 QVector<int>::data() (this=<optimized out>) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/include/QtCore/../../src/corelib/tools/qvector.h:134
#14 QVector<int>::operator[](int) (i=1, this=<optimized out>) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/include/QtCore/../../src/corelib/tools/qvector.h:458
#15 QSortFilterProxyModelPrivate::build_source_to_proxy_mapping(QVector<int> const&, QVector<int>&) const (proxy_to_source=..., source_to_proxy=..., this=0x5562f8799040) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/itemmodels/qsortfilterproxymodel.cpp:1232
#16 0x00007f779869779c in QSortFilterProxyModelPrivate::remove_proxy_interval(QVector<int>&, QVector<int>&, int, int, QModelIndex const&, Qt::Orientation, bool) (emit_signal=true, orient=Qt::Vertical, proxy_parent=..., proxy_end=<optimized out>, proxy_start=<optimized out>, proxy_to_source=..., source_to_proxy=..., this=0x5562f8799040) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/itemmodels/qsortfilterproxymodel.cpp:819
#17 QSortFilterProxyModelPrivate::remove_source_items(QVector<int>&, QVector<int>&, QVector<int> const&, QModelIndex const&, Qt::Orientation, bool) (this=this@entry=0x5562f8799040, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=orient@entry=Qt::Vertical, emit_signal=true) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/itemmodels/qsortfilterproxymodel.cpp:792
#18 0x00007f7798697b61 in QSortFilterProxyModelPrivate::source_items_about_to_be_removed(QModelIndex const&, int, int, Qt::Orientation) (this=0x5562f8799040, source_parent=..., start=0, end=0, orient=Qt::Vertical) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/itemmodels/qsortfilterproxymodel.cpp:1094
#19 0x00007f77987094d0 in doActivate<false>(QObject*, int, void**) (sender=0x5562f8e34860, signal_index=14, argv=0x7ffdebe563e0) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qobject.cpp:3937
#20 0x00007f779870014f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x5562f8e34860, m=m@entry=0x7f77987c9ac0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x7ffdebe563e0) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qobject.cpp:3985
#21 0x00007f779865ebae in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) (this=this@entry=0x5562f8e34860, _t1=..., _t2=<optimized out>, _t2@entry=0, _t3=<optimized out>, _t3@entry=0, _t4=...) at .moc/moc_qabstractitemmodel.cpp:599
#22 0x00007f77986673ce in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) (this=0x5562f8e34860, parent=..., first=0, last=0) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/itemmodels/qabstractitemmodel.cpp:2818
#23 0x00007f779008da22 in TaskManager::TaskGroupingProxyModel::Private::sourceRowsAboutToBeRemoved(QModelIndex const&, int, int) (this=0x5562f8eaba50, parent=<optimized out>, first=<optimized out>, last=7) at /usr/src/debug/kde-plasma/plasma-workspace-5.27.8-r1/plasma-workspace-5.27.8/libtaskmanager/taskgroupingproxymodel.cpp:147
#24 0x00007f7798709521 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffdebe565f0, r=0x5562f8e34860, this=0x5562f8e34970) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#25 doActivate<false>(QObject*, int, void**) (sender=0x5562f8c56bd0, signal_index=14, argv=0x7ffdebe565f0) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qobject.cpp:3925
#26 0x00007f779870014f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x5562f8c56bd0, m=m@entry=0x7f77987c9ac0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x7ffdebe565f0) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qobject.cpp:3985
#27 0x00007f779865ebae in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) (this=this@entry=0x5562f8c56bd0, _t1=..., _t2=<optimized out>, _t2@entry=7, _t3=<optimized out>, _t3@entry=7, _t4=...) at .moc/moc_qabstractitemmodel.cpp:599
#28 0x00007f77986673ce in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) (this=0x5562f8c56bd0, parent=..., first=7, last=7) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/itemmodels/qabstractitemmodel.cpp:2818
#29 0x00007f7798697964 in QSortFilterProxyModelPrivate::remove_proxy_interval(QVector<int>&, QVector<int>&, int, int, QModelIndex const&, Qt::Orientation, bool) (emit_signal=true, orient=Qt::Vertical, proxy_parent=..., proxy_end=7, proxy_start=7, proxy_to_source=..., source_to_proxy=..., this=0x5562f8e48720) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/itemmodels/qsortfilterproxymodel.cpp:811
#30 QSortFilterProxyModelPrivate::remove_source_items(QVector<int>&, QVector<int>&, QVector<int> const&, QModelIndex const&, Qt::Orientation, bool) (this=this@entry=0x5562f8e48720, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=orient@entry=Qt::Vertical, emit_signal=true) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/itemmodels/qsortfilterproxymodel.cpp:792
#31 0x00007f779869e645 in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=0x5562f8e48720, source_top_left=<optimized out>, source_bottom_right=<optimized out>, roles=...) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/itemmodels/qsortfilterproxymodel.cpp:1483
#32 0x00007f77987094d0 in doActivate<false>(QObject*, int, void**) (sender=0x5562f8e16a90, signal_index=3, argv=0x7ffdebe569c0) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qobject.cpp:3937
#33 0x00007f779870014f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x5562f8e16a90, m=m@entry=0x7f77987c9ac0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdebe569c0) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qobject.cpp:3985
#34 0x00007f779865e8f3 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=this@entry=0x5562f8e16a90, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:557
#35 0x00007f7798685880 in QConcatenateTablesProxyModelPrivate::_q_slotDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=<optimized out>, from=<optimized out>, to=<optimized out>, roles=...) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/itemmodels/qconcatenatetablesproxymodel.cpp:634
#36 0x00007f77987094d0 in doActivate<false>(QObject*, int, void**) (sender=0x5562f8cfc240, signal_index=3, argv=0x7ffdebe56b80) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qobject.cpp:3937
#37 0x00007f779870014f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x5562f8cfc240, m=m@entry=0x7f77987c9ac0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdebe56b80) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qobject.cpp:3985
#38 0x00007f779865e8f3 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=this@entry=0x5562f8cfc240, _t1=..., _t2=..., _t3=<optimized out>) at .moc/moc_qabstractitemmodel.cpp:557
#39 0x00007f779868bcc1 in QIdentityProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=<optimized out>, topLeft=..., bottomRight=<optimized out>, roles=<optimized out>) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/itemmodels/qidentityproxymodel.cpp:507
#40 0x00007f77987094d0 in doActivate<false>(QObject*, int, void**) (sender=0x5562f8e88420, signal_index=3, argv=0x7ffdebe56d10) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qobject.cpp:3937
#41 0x00007f779870014f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x5562f8e88420, m=m@entry=0x7f77987c9ac0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdebe56d10) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qobject.cpp:3985
#42 0x00007f779865e8f3 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=this@entry=0x5562f8e88420, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:557
#43 0x00007f77900b7428 in TaskManager::WaylandTasksModel::Private::dataChanged(KWayland::Client::PlasmaWindow*, int) (this=0x5562f8cf7730, window=<optimized out>, role=272) at /usr/src/debug/kde-plasma/plasma-workspace-5.27.8-r1/plasma-workspace-5.27.8/libtaskmanager/waylandtasksmodel.cpp:359
#44 0x00007f7798709521 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffdebe56e50, r=0x5562f8e88420, this=0x5562fc874510) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#45 doActivate<false>(QObject*, int, void**) (sender=0x5562fc770e70, signal_index=6, argv=0x7ffdebe56e50) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qobject.cpp:3925
#46 0x00007f779b4dc858 in  () at /usr/lib64/libKF5WaylandClient.so.5
#47 0x00007f77999467aa in  () at /usr/lib64/libffi.so.8
#48 0x00007f77999457ed in  () at /usr/lib64/libffi.so.8
#49 0x00007f779994621d in ffi_call () at /usr/lib64/libffi.so.8
#50 0x00007f779b3db078 in  () at /usr/lib64/libwayland-client.so.0
#51 0x00007f779b3d6d08 in  () at /usr/lib64/libwayland-client.so.0
#52 0x00007f779b3d879c in wl_display_dispatch_queue_pending () at /usr/lib64/libwayland-client.so.0
#53 0x00007f7799d5b8d5 in QtWaylandClient::QWaylandDisplay::flushRequests() () at /usr/lib64/libQt5WaylandClient.so.5
#54 0x00007f77986fafe5 in QObject::event(QEvent*) (this=0x5562f83d55f0, e=0x7f7784005610) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qobject.cpp:1347
#55 0x00007f77994db182 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#56 0x00007f77986caf48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5562f83d55f0, event=0x7f7784005610) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qcoreapplication.cpp:1064
#57 0x00007f77986cb11e in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qcoreapplication.cpp:1462
#58 0x00007f77986ce5fd in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x5562f83c48d0) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qcoreapplication.cpp:1821
#59 0x00007f77986ceb38 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=<optimized out>, event_type=<optimized out>) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qcoreapplication.cpp:1680
#60 0x00007f779872f3d3 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x5562f83e9570) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#61 0x00007f7796f923ec in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#62 0x00007f7796f92688 in  () at /usr/lib64/libglib-2.0.so.0
#63 0x00007f7796f92720 in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#64 0x00007f779872eac6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5562f83ed910, flags=...) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#65 0x00007f77986c97bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffdebe576e0, flags=..., flags@entry=...) at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/include/QtCore/../../src/corelib/global/qflags.h:69
#66 0x00007f77986d1f90 in QCoreApplication::exec() () at /usr/src/debug/dev-qt/qtcore-5.15.10-r2/qtbase-everywhere-src-5.15.10/include/QtCore/../../src/corelib/global/qflags.h:121
#67 0x00005562f6fc544a in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kde-plasma/plasma-workspace-5.27.8-r1/plasma-workspace-5.27.8/shell/main.cpp:235
[Inferior 1 (process 4728) detached]

The reporter indicates this bug may be a duplicate of or related to bug 468183, bug 471315, bug 473097, bug 474358, bug 474854.

Reported using DrKonqi
Comment 1 Nate Graham 2023-10-17 17:54:25 UTC

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