Libreoffice stalls at splash in LUbuntu

hi, i am using lubuntu because i had problems with the normal ubuntu desktop.

somehow i messed up gtk and libreoffice stalls at the splash screen.

i snap remove libreoffice and then snap install. but the behavior persisted. (so LO is up-to-date to 6.2.5.2)

$ /snap/bin/libreoffice


ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (failed to map segment from shared object): ignored.
Gtk-Message: 07:47:30.632: Failed to load module "overlay-scrollbar"
Gtk-Message: 07:47:30.654: Failed to load module "gail"
Gtk-Message: 07:47:30.655: Failed to load module "atk-bridge"

(soffice:4974): GLib-GObject-WARNING **: 07:47:35.024: specified class size for type 'IBusIMContext' is smaller than the parent type's 'GtkIMContext' class size
soffice.bin: malloc.c:2401: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed.

as extra info, right after reboot light-locker crashes too, which may be related.
(i tried How to Fix Broken Packages in Linux - Make Tech Easier but nothing interesting happened)

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.2 LTS
Release:	18.04
Codename:	bionic

$ uname -r
4.15.0-55-generic

thx Opaque.

ok, after (re-) installing the missing libs and rebooting, LO opened and seems to be working normally. :slight_smile:
But for the sake of completeness this is what appeared in the terminal

$ /snap/bin/libreoffice
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (failed to map segment from shared object): ignored.

and when i opened an ods file within LO, this appeared:

(soffice:2729): GLib-GIO-WARNING **: 11:52:59.994: Error creating IO channel for /proc/self/mountinfo: Permission denied (g-file-error-quark, 2)

i am not sure it will help but here it is:

$ snap list
Name                    Version                     Rev   Tracking  Publisher         Notes
canonical-livepatch     9.4.1                       81    stable    canonical✓        -
core                    16-2.39.3                   7270  stable    canonical✓        core
core18                  20190723                    1074  stable    canonical✓        base
foobar2000              1.4.6                       256   stable    mmtrt             -
freeplane-mindmapping   1.7.9                       14    stable    jibel             -
gimp                    2.10.12                     189   stable    snapcrafters      -
gnome-3-28-1804         3.28.0-10-gaa70833.aa70833  67    stable    canonical✓        -
gnome-characters        v3.32.1+git2.3367201        296   stable/…  canonical✓        -
gnome-clocks            3.32.0+git7.8c0bf52         198   stable    canonical✓        -
gnome-logs              3.32.0-4-ge8f3f37ca8        61    stable/…  canonical✓        -
gnome-system-monitor    3.32.1-3-g0ea89b4922        100   stable/…  canonical✓        -
gtk-common-themes       0.1-22-gab0a26b             1313  stable    canonical✓        -
imaginary-teleprompter  2.3.4                       3     stable    imaginarysense    -
ipfs                    v0.4.21                     1170  stable    elopio            -
libreoffice             6.2.5.2                     138   stable    canonical✓        -
links                   2.18                        33    stable    snapcrafters      -
node-games              0+git.de4e610-dirty         1     stable    m4sk1n            -
notes                   0.9.0~gitb6e3b34            4     stable    notes-developers  -
pdfmixtool              0.3.4                       613   stable    scarpetta         -
quadrapassel            3.32.0+git3.1c047df         105   stable    canonical✓        -
quake-toolkit           0.1                         7     stable    beidl             -
skype                   8.34.0.78                   66    stable    skype✓            classic
spotify                 1.1.10.546.ge08ef575-19     36    stable    spotify✓          -
trenchbroom             v2019.5                     92    stable    kristian-duske    -
vlc                     3.0.7                       1049  stable    videolan✓         -
wine-platform-3-stable  3.0.4                       6     stable    mmtrt             -
wine-platform-i386      1.0                         25    stable    mmtrt             -
wine-platform-runtime   v1.0                        23    stable    mmtrt             -

Hello,

first of all fix your issues loading libraries and modules by re-installing the related dpkg packages:

  1. sudo apt install --reinstall gtk3-nocsd
  2. sudo apt install --reinstall overlay-scrollbar
  3. sudo apt install --reinstall libgail-common
  4. sudo apt install --reinstall libatk-adaptor

If that’s done - please post any new error (please use edit to update your original question. Do not post an answer)

Hello
your command /snap/bin/libreoffice looks like you are using LibreOffice from snap and I’m not familiar with snap, since don’t use that, never used it and do not plan to use it. Therefore unortunately I cannot comment on your subsequent errors/warnings.

May be you could provide the output of /usr/bin/snap list

My test system shows:

user@system:> /usr/bin/snap list
Name               Version                     Rev   Tracking  Publisher   Notes
core18             20190709                    1066  stable    canonical*  base
gnome-3-28-1804    3.28.0-10-gaa70833.aa70833  67    stable    canonical*  -
gtk-common-themes  0.1-22-gab0a26b             1313  stable    canonical*  -
libreoffice        6.2.5.2                     138   stable    canonical*  -
snapd              2.39.2                      3646  stable    canonical*  snapd

Updated to your core18 version and still cannot reproduce your subsequent errors.

ok thanks, after all, it is functioning now

For the records (acc. to updated question):

Hello,

fix your issues loading libraries and modules by re-installing the related dpkg packages:

sudo apt install --reinstall gtk3-nocsd
sudo apt install --reinstall overlay-scrollbar
sudo apt install --reinstall libgail-common
sudo apt install --reinstall libatk-adaptor

If the answer is correct or helped you to fix your problem, please click the check mark (:heavy_check_mark:) next to the answer.