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

            Bug ID: 359611
           Summary: Plasmashell loads itself incompletely and  with long
                    delays
           Product: plasmashell
           Version: 5.5.4
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: eugene.shalygin+bugzilla....@gmail.com
                CC: bhus...@gmail.com, plasma-b...@kde.org

Loading of the plasnashell takes more than minute. If I interrupt it when I/O
activity stops, gdb shows the following backtrace:

(gdb) bt
#0  0x00007ffff1dc6faf in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007ffff2c97f1a in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib64/libQt5Core.so.5
#2  0x00007ffff7f66fa4 in QDBusPendingCallPrivate::waitForFinished() () from
/usr/lib64/libQt5DBus.so.5
#3  0x00007ffff7f23051 in QDBusConnectionPrivate::sendWithReply(QDBusMessage
const&, int, int) () from /usr/lib64/libQt5DBus.so.5
#4  0x00007ffff7f10e7b in QDBusConnection::call(QDBusMessage const&,
QDBus::CallMode, int) const () from /usr/lib64/libQt5DBus.so.5
#5  0x00007ffff7f2c02f in QDBusAbstractInterfacePrivate::property(QMetaProperty
const&, void*) const [clone .part.35] [clone .constprop.40] ()
   from /usr/lib64/libQt5DBus.so.5
#6  0x00007ffff7f2e5df in
QDBusAbstractInterfaceBase::qt_metacall(QMetaObject::Call, int, void**) () from
/usr/lib64/libQt5DBus.so.5
#7  0x00007ffff7f2e757 in
QDBusAbstractInterface::qt_metacall(QMetaObject::Call, int, void**) () from
/usr/lib64/libQt5DBus.so.5
#8  0x00007fff347e7675 in
OrgKdeStatusNotifierWatcherInterface::qt_metacall(QMetaObject::Call, int,
void**) ()
   from
/usr/lib64/qt5/plugins/plasma/dataengine/plasma_engine_statusnotifieritem.so
#9  0x00007ffff2e432de in QMetaProperty::read(QObject const*) const () from
/usr/lib64/libQt5Core.so.5
#10 0x00007ffff2e5fa88 in QObject::property(char const*) const () from
/usr/lib64/libQt5Core.so.5
#11 0x00007fff347c7d73 in StatusNotifierItemEngine::registerWatcher(QString
const&) [clone .part.9] [clone .constprop.20] ()
   from
/usr/lib64/qt5/plugins/plasma/dataengine/plasma_engine_statusnotifieritem.so
#12 0x00007fff347c86f8 in StatusNotifierItemEngine::init() () from
/usr/lib64/qt5/plugins/plasma/dataengine/plasma_engine_statusnotifieritem.so
#13 0x00007fff347c8b51 in QObject*
KPluginFactory::createInstance<StatusNotifierItemEngine, QObject>(QWidget*,
QObject*, QList<QVariant> const&) ()
   from
/usr/lib64/qt5/plugins/plasma/dataengine/plasma_engine_statusnotifieritem.so
#14 0x00007ffff45df739 in KPluginFactory::create (this=0x2b61570,
iface=0x7ffff63950a8 <qt_meta_stringdata_Plasma__DataEngine+552>
"Plasma::DataEngine", 
    parentWidget=0x0, parent=0x0, args=..., keyword=...) at 
/usr/src/debug/kde-frameworks/kcoreaddons-5.19.0/kcoreaddons-5.19.0/src/lib/plugin/kpluginfactory.cpp:145
#15 0x00007ffff6326eac in Plasma::PluginLoader::loadDataEngine(QString const&)
() from /usr/lib64/libKF5Plasma.so.5
#16 0x00007ffff635b3d0 in Plasma::DataEngineManager::loadEngine(QString const&)
() from /usr/lib64/libKF5Plasma.so.5
#17 0x00007ffff6350d40 in Plasma::DataEngineConsumer::dataEngine(QString
const&) () from /usr/lib64/libKF5Plasma.so.5
#18 0x00007fff3533b30e in
SystemTray::DBusSystemTrayProtocol::DBusSystemTrayProtocol(QObject*) ()
   from /usr/lib64/qt5/qml/org/kde/private/systemtray/libsystemtrayplugin.so
#19 0x00007fff3532fdf1 in SystemTray::Host::init() () from
/usr/lib64/qt5/qml/org/kde/private/systemtray/libsystemtrayplugin.so
---Type <return> to continue, or q <return> to quit---
#20 0x00007fff35346fd5 in SystemTray::Host::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) ()
   from /usr/lib64/qt5/qml/org/kde/private/systemtray/libsystemtrayplugin.so
#21 0x00007ffff2e5f401 in QObject::event(QEvent*) () from
/usr/lib64/libQt5Core.so.5
#22 0x00007ffff38cbaac in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/libQt5Widgets.so.5
#23 0x00007ffff38d0cee in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#24 0x00007ffff2e3697a in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib64/libQt5Core.so.5
#25 0x00007ffff2e389ca in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#26 0x00007ffff2e85953 in postEventSourceDispatch(_GSource*, int (*)(void*),
void*) () from /usr/lib64/libQt5Core.so.5
#27 0x00007fffee30ed57 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#28 0x00007fffee30efb0 in g_main_context_iterate.isra () from
/usr/lib64/libglib-2.0.so.0
#29 0x00007fffee30f05c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#30 0x00007ffff2e859cf in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Core.so.5
#31 0x00007ffff2e3580a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQt5Core.so.5
#32 0x00007ffff2e3d32c in QCoreApplication::exec() () from
/usr/lib64/libQt5Core.so.5
#33 0x0000000000432919 in main ()

If systemtray is removed from the panel, the Plasma (re)loads in a few seconds.
The adding of the systemtray takes the same minutes (with the same backtrace)
as loading plasma with it.
And there are no "Suspend" and "Hibernate" actions in the launcher menu whether
plasmashell contains systemtray or not. 

Reproducible: Always

Steps to Reproduce:
1. login to Plasma or kill and start plasmashell



$ qdbus command executes without delays

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

Reply via email to