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: 2023-08-08 03:12 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
Comment 10 QA Administrators 2023-08-08 03:12:12 UTC
Dear Nicolas Gambardella,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug