[snap] libreoffice 6.1.3.2 crashes on startup on Ubuntu 18.04

Bug #1806913 reported by RALOVICH, Kristóf
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libreoffice (Ubuntu)
New
Undecided
Unassigned

Bug Description

$ lsb_release -a
LSB Version: core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic

$ snap info libreoffice
name: libreoffice
summary: LibreOffice is a powerful office suite including word processing and creation of spreadsheets,
  slideshows and databases
publisher: Canonical✓
contact: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bugs?field.tag=snap
license: unset
description: |
  LibreOffice is a powerful office suite – its clean interface and feature-rich tools help you
  unleash your creativity and enhance your productivity. LibreOffice includes several applications
  that make it the most powerful Free and Open Source office suite on the market: Writer (word
  processing), Calc (spreadsheets), Impress (presentations), Draw (vector graphics and flowcharts),
  Base (databases), and Math (formula editing).
commands:
  - libreoffice.base
  - libreoffice.calc
  - libreoffice.draw
  - libreoffice.filebug
  - libreoffice.impress
  - libreoffice
  - libreoffice.math
  - libreoffice.writer
snap-id: CpUkI0qPIIBVRsjy49adNq4D6Ra72y4v
tracking: stable
refresh-date: 22 days ago, at 13:20 CET
channels:
  stable: 6.1.3.2 (90) 507MB - <
  candidate: 6.1.3.2 (95) 499MB -
  beta: ↑
  edge: ↑
installed: 6.1.3.2 (90) 507MB -

$ snap run libreoffice
Fontconfig warning: "/etc/fonts/conf.avail/53-monospace-lcd-filter.conf", line 10: Having multiple values in <test> isn't supported and may not work as expected

