https://bugs.kde.org/show_bug.cgi?id=435991

            Bug ID: 435991
           Summary: plasmashell segfaults on Wayland because of system
                    tray
           Product: plasmashell
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: System Tray
          Assignee: plasma-b...@kde.org
          Reporter: cont...@scrumplex.net
                CC: mate...@gmail.com
  Target Milestone: 1.0

SUMMARY
Using kdesrc-build.
plasmashell crashes *sometimes*, but often shortly after starting.

STEPS TO REPRODUCE
1. Run plasmashell on Wayland
2. Create a panel with a system tray
3. Start an application with a tray icon (? unsure about this one)

OBSERVED RESULT
plasmashell crashes

EXPECTED RESULT
duh

SOFTWARE/OS VERSIONS
Linux: Arch Linux (using kdesrc-build for Desktop as well as some applications)
KDE Plasma Version: 5.21.80
KDE Frameworks Version: 5.82.0
Qt Version: Arch Linux extra/qt5-base 5.15.2+kde+r175-1

ADDITIONAL INFORMATION
Backtrace:

Core was generated by `/home/scrumplex/kde/usr/bin/plasmashell --no-respawn'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f5725b1add2 in Plasma::DataContainer::data (this=0x0) at
/home/scrumplex/kde/src/frameworks/plasma-framework/src/plasma/datacontainer.cpp:32
32          return d->data;
[Current thread is 1 (Thread 0x7f571f018ac0 (LWP 8137))]
(gdb) bt
#0  0x00007f5725b1add2 in Plasma::DataContainer::data() const (this=0x0) at
/home/scrumplex/kde/src/frameworks/plasma-framework/src/plasma/datacontainer.cpp:32
#1  0x00007f5710030a00 in StatusNotifierModel::data(QModelIndex const&, int)
const (this=0x55825b49b580, index=<optimized out>, role=258)
    at
/home/scrumplex/kde/src/plasma/plasma-workspace/applets/systemtray/systemtraymodel.cpp:312
#2  0x00007f5710063546 in KConcatenateRowsProxyModel::data(QModelIndex const&,
int) const (this=<optimized out>, index=<optimized out>, role=258) at
/usr/include/qt/QtCore/qabstractitemmodel.h:75
#3  0x00007f5710033168 in SortedSystemTrayModel::lessThanSystemTray(QModelIndex
const&, QModelIndex const&) const (this=0x55825b4334c0, left=..., right=...)
    at
/home/scrumplex/kde/src/plasma/plasma-workspace/applets/systemtray/sortedsystemtraymodel.cpp:64
#4  0x00007f57236c3cd7 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f57236c6ad0 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007f57236ca581 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f57236ce616 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f572372fa20 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f5723691d1f in QAbstractItemModel::rowsInserted(QModelIndex const&,
int, int, QAbstractItemModel::QPrivateSignal) () at /usr/lib/libQt5Core.so.5
#10 0x00007f572369a5a1 in QAbstractItemModel::endInsertRows() () at
/usr/lib/libQt5Core.so.5
#11 0x00007f572372fa20 in  () at /usr/lib/libQt5Core.so.5
#12 0x00007f5723691d1f in QAbstractItemModel::rowsInserted(QModelIndex const&,
int, int, QAbstractItemModel::QPrivateSignal) () at /usr/lib/libQt5Core.so.5
#13 0x00007f572369a5a1 in QAbstractItemModel::endInsertRows() () at
/usr/lib/libQt5Core.so.5
#14 0x00007f571003069b in StatusNotifierModel::dataUpdated(QString const&,
QMap<QString, QVariant> const&) (this=0x55825b49b580, sourceName=...,
data=<optimized out>)
    at
/home/scrumplex/kde/src/plasma/plasma-workspace/applets/systemtray/systemtraymodel.cpp:451
#15 0x00007f572372fa20 in  () at /usr/lib/libQt5Core.so.5
#16 0x00007f5725b1a627 in Plasma::DataContainer::dataUpdated(QString const&,
QMap<QString, QVariant> const&) (this=this@entry=0x55825ef36d70, _t1=...,
_t2=...)
    at
/home/scrumplex/kde/build/frameworks/plasma-framework/src/plasma/KF5Plasma_autogen/include/moc_datacontainer.cpp:236
#17 0x00007f5725b1ae50 in Plasma::DataContainer::checkForUpdate()
(this=0x55825ef36d70) at
/home/scrumplex/kde/src/frameworks/plasma-framework/src/plasma/datacontainer.cpp:325
#18 0x00007f564d0b3200 in
StatusNotifierItemSource::refreshCallback(QDBusPendingCallWatcher*)
(this=<optimized out>, call=0x7fffeafa2bf0)
    at
/home/scrumplex/kde/src/plasma/plasma-workspace/dataengines/statusnotifieritem/statusnotifieritemsource.cpp:392
#19 0x00007f572372f9e6 in  () at /usr/lib/libQt5Core.so.5
#20 0x00007f57242579e0 in
QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () at
/usr/lib/libQt5DBus.so.5
#21 0x00007f5723725192 in QObject::event(QEvent*) () at
/usr/lib/libQt5Core.so.5
#22 0x00007f572451c762 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt5Widgets.so.5
#23 0x00007f57236f868a in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt5Core.so.5
#24 0x00007f57236fb183 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#25 0x00007f5723751b54 in  () at /usr/lib/libQt5Core.so.5
#26 0x00007f5721a1e02c in g_main_context_dispatch () at
/usr/lib/libglib-2.0.so.0
#27 0x00007f5721a71b59 in  () at /usr/lib/libglib-2.0.so.0
#28 0x00007f5721a1b781 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#29 0x00007f5723751191 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt5Core.so.5
#30 0x00007f57236f6fec in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt5Core.so.5
#31 0x00007f57236ff4a4 in QCoreApplication::exec() () at
/usr/lib/libQt5Core.so.5
#32 0x000055825864f7ba in main(int, char**) (argc=<optimized out>,
argv=0x7fffeafa32b0) at
/home/scrumplex/kde/src/plasma/plasma-workspace/shell/main.cpp:251

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to