6.1.0.3 writer crashes when trying to insert more fields

Bug #1789202 reported by Olivier Tilloy
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libreoffice (Debian)
Fix Released
Unknown
libreoffice (Ubuntu)
Fix Released
High
Olivier Tilloy

Bug Description

I'm testing libreoffice 6.1.0.3 on cosmic from ppa:osomon/lo-test.

I have encountered the following regression, which I can reliably reproduce:

 1) Launch libreoffice writer
 2) Click on the "Insert" menu, then "Field" > "More Fields…"

Expected result: a dialog to select the type and contents of the field is presented
Current result: libreoffice crashes instantly

This is the relevant backtrace:

Thread 1 (Thread 0x7f82cbcead00 (LWP 4352)):
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007f82d819c535 in __GI_abort () at abort.c:79
#2 0x00007f82d95b8a52 in SalUserEventList::DispatchUserEvents (
    this=0x55b01ede08b0, bHandleAllCurrentEvents=<optimized out>)
    at ./vcl/source/app/salusereventlist.cxx:115
#3 0x00007f82ca93b629 in call_userEventFn ()
    at ./vcl/unx/gtk3/gtk3gtkdata.cxx:784
#4 0x00007f82d6bbca78 in g_main_context_dispatch ()
   from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007f82d6bbce68 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6 0x00007f82d6bbcefc in g_main_context_iteration ()
   from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7 0x00007f82ca93c923 in GtkSalData::Yield(bool, bool) ()
    at ./vcl/unx/gtk3/gtk3gtkdata.cxx:459
#8 0x00007f82db20639e in ImplYield (i_bAllEvents=false, i_bWait=true)
    at ./vcl/source/app/svapp.cxx:470
#9 Application::Yield () at ./vcl/source/app/svapp.cxx:535
#10 0x00007f82db207b15 in Application::Execute() ()
    at ./vcl/source/app/svapp.cxx:450
#11 0x00007f82da2d2e56 in desktop::Desktop::Main() ()
    at ./desktop/source/app/app.cxx:1634
#12 0x00007f82db20cc06 in ImplSVMain() () at ./vcl/source/app/svmain.cxx:200
#13 0x00007f82db20cd00 in SVMain () at ./vcl/source/app/svmain.cxx:238
#14 0x00007f82da2ef451 in soffice_main ()
    at ./desktop/source/app/sofficemain.cxx:170
#15 0x000055b01d0bb07b in sal_main () at ./desktop/source/app/main.c:48
#16 main (argc=<optimized out>, argv=<optimized out>)
    at ./desktop/source/app/main.c:47

Revision history for this message
Olivier Tilloy (osomon) wrote :

This is not gtk3-specific. I uninstalled libreoffice-gtk3, installed libreoffice-gtk2 instead, and the crash still occurs.

Revision history for this message
Olivier Tilloy (osomon) wrote :

I cannot reproduce the crash with the debs for libreoffice 6.1 distributed on libreoffice.org, so this appears to be specific to the ubuntu packages.

Revision history for this message
Olivier Tilloy (osomon) wrote :

Also note that inserting specific types of fields from the menu directly works. What appears to crash is the creation/showing of the fields dialog.

Olivier Tilloy (osomon)
summary: - 6.1.0.3 writer crashes when trying to insert a field
+ 6.1.0.3 writer crashes when trying to insert more fields
Revision history for this message
Olivier Tilloy (osomon) wrote :

Installing libreoffice-base-drivers fixes the issue.

The "More Fields" dialog now opens with the last tab selected by default ("Database").

Revision history for this message
Olivier Tilloy (osomon) wrote :

Specifically, from libreoffice-base-drivers, libdbahsqllo.so is the one library required by the fields dialog (copying over just that one file makes the crash go away).

Revision history for this message
Olivier Tilloy (osomon) wrote :

In the upstream package, that file is installed by libobasis6.1-core, that's a strong dependency of all the other application packages, which explains why the issue cannot be observed there.

Revision history for this message
Olivier Tilloy (osomon) wrote :
Changed in libreoffice (Debian):
status: Unknown → Fix Committed
Changed in libreoffice (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Olivier Tilloy (osomon) wrote :
Changed in libreoffice (Ubuntu):
assignee: nobody → Olivier Tilloy (osomon)
Olivier Tilloy (osomon)
Changed in libreoffice (Ubuntu):
status: Triaged → In Progress
Changed in libreoffice (Debian):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libreoffice - 1:6.1.0-0ubuntu2

---------------
libreoffice (1:6.1.0-0ubuntu2) cosmic; urgency=medium

  [ Olivier Tilloy ]
  * debian/tests/control: do not depend on libreoffice-sdbc-firebird on s390x
    (LP: #1790165)

  [ Rene Engelhard ]
  * debian/rules: move libdbahsqllo.so from -base-drivers to -base-core
    (closes: #907397) (LP: #1789202)
  * debian/control.in: add Replaces: for above

 -- Olivier Tilloy <email address hidden> Fri, 31 Aug 2018 17:55:52 +0200

Changed in libreoffice (Ubuntu):
status: In Progress → Fix Released
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.