[SOLVED] libreoffice (var. versions under v.7.x) on arm64, terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException' \ Fatal exception: Signal 6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libreoffice (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi there,
I've had the recurring problem on multiple 64-bit Ubuntu installations on multiple Raspberry Pi 4B's [aarch64/arm64] where libreoffice crashes on startup -- this seems to be a persistent bug, as it has happened to me on 20.04 LTS (arm64) as well as more recently on 20.10 groovy (arm64), whether I've used the official APT packages or the LibreOffice Launchpad PPA's.
I've tried looking around for the bug and for example, deleted the existing user config etc. -- to no avail.
As for the window manager, I'm running on Xubuntu (Xfce/Xfwm4) and with the latest available upstream kernel (5.8.0.1020-raspi), although LibreOffice crashing on startup has been a persisting problem on my RPi4B Ubuntu installations for quite some time now, probably around a half a year or so. Every now and then, as the apt packages get updated, LibreOffice actually works (!), so that's kind of odd.
Here's the error message I get (same crash applies for all other libreoffice executables that I've tried):
$ libreoffice
terminate called after throwing an instance of 'com::sun:
Fatal exception: Signal 6
Stack:
/usr/lib/
/usr/lib/
linux-vdso.
/lib/aarch64-
/lib/aarch64-
/lib/aarch64-
/lib/aarch64-
/lib/aarch64-
/lib/aarch64-
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/lib/aarch64-
/usr/lib/
________
As for troubleshooting, I've been following i.e. these instructions for suggestions on how to try fixing the install [from: https:/
1. Made sure I don't have any existing OpenOffice packages installed (ran 'dpkg -l | grep openoffice').
2. Deleted the entire configuration directory ("libreoffice/") under "~/.config/".
3. I still can't even run 'libreoffice --help' without getting the same error message as otherwise (although with 'libreoffice --help' it's much shorter):
terminate called after throwing an instance of 'com::sun:
________
As of now, these are the packages for LibreOffice that I have installed ('dpkg -l | grep libreoffice'):
ii liblibreoffice-java 1:7.0.3-
ii libreoffice 1:7.0.3-
rc libreoffice-
ii libreoffice-base 1:7.0.3-
ii libreoffice-
ii libreoffice-
ii libreoffice-calc 1:7.0.3-
ii libreoffice-common 1:7.0.3-
ii libreoffice-core 1:7.0.3-
rc libreoffice-dev 1:7.0.3-
rc libreoffice-
ii libreoffice-draw 1:7.0.3-
ii libreoffice-gnome 1:7.0.3-
ii libreoffice-gtk3 1:7.0.3-
ii libreoffice-impress 1:7.0.3-
ii libreoffice-
ii libreoffice-math 1:7.0.3-
ii libreoffice-
rc libreoffice-qt5 1:7.0.3-
ii libreoffice-
ii libreoffice-
ii libreoffice-
ii libreoffice-
ii libreoffice-
ii libreoffice-
ii libreoffice-
ii libreoffice-
ii libreoffice-
ii libreoffice-
rc libreoffice-
ii libreoffice-
ii libreoffice-
ii libreoffice-writer 1:7.0.3-
________
I've found references to this error message online i.e. at:
1. https:/
... where the bug report has been closed due to "insufficient data", after lingering around since at least 2014, and affecting i386/amd64 builds as well.
2. Way more in-depth talk on ArchLinux forums on this: https:/
I do have the libgtk2.0 libraries installed, so that doesn't apply as a workaround either -- I've also tried removing libreoffice-related apt packages altogether ('sudo apt-get remove libreoffice*') and reinstalling, that hasn't helped out either.
The runtime exception seems to be related to the UNO API, as described in LibreOffice's documentation:
https:/
All help to resolve this is kindly appreciated!
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
I've tried compiling from latest Git source of LibreOffice as to their instructions; everything else seems to compile pretty much OK, but alas; the same 'com::sun: :star:: uno::Sequence' is there to haunt during the compile -- it registers as a "warning" rather than an "error", so that's why it's probably passed on to pre-compiled binaries.
Details during 'make -j4':
________________
[CXX] codemaker/ source/ codemaker/ exceptiontree. cxx builds/ core/instdir/ sdk/include/ rtl/uri. h:65: warning: unexpected command endverbatim builds/ core/instdir/ sdk/include/ rtl/uri. h:76: warning: unexpected command endverbatim builds/ core/instdir/ sdk/include/ rtl/uri. h:86: warning: unexpected command endverbatim builds/ core/instdir/ sdk/include/ rtl/uri. h:96: warning: unexpected command endverbatim builds/ core/instdir/ sdk/include/ rtl/uri. h:106: warning: unexpected command endverbatim builds/ core/instdir/ sdk/include/ rtl/uri. h:116: warning: unexpected command endverbatim builds/ core/instdir/ sdk/include/ rtl/uri. h:124: warning: unexpected command endverbatim MAX_NODES. MAX_NODES. :star:: uno::Sequence< E >' could not be resolved
/home/ubuntu/
/home/ubuntu/
/home/ubuntu/
/home/ubuntu/
/home/ubuntu/
/home/ubuntu/
/home/ubuntu/
warning: Included by graph for 'config.h' not generated, too many nodes (81), threshold is 50. Consider increasing DOT_GRAPH_
warning: Included by graph for 'types.h' not generated, too many nodes (52), threshold is 50. Consider increasing DOT_GRAPH_
a00518:146: warning: explicit link request to 'com::sun:
a00518:267: warning: unexpected token TK_COMMAND_BS as the argument of _internalref
________________
There is a LibreOffice Q&A page that might have to do something with this subject matter: https:/ /ask.libreoffic e.org/en/ question/ 189887/ uno-hanging- or-libreoffice- crashing/
Then again, there's multiple bug reports that are open here on Launchpad considering UNO+LibreOffice. Perhaps this needs a closer look?