[Bug 1704893] Re: Writer closes when finished loading without error
Reading back through this thread just now makes me realize that I may have conflated two different bugs. My initial report was that Writer alone was not working, now I can't get any part of LibreOffice working. Some internet searching suggests my current bug was reported elsewhere: * https://askubuntu.com/q/1212480/396228 * https://bugs.archlinux.org/task/61701 - This one was resolved by deleting ~/.config/libreoffice The Ask Ubuntu question indicates that it may have to do with AppArmor. Here's dmesg output after running soffice --version [98292.382412] audit: type=1400 audit(1585057205.348:220): apparmor="ALLOWED" operation="open" info="Failed name lookup - disconnected path" error=-13 profile="libreoffice-soffice" name="upper/usr/lib/libreoffice/program/services" pid=15308 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=999 ouid=0 [98292.387909] audit: type=1400 audit(1585057205.352:221): apparmor="ALLOWED" operation="open" info="Failed name lookup - disconnected path" error=-13 profile="libreoffice-soffice" name="usr/share/drirc.d" pid=15309 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=999 ouid=0 [98292.389480] audit: type=1400 audit(1585057205.356:222): apparmor="ALLOWED" operation="open" info="Failed name lookup - disconnected path" error=-13 profile="libreoffice-soffice" name="usr/share/drirc.d" pid=15309 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=999 ouid=0 [98292.396759] audit: type=1400 audit(1585057205.360:223): apparmor="ALLOWED" operation="open" info="Failed name lookup - disconnected path" error=-13 profile="libreoffice-soffice" name="usr/share/drirc.d" pid=15309 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=999 ouid=0 [98292.396768] audit: type=1400 audit(1585057205.360:224): apparmor="ALLOWED" operation="open" info="Failed name lookup - disconnected path" error=-13 profile="libreoffice-soffice" name="usr/share/drirc.d" pid=15309 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=999 ouid=0 [98292.403985] audit: type=1400 audit(1585057205.368:225): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/home/lubuntu/.cache/mesa_shader_cache/index" pid=15309 comm="soffice.bin" requested_mask="wrc" denied_mask="wrc" fsuid=999 ouid=999 [98292.407321] audit: type=1400 audit(1585057205.372:226): apparmor="ALLOWED" operation="open" info="Failed name lookup - disconnected path" error=-13 profile="libreoffice-soffice" name="usr/share/drirc.d" pid=15309 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=999 ouid=0 $ strace soffice --version execve("/usr/bin/soffice", ["soffice", "--version"], 0x7ffe4bddfd48 /* 58 vars */) = 0 brk(NULL) = 0x5576089d2000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=92180, ...}) = 0 mmap(NULL, 92180, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7eff60264000 close(3)= 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\34\2\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=2030544, ...}) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7eff60262000 mmap(NULL, 4131552, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff5fc63000 mprotect(0x7eff5fe4a000, 2097152, PROT_NONE) = 0 mmap(0x7eff6004a000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e7000) = 0x7eff6004a000 mmap(0x7eff6005, 15072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7eff6005 close(3)= 0 arch_prctl(ARCH_SET_FS, 0x7eff60263540) = 0 mprotect(0x7eff6004a000, 16384, PROT_READ) = 0 mprotect(0x557607d9b000, 8192, PROT_READ) = 0 mprotect(0x7eff6027b000, 4096, PROT_READ) = 0 munmap(0x7eff60264000, 92180) = 0 getuid()= 999 getgid()= 999 getpid()= 15124 rt_sigaction(SIGCHLD, {sa_handler=0x557607b92200, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7eff5fca1f20}, NULL, 8) = 0 geteuid() = 999 brk(NULL) = 0x5576089d2000 brk(0x5576089f3000) = 0x5576089f3000 getppid() = 15122 stat("/home/lubuntu/Downloads", {st_mode=S_IFDIR|0755, st_size=100, ...}) = 0 stat(".", {st_mode=S_IFDIR|0755, st_size=100, ...}) = 0 openat(AT_FDCWD, "/usr/bin/soffice", O_RDONLY) = 3 fcntl(3, F_DUPFD, 10) = 10 close(3)= 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 geteuid()
[Bug 1704893] Re: Writer closes when finished loading without error
I have the same results after upgrading via the libroffice ppa $ apt show libreoffice-calc |grep -i Version Version: 1:6.3.5~rc2-0ubuntu0.18.04.1~lo1 $ unopkg --version unopkg Version 3.3 $ libreoffice --version terminate called after throwing an instance of 'com::sun::star::uno::DeploymentException' $ libreoffice --help terminate called after throwing an instance of 'com::sun::star::uno::DeploymentException' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1704893 Title: Writer closes when finished loading without error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1704893/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1704893] Re: Writer closes when finished loading without error
The attached file is the result of running this command: $ rm -Rf ~/.config/libreoffice; libreoffice --calc --backtrace; rm -Rf ~/.config/libreoffice; libreoffice --help --backtrace $ libreoffice --help results in this output: terminate called after throwing an instance of 'com::sun::star::uno::DeploymentException' $ libreoffice --calc results in this output: I18N: Operating system doesn't support locale "" I18N: Operating system doesn't support locale "en_US" Fatal exception: Signal 11 Stack: /usr/lib/libreoffice/program/libuno_sal.so.3(+0x13568)[0x7f85d1385568] /usr/lib/libreoffice/program/libuno_sal.so.3(+0x3c5d6)[0x7f85d13ae5d6] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7f85d0fbff20] /usr/lib/libreoffice/program/libuno_cppu.so.3(uno_type_any_assign+0x705)[0x7f85ca666dc5] /usr/lib/libreoffice/program/libmergedlo.so(+0x2948148)[0x7f85d3f14148] /usr/lib/libreoffice/program/libmergedlo.so(+0x2948eea)[0x7f85d3f14eea] /usr/lib/libreoffice/program/libmergedlo.so(_ZN3utl10ConfigItemC2ERKN3rtl8OUStringE14ConfigItemMode+0xcb)[0x7f85d3f0947b] /usr/lib/libreoffice/program/libmergedlo.so(+0x29a1d95)[0x7f85d3f6dd95] /usr/lib/libreoffice/program/libmergedlo.so(_ZN19SvtSysLocaleOptionsC1Ev+0x125)[0x7f85d3f6f345] /usr/lib/libreoffice/program/libmergedlo.so(_Z7InitVCLv+0x1a0)[0x7f85d42bba00] /usr/lib/libreoffice/program/libmergedlo.so(+0x2cf11dd)[0x7f85d42bd1dd] /usr/lib/libreoffice/program/libmergedlo.so(_Z6SVMainv+0x30)[0x7f85d42bd240] /usr/lib/libreoffice/program/libmergedlo.so(soffice_main+0x115)[0x7f85d3301fe5] /usr/lib/libreoffice/program/soffice.bin(+0x78b)[0x560ecfdc278b] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f85d0fa2b97] /usr/lib/libreoffice/program/soffice.bin(+0x7ca)[0x560ecfdc27ca] ## Environment Info $ apt show libreoffice-calc |grep -i Version Version: 1:6.0.7-0ubuntu0.18.04.10 $ lsb_release -d Description:Ubuntu 18.04.3 LTS $ java --version openjdk 11.0.6 2020-01-14 OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1) OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed mode, sharing) ** Attachment added: "gdbtrace.log" https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1704893/+attachment/5340700/+files/gdbtrace.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1704893 Title: Writer closes when finished loading without error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1704893/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1704893] Re: Writer closes when finished loading without error
@Sondra: can you please try the following? From a terminal, run `libreoffice --writer --backtrace`. Once the crash happens, you should see a (gdb) prompt, please type "t a a bt" and share the output here. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1704893 Title: Writer closes when finished loading without error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1704893/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1704893] Re: Writer closes when finished loading without error
** Changed in: libreoffice (Ubuntu) Status: Expired => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1704893 Title: Writer closes when finished loading without error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1704893/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1704893] Re: Writer closes when finished loading without error
@Olivier Tilloy: I continue to experience this problem on various systems. It's been a while since I tested with fresh installations, and I _was_ preserving various ~/.config files between those. I did not, however, preserve anything in ~/.config/libreoffice, and removing this directory has no effect. The gtk theme warnings show up for virtually all GTK apps and have to do with obsolete features of the GTK theme. They don't cause problems for any other app and I don't think they're the problem since I just crashed LibreOffice again using this command: GTK_THEME=adwaita libreoffice testfile.docx with LibreOffice 5.4.6.2 40m0(Build:2) on Lubuntu 17.10. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1704893 Title: Writer closes when finished loading without error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1704893/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1704893] Re: Writer closes when finished loading without error
[Expired for libreoffice (Ubuntu) because there has been no activity for 60 days.] ** Changed in: libreoffice (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1704893 Title: Writer closes when finished loading without error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1704893/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1704893] Re: Writer closes when finished loading without error
@Sondra: is this problem still happening? Or have you managed to get libreoffice writer to start? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1704893 Title: Writer closes when finished loading without error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1704893/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1704893] Re: Writer closes when finished loading without error
The JournalErrors.txt above have lot of "xfce4-notifyd[6564]: Theme parsing error: gtk-widgets.css" is it still happening ? When you said 'fresh install' does that mean you are not reusing a shared old /home which can contain old borked settings ? Have you added external sources / custom settings ? Note that no one else have met that issue on launchpad; so something is unusual on your installion. ** Changed in: libreoffice (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1704893 Title: Writer closes when finished loading without error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1704893/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1704893] Re: Writer closes when finished loading without error
I can reproduce this bug on Ubuntu 16.04.3 LTS and libreoffice-writer 1:5.1.6~rc2-0ubuntu1~xenial2. Ubuntu 16.04.3 doesn't reach end of life until April 2021 https://wiki.ubuntu.com/Releases https://www.ubuntu.com/info/release-end-of-life ** Changed in: libreoffice (Ubuntu) Status: Invalid => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1704893 Title: Writer closes when finished loading without error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1704893/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1704893] Re: Writer closes when finished loading without error
That version is now dead http://news.softpedia.com/news/ubuntu-17-04-zesty-zapus-has-reached-end-of-life-upgrade-to-ubuntu-17-10-now-519360.shtml ** Changed in: libreoffice (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1704893 Title: Writer closes when finished loading without error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1704893/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs