Bug 157557 - Libre office will lock up while using LanguageTool
Summary: Libre office will lock up while using LanguageTool
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.2.1 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-02 11:50 UTC by John
Modified: 2024-04-14 12:01 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John 2023-10-02 11:50:33 UTC
Description:
When using Libre Writer I am running into an issue with Language tool. I am running Linux Mint 21.2 Cinnamon, kernal 5.15.0-84-generic. 12th Gen Intel© Core™ i5-1240P × 12. I have language tool version 6.2 (2023-07-31 15:55:28 +0000, 5726252. To get it to even work, I had to upgrade my JAVA to 20. If I back my Java to 17, writer works just fine, but I cannot use language tool at all. It disappears from the menu.

Steps to Reproduce:
1.set language tool to on
2.set to use the server to check
3.run check text

Actual Results:
One in three times, the process will finish the spell check and then hang, not finishing the check and crashing. Note I do not need to run the spell check to cause this issue. About 1 in six openings will just lock up the writer without running the spell check. This will happen anytime I have language tool set active. The program will either crash and force close option pops up, or I have to force close it manually, causing me to lose my work

Expected Results:
no hangs or crashes, and able to use language tool


Reproducible: Sometimes


User Profile Reset: Yes

Additional Info:
Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 60(Build:1)
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 4:7.6.2~rc1-0ubuntu0.22.04.1~lo1
Calc: threaded
Comment 1 Stéphane Guillou (stragu) 2023-10-16 12:06:53 UTC
Thanks for the report.
Do you use the LanguageTool extension, or did you set it up as in https://languagetool.org/insights/post/product-libreoffice/#how-to-enable-languagetool-on-libreoffice ?
Did you disable LightProof?
Comment 2 QA Administrators 2024-04-14 03:15:58 UTC Comment hidden (obsolete)
Comment 3 vena.cava@virgin.net 2024-04-14 11:59:20 UTC
I have been using Language Tool 6.4 stable (the latest version) with LibreOffice 24.2 and 24.8. I use the Language Tool extension. It is unreliable, it can crash itself, or whole of the LibreOffice writer can crash, and at times it freezes. Sometimes, the CPU overworks to an excessive extent, I would say. At times the Language Tool extension does not even start up after more than one run through a document. I would say that the problems are more frequent using using longer text documents, and perhaps more complicated text documents with tables,  comment boxes, or many paragraphs. I guess there are several bugs, and the the faults appear to arise a bit sporadically, so I regret that I can not give precise ways to reproduce the errors. Nevertheless, to reproduce these faulty effects, I suggest spell checking long documents containing many spelling and grammar errors, and see what faults arise. 

My impression is that 24.2 is worse at using the Language Tool than 24.8.

For some people, the offline version is preferable to the online version of Language Tool, because the information is kept on the computer and so it promises more confidentiality.

I reiterate the need to make offline Language Tool work better. I do not use the online link to Language Tool, so I can not comment on who that works.
Comment 4 vena.cava@virgin.net 2024-04-14 12:01:30 UTC
I would like to add the my comment above that I have been using Win 10, 64 bit.