[Bug 1144361] New: LibreOffice slow start due to FTP access failure
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1144361
Bug ID: 1144361
Summary: LibreOffice slow start due to FTP access failure
Classification: openSUSE
Product: openSUSE Tumbleweed
Version: Current
Hardware: x86-64
OS: openSUSE Factory
Status: NEW
Severity: Major
Priority: P5 - None
Component: LibreOffice
Assignee: bnc-team-screening@forge.provo.novell.com
Reporter: luiz.linux@gmail.com
QA Contact: qa-bugs@suse.de
Found By: ---
Blocker: ---
I have noticed that LibreOffice takes a long time to start on my machine and
decided to strace it to see what was causing the slowness. It turns out that
LibreOffice is making six attempts at resolving the address
ftp://ftp.libreoffice.org prior to actually starting up.
I actually confirmed this by tcpdumping at port 53.
Because I was unable to resolve ftp.libreoffice.org into an IP address all six
attempts timed-out, leading to a slowdown of about 16s to fully start.
After I added ftp.libreoffice.org as an alias to 127.0.0.1 to /etc/hosts, the
startup time dropped to about 5s.
At first I thought it was a problem with my DNS, but further searching I found
out that the URL ftp.libreoffice.org is not valid.
I tried finding where in LibreOffice configurations this was sat, to no avail.
I believe this is a bug and since the URL ftp.libreoffice.org is not resolving
world-wide I think this issue is affecting a lot of people.
Additional informations:
========================
T430:~ # cat /etc/*ease
LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64"
NAME="openSUSE Tumbleweed"
# VERSION="20190730"
ID="opensuse-tumbleweed"
ID_LIKE="opensuse suse"
VERSION_ID="20190730"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:tumbleweed:20190730"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
LOGO="distributor-logo"
T430:~ #
T430:~ # rpm -qa | grep libreoffice
libreoffice-mailmerge-6.2.5.2-1.1.x86_64
libreoffice-base-6.2.5.2-1.1.x86_64
libreoffice-l10n-en-6.2.5.2-1.1.noarch
libreoffice-pyuno-6.2.5.2-1.1.x86_64
libreoffice-gnome-6.2.5.2-1.1.x86_64
libreoffice-l10n-pt_BR-6.2.5.2-1.1.noarch
libreoffice-base-drivers-firebird-6.2.5.2-1.1.x86_64
libreoffice-draw-6.2.5.2-1.1.x86_64
libreoffice-filters-optional-6.2.5.2-1.1.x86_64
libreoffice-icon-themes-6.2.5.2-1.1.noarch
libreoffice-writer-6.2.5.2-1.1.x86_64
libreoffice-branding-upstream-6.2.5.2-1.1.noarch
libreoffice-math-6.2.5.2-1.1.x86_64
libreoffice-share-linker-1-5.1.noarch
libreoffice-qt5-6.2.5.2-1.1.x86_64
libreoffice-impress-6.2.5.2-1.1.x86_64
libreoffice-calc-6.2.5.2-1.1.x86_64
libreoffice-gtk3-6.2.5.2-1.1.x86_64
libreoffice-6.2.5.2-1.1.x86_64
T430:~ #
T430:~ # time strace -f /usr/lib64/libreoffice/program/soffice.bin --calc 2>&1
| grep ftp
[pid 1803] sendmsg(13, {msg_name=NULL, msg_namelen=0,
msg_iov=[{iov_base="l\1\0\1\36\0\0\0\16\0\0\0w\0\0\0\1\1o\0\23\0\0\0/modules"...,
iov_len=136}, {iov_base="\31\0\0\0ftp://ftp.libreoffice.org\0", iov_len=30}],
msg_iovlen=2, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 166
[pid 1803] sendmsg(13, {msg_name=NULL, msg_namelen=0,
msg_iov=[{iov_base="l\1\0\1\36\0\0\0\23\0\0\0w\0\0\0\1\1o\0\23\0\0\0/modules"...,
iov_len=136}, {iov_base="\31\0\0\0ftp://ftp.libreoffice.org\0", iov_len=30}],
msg_iovlen=2, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL
server 8.8.8.8 Default server: 8.8.8.8 Address: 8.8.8.8#53 ftp.libreoffice.org ;; connection timed out; no servers could be reached exit
T430:~ # -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1144361
http://bugzilla.suse.com/show_bug.cgi?id=1144361#c1
--- Comment #1 from Luiz Fernando Silva
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1144361
http://bugzilla.suse.com/show_bug.cgi?id=1144361#c2
--- Comment #2 from Luiz Fernando Silva
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1144361
http://bugzilla.suse.com/show_bug.cgi?id=1144361#c3
--- Comment #3 from Luiz Fernando Silva
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1144361
Alynx Zhou
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1144361
http://bugzilla.suse.com/show_bug.cgi?id=1144361#c4
Tomáš Chvátal
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1144361
http://bugzilla.suse.com/show_bug.cgi?id=1144361#c5
--- Comment #5 from Luiz Fernando Silva
Lets see first if upstream provides something workable as it is not something we introduced in our pacakge.
Upstream had me build LibreOffice from git clone and the problem did not manifest. At least, it seams that it'll be ok on future LibreOffice 6.4.0. However, if we look at kf5access.cxx from git it still refers to the missing URL (ftp.libreoffice.org) so if this is still "wrong" in the git repo and the bug doesn't manifest it self, could we investigate if this bug is not related to openSuse's build? -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1144361
http://bugzilla.suse.com/show_bug.cgi?id=1144361#c6
--- Comment #6 from Luiz Fernando Silva
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1144361
Kristyna Streitova
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1144361
https://bugzilla.suse.com/show_bug.cgi?id=1144361#c8
--- Comment #8 from Mark��ta Machov��
(In reply to Tom���� Chv��tal from comment #4)
Lets see first if upstream provides something workable as it is not something we introduced in our pacakge.
Upstream had me build LibreOffice from git clone and the problem did not manifest. At least, it seams that it'll be ok on future LibreOffice 6.4.0.
Is it indeed fixed in 6.4.0 (or newer)? Could you please try? -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1144361
https://bugzilla.suse.com/show_bug.cgi?id=1144361#c9
Mark�ta Machov�
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com