[Bug 1852016] Re: Applications delayed on launch
Chris Rorden
1852016 at bugs.launchpad.net
Fri Dec 6 12:49:58 UTC 2019
This issue is easy to replicate in any clean install of Ubuntu 19.10. For example,
$ sudo apt install hexchat
$ hexchat
That would allow you to trouble shoot on an development system.
Happy to provide a full 'journalctl -b 0' log if requested, but probably
more useful to generate on a development machine. Here are the last few
lines of mine, the "Failed: Could not get window list" sounds
promising...
Dec 06 07:42:03 zb systemd[1]: Starting Network Manager Script Dispatcher Service...
Dec 06 07:42:03 zb dbus-daemon[1012]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Dec 06 07:42:03 zb systemd[1]: Started Network Manager Script Dispatcher Service.
Dec 06 07:42:14 zb systemd[1]: NetworkManager-dispatcher.service: Succeeded.
Dec 06 07:42:25 zb thunderbird.desktop[1942]: console.debug: "main/language-dictionaries 80 records loaded from JSON dump"
Dec 06 07:42:25 zb thunderbird.desktop[1942]: console.debug: "main/sites-classification 7 records loaded from JSON dump"
Dec 06 07:42:53 zb xdg-desktop-por[1874]: Failed to get application states: GDBus.Error:org.freedesktop.portal.Error.Failed: Could not get window list: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: App introspection not allowed
Dec 06 07:42:53 zb kernel: [UFW BLOCK] IN=wlp41s0 OUT= MAC=01:00:5e:00:00:01:00:23:04:18:e6:00:08:00 SRC=10.73.1.1 DST=224.0.0.1 LEN=28 TOS=0x00 PREC=0xC0 TTL=1 ID=21410 PROTO=2
Dec 06 07:42:56 zb kernel: [UFW BLOCK] IN=wlp41s0 OUT= MAC=01:00:5e:00:00:fb:f0:79:59:70:d6:ac:08:00 SRC=10.73.1.231 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
Dec 06 07:43:51 zb gnome-shell[1942]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x4200034
Dec 06 07:43:51 zb gnome-shell[1942]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x4200034
Dec 06 07:43:53 zb xdg-desktop-por[1874]: Failed to get application states: GDBus.Error:org.freedesktop.portal.Error.Failed: Could not get window list: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: App introspection not allowed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dbus in Ubuntu.
https://bugs.launchpad.net/bugs/1852016
Title:
Applications delayed on launch
Status in dbus package in Ubuntu:
Incomplete
Bug description:
Hello,
i am unsure if this is really a problem with dbus but my first
research showed it could be related to dbus.
1.)
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 19.10
Release: 19.10
Codename: eoan
Ubuntu Budgie on T460 with 256GB SSD and 16GB RAM
2.)
dbus:
Installed: 1.12.14-1ubuntu2
Candidate: 1.12.14-1ubuntu2
Version table:
*** 1.12.14-1ubuntu2 500
500 http://de.archive.ubuntu.com/ubuntu eoan/main amd64 Packages
100 /var/lib/dpkg/status
3.) I've expected just "normal" loading applications
4.) Some applications are delayed at startup. The application will
take around 30s to launch, but afterwards it just runs fine. Affected
application I found so far are KeepassXC, Filezilla and OnlyOffice
Desktop-Editor. From strace I saw this applications are stopping (for
about 20-30s) at this point:
connect(12, {sa_family=AF_UNIX, sun_path="/run/user/1000/bus"}, 110) = 0
getpid() = 8165
geteuid() = 1000
getegid() = 1000
getpid() = 8165
geteuid() = 1000
getegid() = 1000
sendmsg(12, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0", iov_len=1}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=8165, uid=1000, gid=1000}}], msg_controllen=32, msg_flags=0}, MSG_NOSIGNAL) = 1
sendto(12, "AUTH\r\n", 6, MSG_NOSIGNAL, NULL, 0) = 6
recvfrom(12, "REJECTED EXTERNAL\r\n", 4096, 0, NULL, NULL) = 19
sendto(12, "AUTH EXTERNAL 31303030\r\n", 24, MSG_NOSIGNAL, NULL, 0) = 24
recvfrom(12, "OK 7f079149c4e5e774135107445dc85"..., 4096, 0, NULL, NULL) = 37
sendto(12, "NEGOTIATE_UNIX_FD\r\n", 19, MSG_NOSIGNAL, NULL, 0) = 19
recvfrom(12, "AGREE_UNIX_FD\r\n", 4096, 0, NULL, NULL) = 15
sendto(12, "BEGIN\r\n", 7, MSG_NOSIGNAL, NULL, 0) = 7
write(15, "\1\0\0\0\0\0\0\0", 8) = 8
eventfd2(0, EFD_CLOEXEC|EFD_NONBLOCK) = 14
write(14, "\1\0\0\0\0\0\0\0", 8) = 8
write(15, "\1\0\0\0\0\0\0\0", 8) = 8
poll([{fd=14, events=POLLIN}], 1, 25000) = 1 ([{fd=14, revents=POLLIN}])
read(14, "\1\0\0\0\0\0\0\0", 16) = 8
poll([{fd=14, events=POLLIN}], 1, 25000
During my first research I found this following to topics related to the issue:
https://askubuntu.com/questions/1184774/some-applications-on-ubuntu-19-10-very-slow-to-start
This Stackoverflow topic links to the archlinux forum:
https://bbs.archlinux.org/viewtopic.php?id=230036
I can confirm that running the delayed applications with "dbus-launch
--exit-with-session application" or by running it as root they are all
starting without any delay.
Thanks for your help! Let me know if you need any further information.
Best Regards,
Sebastian
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/1852016/+subscriptions
More information about the foundations-bugs
mailing list