Bug 115408 - LibreOffice 6 writer crashes if you try to sent document in KDE
Summary: LibreOffice 6 writer crashes if you try to sent document in KDE
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.0.3 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-02 16:44 UTC by u.fuchs
Modified: 2018-08-21 17:28 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot (59.73 KB, image/png)
2018-02-05 12:37 UTC, u.fuchs
Details
screenshot (66.46 KB, image/png)
2018-02-05 12:38 UTC, u.fuchs
Details
screenshot Terminal (51.55 KB, image/png)
2018-02-06 09:29 UTC, u.fuchs
Details
Screenshot crash-report (164.47 KB, image/png)
2018-05-10 09:56 UTC, u.fuchs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description u.fuchs 2018-02-02 16:44:37 UTC
Description:
LibreOffice 6 writer crashes after a short freeze if you try to sent document.

Steps to Reproduce:
1. Create a document with writer (I use the version from TDFoundation)
2. go to file -> send (Datei -> Senden)
3. LO freezes a few seconds then crashes 

(Standard e-mail client is thunderbird)

Actual Results:  
nothig, could restart LO

Expected Results:
LO must not crash!


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: de
Module: TextDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: no



User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/64.0.3282.119 Chrome/64.0.3282.119 Safari/537.36
Comment 1 Xisco Faulí 2018-02-02 21:34:22 UTC
I can't reproduce it in

Version: 6.1.0.0.alpha0+
Build ID: 9baa3fcf1f414c74d2ea1b55b2cb358527fe7364
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk3; 
Locale: en-US (C); Calc: group

