Bug 134015 - LibreOffice Write crashes when I open docx containing tables exported by Cafetran Espresso ( with languagetool installed )
Summary: LibreOffice Write crashes when I open docx containing tables exported by Cafe...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4.0.0.alpha0+
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: wantBacktrace
Depends on:
Blocks: DOCX-Opening MSO-External-Producers
  Show dependency treegraph
 
Reported: 2020-06-15 19:11 UTC by Nicolas Gambardella
Modified: 2021-08-07 16:13 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Bilingual table generated by Cafetran Espresso (22.55 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-06-15 19:12 UTC, Nicolas Gambardella
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Gambardella 2020-06-15 19:11:12 UTC
Description:
This is a bug that plagued me for more than a year now. With previous versions of LibreOffice, the result was stochastic, so I kept trying until I had time to save as ODT. But with LO Version: 6.4.4.2, Build ID: 1:6.4.4~rc2-0ubuntu0.18.04.1
The crashes are 100% of the time. 
The DOCX are bilingual tables created by a Computer Assisted Translation tool called Cafetran Espresso. I can open the files with MS Office 365. If I Save As another name with MS Office, I get a larger DOCX file (surprise...), that still causes LO Writer to crash. All the time. 


Steps to Reproduce:
1. Open the file, either launching LO and "Open File" of via command-line "soffice filename"
2.
3.

Actual Results:
LO crashes, 

Expected Results:
ask to re-open, re-crashes, etc. until I discard the file.


Reproducible: Always


User Profile Reset: No



Additional Info:
Opening the file...
Comment 1 Nicolas Gambardella 2020-06-15 19:12:43 UTC
Created attachment 162020 [details]
Bilingual table generated by Cafetran Espresso
Comment 2 Xisco Faulí 2020-06-15 19:53:40 UTC
I can't reproduce it in

Version: 7.1.0.0.alpha0+
Build ID: 37d5cccceb9f02d60de326f5b1fc5098dc004739
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

nor in

Version: 6.4.4.0.0+
Build ID: 4f8325dbcb63627997289889a377a4893e03fcf1
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

Could you please paste the info from Help - about LibreOffice ?

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' once the information has been provided
Comment 3 Nicolas Gambardella 2020-06-15 21:45:23 UTC
From Bad to Worse

Here was the info

Version: 6.4.4.2
Build ID: 1:6.4.4~rc2-0ubuntu0.18.04.1
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3; 
Locale: en-GB (en_GB.UTF-8); UI-Language: en-GB

I uninstalled LibreOffice, reinstalled it. Still get the same info as before. However, now LibreOffice does not directly crashes. It first says the file is corrupted (including the one directly produced by MS Office), and then crashes.

Hm.
Comment 4 QA Administrators 2020-06-16 03:43:02 UTC Comment hidden (obsolete)
Comment 5 Nicolas Gambardella 2020-06-16 07:56:26 UTC
The new version presenting the problem is
Version: 6.4.3.2
Build ID: 1:6.4.3-0ubuntu0.20.04.1
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3; 

This is version shipped with Ubuntu 20.04. The version I had previously was not the default Ubuntu 18.04 one.

HOWEVER, I installed
 
Version: 7.0.0.0.beta1
Build ID: 94f789cbb33335b4a511c319542c7bdc31ff3b3c
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

And the bug is gone for now. :-)
Comment 6 Xisco Faulí 2020-06-16 10:59:41 UTC
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 7 Nicolas Gambardella 2020-06-16 11:59:19 UTC
Thank you for the suggestion. Thanks to the safe mode, I now identified the source of the problem. It is the LanguageTools extension
https://extensions.libreoffice.org/en/extensions/show/languagetool

I installed the extension in 7.0.0.0.beta1 and the crashes re-appeared.

This is a pity since it is a very important add-on for me. I guess I will have to keep two versions of LO, one without LanguageTools for the bilingual tables exported by CafetranEspresso and one with LT for everything else.

Thank you for your help.
Comment 8 Xisco Faulí 2020-06-16 12:17:00 UTC
ok, I do reproduce it when Languagetool is installed

Version: 7.1.0.0.alpha0+
Build ID: 11d21b3c1f7754b5d13ae9ea88da562ec74366ff
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 9 Xisco Faulí 2020-06-16 12:30:22 UTC
Also reproduced in

Version: 6.3.0.0.alpha1+
Build ID: c98b1f1cd43b3e109bcaf6324ef2d1f449b34099
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

oldest commit in bibisect-linux64-6.4