(soffice:10375): GLib-GObject-WARNING **: 15:09:09.826: specified class size for type 'IBusIMContext' is smaller than the parent type's 'GtkIMContext' class size
*** Error in `/snap/libreoffice/90/lib/libreoffice/program/soffice.bin': malloc(): memory corruption: 0x0000000002cef640 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f00cd04c7e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8213e)[0x7f00cd05713e]
/lib/x86_64-linux-gnu/libc.so.6(__libc_malloc+0x54)[0x7f00cd059184]
/snap/libreoffice/90/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_malloc+0x19)[0x7f00cb28d2c9]
/snap/libreoffice/90/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_strndup+0x18)[0x7f00cb2a7a98]
/snap/libreoffice/90/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_strsplit+0x95)[0x7f00cb2a9085]
/snap/libreoffice/90/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so(+0x4224)[0x7f00b279f224]
/snap/libreoffice/90/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_type_class_ref+0x6dd)[0x7f00cb58462d]
/snap/libreoffice/90/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new_with_properties+0x2f9)[0x7f00cb56acc9]
/snap/libreoffice/90/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new+0xc1)[0x7f00cb56b6d1]
/snap/libreoffice/90/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so(ibus_im_context_new+0x12)[0x7f00b279fd72]
/snap/libreoffice/90/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x11ae6e)[0x7f00bbf1be6e]
/snap/libreoffice/90/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x11b7c9)[0x7f00bbf1c7c9]
/snap/libreoffice/90/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x11ba05)[0x7f00bbf1ca05]
/snap/libreoffice/90/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0xc2057)[0x7f00bbec3057]
/snap/libreoffice/90/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x145)[0x7f00cb563cd5]
/snap/libreoffice/90/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x22065)[0x7f00cb576065]
/snap/libreoffice/90/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xfc0)[0x7f00cb57f160]
/snap/libreoffice/90/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x8f)[0x7f00cb57f49f]
/snap/libreoffice/90/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_widget_realize+0xd4)[0x7f00bc051bc4]
/snap/libreoffice/90/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_widget_set_parent+0x258)[0x7f00bc052ed8]
/snap/libreoffice/90/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_fixed_put+0xb3)[0x7f00bbef1a73]
/snap/libreoffice/90/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x145)[0x7f00cb563cd5]
/snap/libreoffice/90/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x22065)[0x7f00cb576065]
/snap/libreoffice/90/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xfc0)[0x7f00cb57f160]
/snap/libreoffice/90/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x8f)[0x7f00cb57f49f]
/snap/libreoffice/90/lib/libreoffice/program/libvclplug_gtklo.so(+0x709d5)[0x7f00bc4bc9d5]
/snap/libreoffice/90/lib/libreoffice/program/libvclplug_gtklo.so(+0x70f0b)[0x7f00bc4bcf0b]
/snap/libreoffice/90/lib/libreoffice/program/libvclplug_gtklo.so(+0x6f081)[0x7f00bc4bb081]
/snap/libreoffice/90/lib/libreoffice/program/libvclplug_gtklo.so(+0x81cc2)[0x7f00bc4cdcc2]
/snap/libreoffice/90/lib/libreoffice/program/libmergedlo.so(+0x3801bbf)[0x7f00d0e1fbbf]
/snap/libreoffice/90/lib/libreoffice/program/libmergedlo.so(+0x3957526)[0x7f00d0f75526]
/snap/libreoffice/90/lib/libreoffice/program/libmergedlo.so(+0x38195a1)[0x7f00d0e375a1]
/snap/libreoffice/90/lib/libreoffice/program/libmergedlo.so(+0x38198cc)[0x7f00d0e378cc]
/snap/libreoffice/90/lib/libreoffice/program/libmergedlo.so(+0x3977ca8)[0x7f00d0f95ca8]
/snap/libreoffice/90/lib/libreoffice/program/libmergedlo.so(+0x3976478)[0x7f00d0f94478]
/snap/libreoffice/90/lib/libreoffice/program/libmergedlo.so(_ZN10WorkWindowC1EPN3vcl6WindowEl+0xb3)[0x7f00d0f94a45]
/snap/libreoffice/90/lib/libreoffice/program/libmergedlo.so(+0x34c1d3a)[0x7f00d0adfd3a]
/snap/libreoffice/90/lib/libreoffice/program/libmergedlo.so(+0x34b8a8e)[0x7f00d0ad6a8e]
/snap/libreoffice/90/lib/libreoffice/program/libmergedlo.so(+0x34b9ac5)[0x7f00d0ad7ac5]
/snap/libreoffice/90/lib/libreoffice/program/libmergedlo.so(+0x34b5da4)[0x7f00d0ad3da4]
/snap/libreoffice/90/lib/libreoffice/program/libmergedlo.so(+0x1f18c31)[0x7f00cf536c31]
/snap/libreoffice/90/lib/libreoffice/program/libmergedlo.so(+0x1f184f2)[0x7f00cf5364f2]
/snap/libreoffice/90/lib/libreoffice/program/libmergedlo.so(+0x1e52fac)[0x7f00cf470fac]
/snap/libreoffice/90/lib/libreoffice/program/libmergedlo.so(+0x1eebe37)[0x7f00cf509e37]
/snap/libreoffice/90/lib/libreoffice/program/libmergedlo.so(+0x2722910)[0x7f00cfd40910]
/snap/libreoffice/90/lib/libreoffice/program/libmergedlo.so(+0x271d6c8)[0x7f00cfd3b6c8]
/snap/libreoffice/90/lib/libreoffice/program/libmergedlo.so(+0x3cedb5a)[0x7f00d130bb5a]
/snap/libreoffice/90/lib/libreoffice/program/libmergedlo.so(_Z6SVMainv+0x4d)[0x7f00d130bcc3]
/snap/libreoffice/90/lib/libreoffice/program/libmergedlo.so(soffice_main+0x13f)[0x7f00cfd5edcf]
/snap/libreoffice/90/lib/libreoffice/program/soffice.bin[0x400815]
/snap/libreoffice/90/lib/libreoffice/program/soffice.bin[0x4007fb]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f00ccff5830]
/snap/libreoffice/90/lib/libreoffice/program/soffice.bin[0x400709]

Tags: snap
description: updated
Olivier Tilloy (osomon)
tags: added: snap
summary: - [snap] libreoffice 61.3.2 crashes on startup on Ubuntu 18.04
+ [snap] libreoffice 6.1.3.2 crashes on startup on Ubuntu 18.04
Revision history for this message
Olivier Tilloy (osomon) wrote :

This looks similar to https://github.com/ubuntu/snapcraft-desktop-helpers/issues/152, but I cannot observe the problem in a clean and up-to-date 18.04 VM, even when using ibus (with ibus-pinyin).

Kristóf, can you describe your input method setup so I can try and reproduce the crash?

Does the crash happen if you run the libreoffice snap with GTK_IM_MODULE unset? I.e.:

    GTK_IM_MODULE= snap run libreoffice

Changed in libreoffice (Ubuntu):
status: New → Incomplete
Revision history for this message
RALOVICH, Kristóf (kristof-ralovich) wrote :

https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1806913/comments/1

it does not change anything for me to run it like

GTK_IM_MODULE= snap run libreoffice

How would you like me to describe my input method? I use LXDE. I think it does not start ibus-daemon by default. However starting it manually, the same crash happens with and without the environment variable set as you asked for.

Olivier Tilloy (osomon)
Changed in libreoffice (Ubuntu):
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.