[Pkg-utopia-maintainers] Bug#903837: dbus: SDDM with theme Breeze and KDE programs (e.g. Dolphin) take +30 seconds to start
Alex Dănilă
nuorama at gmail.com
Sun Jul 15 16:33:39 BST 2018
Package: dbus
Version: 1.13.4-3
Severity: normal
Dear Maintainer,
The following take very long to start, 30 seconds to 2 minutes:
- SDDM with theme Breeze (doesn't happen with default Maui)
- kscreenlocker_greet - the first to show the behaviour, since about 1 week
- Amarok
- Dolphin
- Krunner - it appears, but when the first letter is typed it will freeze for a while; after the freeze ends it will run correctly for the rest of the session.
This seems to be related to some DBus timeouts that affect Qt and KDE software, as for Amarok and Dolphin I was able to run gdb and strace, and generally have the following stacks:
Amarok:
(gdb) where
#0 0x00007ffff531b769 in __GI___poll (fds=0x7fffffffd010, nfds=1, timeout=25000) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007fffe348fbaf in () at /lib/x86_64-linux-gnu/libdbus-1.so.3
#2 0x00007fffe348e83d in () at /lib/x86_64-linux-gnu/libdbus-1.so.3
#3 0x00007fffe347686c in () at /lib/x86_64-linux-gnu/libdbus-1.so.3
#4 0x00007fffe347723d in () at /lib/x86_64-linux-gnu/libdbus-1.so.3
#5 0x00007fffe34777fe in dbus_connection_send_with_reply_and_block () at /lib/x86_64-linux-gnu/libdbus-1.so.3
#6 0x00007ffff0f7ed93 in q_dbus_connection_send_with_reply_and_block (error=0x7fffffffd240, timeout_milliseconds=-1, message=0x55555594a630, connection=<optimized out>) at qdbus_symbols_p.h:135
#7 0x00007ffff0f7ed93 in QDBusConnectionPrivate::sendWithReply(QDBusMessage const&, int, int) (this=this at entry=
0x555555ce4890, message=..., sendMode=sendMode at entry=1, timeout=timeout at entry=-1) at qdbusintegrator.cpp:1912
#8 0x00007ffff0f80f53 in QDBusConnectionPrivate::findMetaObject(QString const&, QString const&, QString const&, QDBusError&) (this=0x555555ce4890, service=..., path=..., interface=..., error=...) at qdbusintegrator.cpp:2386
#9 0x00007ffff0f8dd0b in QDBusInterfacePrivate::QDBusInterfacePrivate(QString const&, QString const&, QString const&, QDBusConnection const&) (this=0x555555d19200, serv=..., p=..., iface=..., con=...) at qdbusinterface.cpp:158
#10 0x00007ffff0f8de65 in QDBusInterface::QDBusInterface(QString const&, QString const&, QString const&, QDBusConnection const&, QObject*) (this=0x555555d18c98, service=..., path=..., interface=..., connection=..., parent=0x0) at qdbusinterface.cpp:220
#11 0x00007ffff18177c9 in Solid::Backends::UPower::UPowerManager::UPowerManager(QObject*) (this=0x555555d18c80, parent=<optimized out>)
at ./solid/solid/backends/upower/upowermanager.cpp:41
#12 0x00007ffff17bc12b in Solid::ManagerBasePrivate::loadBackends() (this=this at entry=0x555555b887c0) at ./solid/solid/managerbase.cpp:99
#13 0x00007ffff17bd972 in Solid::DeviceManagerPrivate::DeviceManagerPrivate() (this=0x555555b887b0) at ./solid/solid/devicemanager.cpp:38
#14 0x00007ffff17bdb55 in Solid::DeviceManagerStorage::ensureManagerCreated() (this=this at entry=0x555555d13190) at ./solid/solid/devicemanager.cpp:287
#15 0x00007ffff17bdf9c in Solid::DeviceManagerStorage::notifier() (this=<optimized out>) at ./solid/solid/devicemanager.cpp:280
#16 0x00007ffff17bdf9c in Solid::DeviceNotifier::instance() () at ./solid/solid/devicemanager.cpp:172
#17 0x00007ffff7b39c88 in MediaDeviceCache::MediaDeviceCache() (this=0x55555587fd20) at ./src/MediaDeviceCache.cpp:53
#18 0x00007fffcb213485 in MediaDeviceCache::instance() () at ./src/MediaDeviceCache.h:40
#19 0x00007fffcb213485 in MountPointManager::MountPointManager(QObject*, SqlStorage*) (this=0x555555d12f50, parent=<optimized out>, storage=<optimized out>)
at ./src/core-impl/collections/db/MountPointManager.cpp:56
#20 0x00007fffcb217bfa in Collections::SqlCollectionFactory::createSqlCollection(SqlStorage*) const (this=this at entry=0x7fffffffd747, storage=0x555555b9b5e0)
at ./src/core-impl/collections/db/sql/SqlCollectionFactory.cpp:30
#21 0x00007fffcb4b1bc0 in Collections::MySqlCollectionFactory::init() (this=0x555555a635e0)
at ./src/core-impl/collections/db/sql/mysqlcollection/MySqlCollectionFactory.cpp:38
#22 0x00007ffff7b47668 in Plugins::PluginManager::checkPluginEnabledStates() (this=this at entry=0x555555882880) at ./src/PluginManager.cpp:177
#23 0x00007ffff7b48215 in Plugins::PluginManager::init() (this=this at entry=0x555555882880) at ./src/PluginManager.cpp:91
#24 0x00007ffff7b48346 in Plugins::PluginManager::PluginManager(QObject*) (this=0x555555882880, parent=<optimized out>) at ./src/PluginManager.cpp:71
#25 0x00007ffff7b48455 in Plugins::PluginManager::instance() () at ./src/PluginManager.cpp:50
#26 0x00007ffff7b37e57 in The::pluginManager() () at ./src/PluginManager.h:123
#27 0x00007ffff7b37e57 in MainWindow::MainWindow() (this=0x55555588e2c0) at ./src/MainWindow.cpp:148
#28 0x00007ffff7b1eb07 in App::continueInit() (this=this at entry=0x7fffffffdbc0) at ./src/App.cpp:445
#29 0x00007ffff7b1ff2c in App::App() (this=0x7fffffffdbc0) at ./src/App.cpp:173
#30 0x000055555555bda3 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:327
For Dolphin
(gdb) where
#0 0x00007fffed24de6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555555b29e00)
at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x555555b29db0, cond=0x555555b29dd8) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x555555b29dd8, mutex=0x555555b29db0) at pthread_cond_wait.c:655
#3 0x00007ffff1bcdfbb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x555555b29db0) at thread/qwaitcondition_unix.cpp:143
#4 QWaitCondition::wait (this=<optimized out>, mutex=0x555555b29eb8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#5 0x00007ffff228980b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#6 0x00007ffff2245261 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7 0x00007ffff22459fd in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8 0x00007ffff2250fad in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9 0x00007ffff2251125 in QDBusInterface::QDBusInterface(QString const&, QString const&, QString const&, QDBusConnection const&, QObject*) ()
from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#10 0x00007ffff5be7a22 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Solid.so.5
#11 0x00007ffff5ba7f88 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Solid.so.5
#12 0x00007ffff5baac8a in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Solid.so.5
#13 0x00007ffff5baadd5 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Solid.so.5
#14 0x00007ffff5baaebb in Solid::DeviceNotifier::instance() () from /usr/lib/x86_64-linux-gnu/libKF5Solid.so.5
#15 0x00007ffff5ba95a8 in Solid::Device::Device(QString const&) () from /usr/lib/x86_64-linux-gnu/libKF5Solid.so.5
#16 0x00007ffff7357aa8 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5KIOFileWidgets.so.5
#17 0x00007ffff735c310 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5KIOFileWidgets.so.5
#18 0x00007ffff735c509 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5KIOFileWidgets.so.5
#19 0x00007ffff735f013 in KFilePlacesModel::KFilePlacesModel(QString const&, QObject*) () from /usr/lib/x86_64-linux-gnu/libKF5KIOFileWidgets.so.5
#20 0x00007ffff7d23cf7 in DolphinPlacesModelSingleton::DolphinPlacesModelSingleton (this=0x7ffff7fa05f8 <DolphinPlacesModelSingleton::instance()::s_self>)
at ./src/dolphinplacesmodelsingleton.cpp:26
#21 0x00007ffff7d23e08 in DolphinPlacesModelSingleton::instance () at ./src/dolphinplacesmodelsingleton.cpp:33
#22 0x00007ffff7d1dc74 in DolphinViewContainer::DolphinViewContainer (this=0x555555ad6160, url=..., parent=<optimized out>) at ./src/dolphinviewcontainer.cpp:80
#23 0x00007ffff7d2507c in DolphinTabPage::createViewContainer (this=this at entry=0x555555898e60, url=...) at ./src/dolphintabpage.cpp:355
#24 0x00007ffff7d252b7 in DolphinTabPage::DolphinTabPage (this=0x555555898e60, primaryUrl=..., secondaryUrl=..., parent=<optimized out>)
at ./src/dolphintabpage.cpp:43
#25 0x00007ffff7d26df2 in DolphinTabWidget::openNewTab (this=this at entry=0x55555583f8a0, primaryUrl=..., secondaryUrl=...) at ./src/dolphintabwidget.cpp:145
#26 0x00007ffff7d27275 in DolphinTabWidget::openDirectories (this=0x55555583f8a0, dirs=..., splitView=false) at ./src/dolphintabwidget.cpp:171
#27 0x00007ffff7d1051c in DolphinMainWindow::openDirectories (this=<optimized out>, dirs=..., splitView=<optimized out>) at ./src/dolphinmainwindow.cpp:190
#28 0x00007ffff7d0dd0d in kdemain (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:149
#29 0x00007ffff7b2eb17 in __libc_start_main (main=0x555555554730 <main>, argc=1, argv=0x7fffffffdd38, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffffffdd28) at ../csu/libc-start.c:310
#30 0x000055555555476a in _start ()
I upgraded DBus and related Qt packages to latest (experimental) and reboot, but the behaviour is the same.
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (900, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.17.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages dbus depends on:
ii adduser 3.117
ii libapparmor1 2.12-5
ii libaudit1 1:2.8.3-1+b1
ii libc6 2.27-4
ii libcap-ng0 0.7.9-1
ii libdbus-1-3 1.13.4-3
ii libexpat1 2.2.5-3
ii libselinux1 2.8-1+b1
ii libsystemd0 239-5
ii lsb-base 9.20170808
dbus recommends no packages.
Versions of packages dbus suggests:
ii dbus-user-session [default-dbus-session-bus] 1.13.2-1
ii dbus-x11 [dbus-session-bus] 1.13.4-3
Versions of packages dbus is related to:
ii dbus-x11 1.13.4-3
ii systemd 239-5
ii systemd-sysv 239-5
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list