In recent weeks, LibreOffice takes about 45 seconds to fully launch. I hadn’t used it in several months, so I don’t know when the problem would have started exactly.
I’m running version 7.4.6.2 on Arch Linux.
By running strace, I was able to determine that LibreOffice is polling the file $HOME/.config/libreoffice/4/user/extensions/bundled/extensions.pmap
and that this poll times out after 25 seconds. This file seems to refer to the two extensions bundled with LibreOffice (Wiki Publisher, Solver for Nonlinear Programming). I’ll include a portion of the strace output at post’s end.
Other things I have tried include:
- renaming the
$HOME/.config/libreoffice/4/user/
directory to force generation of a fresh user profile, - renaming the
extensions.pmap
file, - disconnecting the wifi network,
- uninstalling and reinstalling LibreOffice.
Any ideas? Thanks!
[strace output]
[pid 46013] 17:00:45.986401 futex(0x5559e33c7fa0, FUTEX_WAKE_PRIVATE, 1) = 0 <0.000012>
[pid 46004] 17:00:45.986443 eventfd2(0, EFD_CLOEXEC|EFD_NONBLOCK) = 18 <0.000019>
[pid 46013] 17:00:45.986475 sendmsg(16, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\1\0\1\317\0\0\0\2\0\0\0y\0\0\0\1\1o\0\25\0\0\0/org/fre"..., iov_len=351}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 351 <0.000016>
[pid 46013] 17:00:45.986531 poll([{fd=16, events=POLLIN}, {fd=17, events=POLLIN}], 2, 0 <unfinished ...>
[pid 46004] 17:00:45.986540 poll([{fd=18, events=POLLIN}], 1, 25000 <unfinished ...>
--------8<-----------
[pid 46009] 17:00:46.735861 <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) <1.000278>
[pid 46009] 17:00:46.736171 futex(0x5559e2582860, FUTEX_WAKE_PRIVATE, 1) = 0 <0.000307>
[pid 46009] 17:00:46.736791 mkdir("/home/adam/.config/libreoffice/4/user", 0777) = -1 EEXIST (File exists) <0.000117>
[pid 46009] 17:00:46.737119 getpid() = 46004 <0.000113>
[pid 46009] 17:00:46.737329 openat(AT_FDCWD, "/home/adam/.config/libreoffice/4/user/1PyVo2", O_RDWR|O_CREAT|O_EXCL, 0600) = 20 <0.000195>
[pid 46009] 17:00:46.737576 newfstatat(20, "", {st_mode=S_IFREG|0600, st_size=0, ...}, AT_EMPTY_PATH) = 0 <0.000021>
[pid 46009] 17:00:46.737652 fcntl(20, F_SETLK, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 <0.000033>
[pid 46009] 17:00:46.737853 pread64(20, "", 4096, 0) = 0 <0.000043>
[pid 46009] 17:00:46.737932 pwrite64(20, "<?xml version=\"1.0\" encoding=\"UT"..., 461, 0) = 461 <0.000105>
[pid 46009] 17:00:46.738114 close(20) = 0 <0.000077>
[pid 46009] 17:00:46.738428 newfstatat(AT_FDCWD, "/home/adam/.config/libreoffice/4/user/registrymodifications.xcu", 0x7efcda5b8380, 0) = -1 ENOENT (No such file or directory) <0.000105>
[pid 46009] 17:00:46.738738 rename("/home/adam/.config/libreoffice/4/user/1PyVo2", "/home/adam/.config/libreoffice/4/user/registrymodifications.xcu") = 0 <0.000086>
[pid 46009] 17:00:46.738915 rt_sigprocmask(SIG_BLOCK, ~[RT_1], NULL, 8) = 0 <0.000013>
[pid 46009] 17:00:46.738959 madvise(0x7efcd9dbb000, 8364032, MADV_DONTNEED) = 0 <0.000024>
[pid 46009] 17:00:46.739007 exit(0) = ?
[pid 46009] 17:00:46.739069 +++ exited with 0 +++
[pid 46004] 17:01:11.011879 <... poll resumed>) = 0 (Timeout) <25.025307>
[pid 46004] 17:01:11.012335 write(18, "\1\0\0\0\0\0\0\0", 8) = 8 <0.000239>
[pid 46004] 17:01:11.012891 futex(0x5559e33d4860, FUTEX_WAKE_PRIVATE, 2147483647) = 0 <0.000181>
[pid 46004] 17:01:11.013378 close(18) = 0 <0.000124>