In 20.04.1 all gtk2 apps starts 25 seconds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I've installed Ubuntu 20.04.1 64bit today (three times as I was testing various different options). All GTK2 apps (for example gmrun, grun, anything compiled from lazarus with gtk2 target which is default) starts for 25 seconds. I ran strace to see what it was and I don't know. The 25s delay is at line containing the "(Timeout)" text.
$strace gmrun
...
fcntl(9, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(9, {sa_family=AF_UNIX, sun_path=
getpid() = 1972
geteuid() = 1000
getegid() = 1000
getpid() = 1972
geteuid() = 1000
getegid() = 1000
sendmsg(9, {msg_name=NULL, msg_namelen=0, msg_iov=
sendto(9, "AUTH\r\n", 6, MSG_NOSIGNAL, NULL, 0) = 6
recvfrom(9, "REJECTED EXTERNAL\r\n", 4096, 0, NULL, NULL) = 19
sendto(9, "AUTH EXTERNAL 31303030\r\n", 24, MSG_NOSIGNAL, NULL, 0) = 24
recvfrom(9, "OK c0fd5f5eb963750
sendto(9, "NEGOTIATE_
recvfrom(9, "AGREE_
sendto(9, "BEGIN\r\n", 7, MSG_NOSIGNAL, NULL, 0) = 7
write(13, "\1\0\0\0\0\0\0\0", 8) = 8
eventfd2(0, EFD_CLOEXEC|
write(12, "\1\0\0\0\0\0\0\0", 8) = 8
write(13, "\1\0\0\0\0\0\0\0", 8) = 8
poll([{fd=12, events=POLLIN}], 1, 25000) = 1 ([{fd=12, revents=POLLIN}])
read(12, "\1\0\0\0\0\0\0\0", 16) = 8
poll([{fd=12, events=POLLIN}], 1, 25000) = 0 (Timeout)
write(12, "\1\0\0\0\0\0\0\0", 8) = 8
futex(0x56295f4
close(12) = 0
write(13, "\1\0\0\0\0\0\0\0", 8) = 8
futex(0x7f252fc
futex(0x7f252fc
statfs(
futex(0x7f252fc
futex(0x7f252fc
inotify_
fcntl(12, F_GETFL) = 0 (flags O_RDONLY)
fcntl(12, F_SETFL, O_RDONLY|
I've tried to find what fd 12 is and it seems to be this:
$ cat strace.log | grep -e Timeout -e open | grep -e 12 -e Timeout
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 12
openat(AT_FDCWD, "/lib/x86_
openat(AT_FDCWD, "/usr/lib/
poll([{fd=12, events=POLLIN}], 1, 25000) = 0 (Timeout)
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=7, events=POLLIN}], 3, 0) = 0 (Timeout)
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=7, events=POLLIN}], 3, 0) = 0 (Timeout)
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=7, events=POLLIN}], 3, 0) = 0 (Timeout)
So maybe libgiognomeprox
127.0.0.1 localhost
127.0.1.1 desktop
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
This is how I installed ubuntu:
1. iso 20.04.1 amd64 on usb stick, tried bot SSD and normal hard drive
2. install ubntu in english
3. English (US), English (US)
4. Normal installation, Download updates, Install third party sw
5. Erase disk and install Ubuntu, Advanced features: Use LVM, Encrypt
6. 2x same password
7. Choose Bratislava location
8. Your Name: desktop
Computer name: desktop
username: desktop
2x password
Log in automatically
9. Wait for install to finish, restart, install updates, restart
10. Alt+F2 gnome terminal, sudo apt-get install gmrun
11. gmrun - it takes 20s to appear
Not a bug in Launchpad itself. Moving it to Ubuntu.