To be certain the reported issue is not
related to corruption in the user profile, could you please reset your
Libreoffice profile ( https://wiki.documentfoundation.org/UserProfile ) and
re-test?

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the issue is still present
Comment 2 u.fuchs 2018-02-03 09:14:35 UTC
I deleted folder /home/<user>/.config/libreoffice, so that LO started without my userprofile. Created a new writer-document and selected file -> sent. Immediate crash.

Then I followed the steps as described in  https://wiki.documentfoundation.org/UserProfile 

LibreOffice 5.3 and newer
 start LibreOffice and select Help > Restart in Safe Mode...
 in the 'Enter Safe Mode' dialog select 'Restart'
 LibreOffice will restart and display the 'Safe Mode' dialog
 select Continue in safe mode
Then I created a new writer-document and selected file -> sent. Immediate crash.
Comment 3 Xisco Faulí 2018-02-05 12:01:13 UTC
Hello,
Thanks for testing it in safe mode.
A couple of request:
- Could you please share the information from Help - About LibreOffice?
- Could you please share the info in Tools - Options - Internet - Email?

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' once the questions have been answered
Comment 4 u.fuchs 2018-02-05 12:37:52 UTC
Created attachment 139595 [details]
screenshot
Comment 5 u.fuchs 2018-02-05 12:38:41 UTC
Created attachment 139596 [details]
screenshot
Comment 6 u.fuchs 2018-02-05 12:40:12 UTC
See screenshots above
Comment 7 Xisco Faulí 2018-02-05 17:01:11 UTC
I see you have KDE4.
Does it crash if you call libreoffice with 'SAL_USE_VCLPLUGIN=gtk soffice' or 'SAL_USE_VCLPLUGIN=gtk3 soffice' ?
Comment 8 u.fuchs 2018-02-06 09:29:53 UTC
Created attachment 139624 [details]
screenshot Terminal

See screenshot of terminal. Same behavior freeze / crash.
Comment 9 Buovjaga 2018-02-26 19:04:45 UTC
No crash with Thunderbird here.

Which Linux distro are you using? Maybe it's a problem specific to the distro.

Arch Linux 64-bit
Version: 6.0.1.1
Build ID: 6.0.1-1
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Comment 10 u.fuchs 2018-02-27 09:17:02 UTC
I am using Kubuntu 14.04, Email: Thunderbird (standard)
Comment 11 Xisco Faulí 2018-02-27 09:26:21 UTC
(In reply to u.fuchs from comment #10)
> I am using Kubuntu 14.04, Email: Thunderbird (standard)

Does it happen if you do this -> https://bugs.documentfoundation.org/show_bug.cgi?id=98776#c32 ?
Comment 12 u.fuchs 2018-02-27 11:12:47 UTC
I enabled "experimental functions" and then  "Use LibreOffice dialogs". Result: crash if I try to sent document.
Comment 13 Buovjaga 2018-02-27 14:13:46 UTC
Does it happen with an appimage build: https://www.libreoffice.org/download/appimage
Comment 14 u.fuchs 2018-02-27 17:00:36 UTC
Only in 64-bit available! I am using 32-bit-kubuntu.

./LibreOffice-fresh.basic-x86_64.AppImage: cannot execute binary file: Fehler im Format der Programmdatei
Comment 15 Buovjaga 2018-02-27 17:06:18 UTC
Ok, well I recommend to move to Kubuntu 18.04 after it is released (64-bit).
Comment 16 raal 2018-02-28 22:05:35 UTC
no crash Version: 6.0.0.0.alpha1+
Build ID: 6eeac3539ea4cac32d126c5e24141f262eb5a4d9
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk3; 
Ubuntu 16.04
Comment 17 Xisco Faulí 2018-05-08 10:03:32 UTC
I'm wondering if it's fixed after bug 98776

Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 18 u.fuchs 2018-05-10 09:56:51 UTC
Created attachment 142010 [details]
Screenshot crash-report
Comment 19 u.fuchs 2018-05-10 09:58:42 UTC
Bug is present in 6.04. See attachment screenshot Crash-reoprt.
Comment 20 Buovjaga 2018-05-10 11:13:07 UTC
(In reply to u.fuchs from comment #18)
> Created attachment 142010 [details]
> Screenshot crash-report

You could try getting a backtrace: https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU.2FLinux
Note that you have to install the debug symbols:
sudo apt install libreoffice-core-dbgsym
Comment 21 Jennifer Cormier 2018-08-16 01:41:10 UTC
I'm having the same - or at least a very similar - problem.

Although in my case, I've never tried to "Send" anything.  But when I am scrolling down in the "File" menu, if the mouse accidentally hovers over the "Send" for a moment, then LO freezes and then crashes.  i.e.

Steps to Reproduce:
1. Create a document with Writer
2. Scroll down to File > Send
3. LO freezes for a few seconds (or longer) then crashes 

I haven't changed any of the Tools>Options>Internet settings from the defaults.  So e-mail is blank.

(Interestingly, when I selected Tools>Options>Internet>MediaWiki, LO immediately crashed.  Probably a separate bug?)

Both crashes also occur in LibreOffice "Safe Mode".  The only difference is LO crashes almost immediately instead of freezing for a while first.


Help - About LibreOffice:

     Version: 6.0.6.2
     Build ID: 1:6.0.6-0ubuntu0.16.04.1
     CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; 
     Locale: en-US (en_US.UTF-8); Calc: group1

installed via
 ppa:libreoffice/libreoffice-6-0

$ java -version
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-0ubuntu0.16.04.1-b13)
OpenJDK Server VM (build 25.181-b13, mixed mode)


OS:  32-bit Lubuntu 16.04.05 

(so not KDE).  Perhaps the issue is with 32-bit systems...

Would you advise me on the debug package to install (or another method) to provide the requested backtrace?  That PPA doesn't seem to supply one for LibreOffice 6:

     $ sudo apt install libreoffice-dbg
     Reading package lists... Done
     Building dependency tree       
     Reading state information... Done
     Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
     The following information may help to resolve the situation:

     The following packages have unmet dependencies:
      libreoffice-dbg : Depends: libreoffice-core (= 1:5.1.6~rc2-0ubuntu1~xenial4) but 1:6.0.6-0ubuntu0.16.04.1 is to be installed
                   Recommends: ure-dbg but it is not going to be installed
     E: Unable to correct problems, you have held broken packages.

I also checked in Synaptic Package Manager and that's the only libreoffice package I found that had "dbg" or "debug" anywhere (in the name or description).

The backtrace without that is not all that useful (excerpt below):

Thread 1 "soffice.bin" received signal SIGSEGV, Segmentation fault.
0x9dd56b35 in ?? () from /usr/lib/jvm/java-8-openjdk-i386/jre/lib/i386/server/libjvm.so
Comment 22 u.fuchs 2018-08-16 08:00:58 UTC
I changed my OS to manjaro Linux with KDE (actually Arch Linux) 64-bit, with LO 6.0.5 from Arch. Sending works perfectly now.
Comment 23 Xisco Faulí 2018-08-16 09:40:31 UTC
Hello Jennifer Cormier,
Could you please get a backtrace as described here? https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU.2FLinux
Thanks in advance
Comment 24 Buovjaga 2018-08-16 10:43:09 UTC
(In reply to Xisco Faulí from comment #23)
> Hello Jennifer Cormier,
> Could you please get a backtrace as described here?
> https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU.
> 2FLinux
> Thanks in advance

She tried, but the problem is that the Ubuntu PPA does not offer a debug symbols package. She would have to install Ubuntu 18.04: https://launchpad.net/ubuntu/bionic/+package/libreoffice
Comment 25 u.fuchs 2018-08-16 17:32:01 UTC
On an older notebook (hp pavilion dv4000 series) I installed kubuntu 18.04, 32 bit (KDE). LO is 6.06 from ppa. Thunderbird is started - no freeze, no crash - but the document is not attached and therefore not sent. Tried send document as email, odt, doc, pdf.
Comment 26 u.fuchs 2018-08-16 17:32:02 UTC Comment hidden (obsolete)
Comment 27 u.fuchs 2018-08-16 17:32:59 UTC Comment hidden (obsolete)
Comment 28 Jan-Marek Glogowski 2018-08-21 14:19:25 UTC
(In reply to Jennifer Cormier from comment #21)
> I'm having the same - or at least a very similar - problem.

Please open a new bug report.
Your crash is definitely different.
This will just create confusion, if this needs a different bug fix then the original bug and we can't close the bug later.

> installed via
>  ppa:libreoffice/libreoffice-6-0
> 
> Would you advise me on the debug package to install (or another method) to
> provide the requested backtrace?  That PPA doesn't seem to supply one for
> LibreOffice 6:

The ppa has -dbgsym packages for each installed LO package.

> The backtrace without that is not all that useful (excerpt below):
> 
> Thread 1 "soffice.bin" received signal SIGSEGV, Segmentation fault.
> 0x9dd56b35 in ?? () from
> /usr/lib/jvm/java-8-openjdk-i386/jre/lib/i386/server/libjvm.so

The Java JVM communicates via SIGSEGV signals, which is annoying to debug.
Basically you can just continue in gdb until some SIGSEGV doesn't happen in libjvm.so in the top of the backtrace.
Comment 29 Jan-Marek Glogowski 2018-08-21 14:32:37 UTC
(In reply to u.fuchs from comment #8)
> Created attachment 139624 [details]
> screenshot Terminal
> 
> See screenshot of terminal. Same behavior freeze / crash.

So no KDE specific bug.

@u.fuchs@yahoo.de 

You can mark and copy the content of the About dialog. Just
1. click the text (see the cursor change)
2. Ctrl+a
3. Ctrl+c

and paste somewhere.
That's better then using a screenshot for the about dialog.

This text also contains the current used backend as "VCL: …", which is currently kde4 for you.

As you're using the TDF builds, you can try the latest still version, which should be 6.0.6 and see, if LO still crashes for you. There have been a ton of bug fixes.
Comment 30 u.fuchs 2018-08-21 17:24:33 UTC
Unfortunately,I installed LO 6.1.0.3 (TDF Build) on my Acer One netbook this morning. OS is kubuntu 14.04 (KDE). The problem did not occur with this release. The document was attached as .odt and sent correctly. Sending as a PDF attachment also worked.

Then with SAL_USE_VCLPLUGIN = gtk: error messages in the console but document correctly sent by mail.

ulrich@ulrich-AOD270:~$ SAL_USE_VCLPLUGIN=gtk libreoffice6.1 --writer

(thunderbird:3088): GLib-GObject-CRITICAL **: g_object_unref: assertion 'object->ref_count > 0' failed

(thunderbird:3088): GLib-GObject-CRITICAL **: g_object_unref: assertion 'object->ref_count > 0' failed

(thunderbird:3088): Gtk-CRITICAL **: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

(thunderbird:3088): Gtk-CRITICAL **: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

(thunderbird:3088): Gtk-CRITICAL **: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

(thunderbird:3088): Gtk-CRITICAL **: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

(thunderbird:3088): Gtk-CRITICAL **: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

(thunderbird:3088): Gtk-CRITICAL **: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

(thunderbird:3088): Gtk-CRITICAL **: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

(thunderbird:3088): Gtk-CRITICAL **: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

(thunderbird:3088): Gtk-CRITICAL **: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

(thunderbird:3088): Gtk-CRITICAL **: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

(thunderbird:3088): Gtk-CRITICAL **: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

(thunderbird:3088): Gtk-CRITICAL **: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

(thunderbird:3088): Gtk-CRITICAL **: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

(thunderbird:3088): Gtk-CRITICAL **: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

(thunderbird:3088): GLib-GObject-CRITICAL **: g_object_unref: assertion 'object->ref_count > 0' failed
ulrich@ulrich-AOD270:~$ ^C
ulrich@ulrich-AOD270:~$
Comment 31 Buovjaga 2018-08-21 17:26:58 UTC
Great, then let's close as WFM.
Comment 32 u.fuchs 2018-08-21 17:28:42 UTC
Sorry, OS is 32-Bit