[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#839701: libreoffice-gnome: internal crash from native print dialog (Gnome/GTK)



Package: libreoffice-gnome
Version: 1:5.2.2~rc2-2
Severity: normal

Because of bug#795929 (upstream #53029), libreoffice can't print to
password-protected printers.

The suggested workaround is to "Enable experimental features"
(Tools-Options-LibreOffice-Advanced) and deactivate LibreOffice
Print Dialog Boxes (-LibreOffice-General), so that the native print
dialog is used.

But this workaround fails, at least on Gnome 3.22.  The Gnome/GTK
print dialog box is used, but when I click on "Print", it crashes
LibreOffice.  LibreOffice immediately recovers via "Document Recovery"
but never completes the print job.

Error messages are sent to stderr when the crash happens, indicating a
problem with pointers:

(soffice:14402): GLib-GObject-CRITICAL **: g_object_new_valist: invalid unclassed object pointer for value type 'GtkPrinter'

(soffice:14402): Gtk-CRITICAL **: gtk_printer_get_backend: assertion 'GTK_IS_PRINTER (printer)' failed

(soffice:14402): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

The problem seems to happen with any document.

It sounds like this is an upstream bug (and I note that using native
print dialogs is considered an "experimental feature"). But since the
bug is tied up with the Gnome or GTK libraries, I think it's worth
checking if others can reproduce the problem before we report it
upstream.

A workaround for the workaround is to print to PDF. evince is able to
print the pdf file with no problem. I'll leave a note on upstream
#53029.

Drew


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libreoffice-gnome depends on:
ii  dpkg              1.18.10
ii  libc6             2.24-3
ii  libgcc1           1:6.2.0-5
ii  libglib2.0-0      2.50.0-2
ii  libreoffice-core  1:5.2.2~rc2-2
ii  libstdc++6        6.2.0-5
ii  uno-libs3         5.2.2~rc2-2
ii  ure               5.2.2~rc2-2

Versions of packages libreoffice-gnome recommends:
ii  libreoffice-gtk3  1:5.2.2~rc2-2

Versions of packages libreoffice-gnome suggests:
ii  libreoffice-evolution  1:5.2.2~rc2-2

-- no debconf information


Reply to: