Bug 350288

Summary: blocking (and recursive?) attempts to connect to the statusnotifier service
Product: [Frameworks and Libraries] frameworks-knotifications Reporter: Thomas Lübking <thomas.luebking>
Component: generalAssignee: Martin Klapetek <mklapetek>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kdelibs-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Thomas Lübking 2015-07-16 10:46:05 UTC
knotifications 5.12, archlinux

kcmshell5 kded, stop the SNI daemon, try to start an application that uses a systray item (occured with smplayer here)

Hangs here (and loads one core)
-------------------------------------------

#0  0xb7fdbbc8 in __kernel_vsyscall ()
#1  0xb65e142b in poll () from /usr/lib/libc.so.6
#2  0xb5dd3690 in ?? () from /usr/lib/libdbus-1.so.3
#3  0xb5dcc541 in ?? () from /usr/lib/libdbus-1.so.3
#4  0xb5dcb1ab in ?? () from /usr/lib/libdbus-1.so.3
#5  0xb5db2e51 in ?? () from /usr/lib/libdbus-1.so.3
#6  0xb5db2fdc in ?? () from /usr/lib/libdbus-1.so.3
#7  0xb5db3838 in ?? () from /usr/lib/libdbus-1.so.3
#8  0xb5dc4e80 in dbus_pending_call_block () from /usr/lib/libdbus-1.so.3
#9  0xb5db3eaf in dbus_connection_send_with_reply_and_block () from /usr/lib/libdbus-1.so.3
#10 0xb5daf787 in dbus_bus_register () from /usr/lib/libdbus-1.so.3
#11 0xb5dafa00 in ?? () from /usr/lib/libdbus-1.so.3
#12 0xb6d9e407 in QDBusConnection::connectToBus(QDBusConnection::BusType, QString const&) () from /usr/lib/libQt5DBus.so.5
#13 0xb0a95b5d in ?? () from /usr/lib/libKF5Notifications.so.5
#14 0xb0a8fa63 in ?? () from /usr/lib/libKF5Notifications.so.5
#15 0xb0a903c4 in KStatusNotifierItem::KStatusNotifierItem(QObject*) () from /usr/lib/libKF5Notifications.so.5
#16 0xb0e9ea9e in ?? () from /usr/lib/qt/plugins/platformthemes/KDEPlatformTheme.so
#17 0xb7cdc8af in ?? () from /usr/lib/libQt5Widgets.so.5
#18 0xb7cfb4f2 in ?? () from /usr/lib/libQt5Widgets.so.5
#19 0xb7cdc2e7 in QSystemTrayIcon::setVisible(bool) () from /usr/lib/libQt5Widgets.so.5

-----------

starting the service makes things work.

=> either KSNI needs to check for presence (and give up) or ensure to start the daemon (where the latter may be less robust if eg. the daemon absence is caused by an omni-crashing kded or something)

Reproducible: Always
Comment 1 Thomas Lübking 2015-12-06 14:52:00 UTC

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