LibreOffice writer crash/hangs with Antidote integration

libreoffice.odt (139.4 KB)
Hello,

I use the bilingual fr-en correction software, Antidote, on OS X quite frequently. It ships with integration with LibreOffice, adding a small menu to the header. When you activate the corrector, it launches a separate Antidote window, and changes you make in it are made live in your LibreOffice document as well.

On some documents though, LibreOffice hangs (and sometimes crashes) during correcting, giving the spinning coloured ball thing on OS X. It mostly seems to occur when making changes that would cause line breaks to change, and is primarily an issue on documents that include elements other than pure text – a table or an embedded image, for instance.

It might be a CPU usage thing?

I’ve attached the full Stackshots report as a pdf.

It would be great for this to work, but I realize it might just be that my computer is too old… (OS X 10.13 on an early 2011 macbook).

Thanks for any help,

@CH905, there are no attachments in this question…

Oh I’m sorry. I tried uploading it again and it looks like it is there now. Thanks for letting me know.

There might be a misunderstanding: we are not developers and unable to interpret a trace report.

What would be interesting is a small sample file causing the issue. Also I’ve seen several (too many?) extensions messing up the ODF encoding by applying direct transformations to the XML (a similar procedure to direct formatting). This may put too much stress on Writer. In addition, I noticed in the stack trace that some components of Antidote are named libAntidote-TexteurOOo.dylib which suggests the extension was developed for OpenOffice.

Though both suites are somewhat “compatible”, LO development is more agile and code base may have diverged a bit.

I skimmed over Antidote website and was unable to find the date of last update. I couldn’t not either see how it integrates to LO (but I just very quickly skimmed): as an extension or some other mechanism.

Please create 2 very short files (1-paragraph only) as:

  • the original one as you typed words (apply a character style on the “faulty” word’s))
  • the Antidote-corrected file

Attach them to your question so that I can see which kind of “fix” is applied by Antidote.

Thank you for the thoughtful reply. I really appreciate you taking the time to think about this with me.

I have not yet been able to reproduce the problem on a small document. I will keep trying and follow up.

Sometimes I get an antidote error message at the same time saying that LibreOffice was not able to do the change and that I should do it automatically, because it was having trouble with the line-breaks. Antidote hangs as well, but only until I force quit LibreOffice. Force quitting Antidote first does not unfreeze LibreOffice.

The last update for the Antidote connectors came down yesterday and it did not fix the problem. I also updated LibreOffice to the latest version.

Thanks again, I will post back once I have the examples you asked for.

Hello

Same situation here

Antidote 10 / LibreOffie 7.3.0.3 / Montery 12.2.1 => crash/hangs each time I try to use Antidote (that sued to works like a charm with previous versions)

Only solution => I ended going back to Apple Pages, that works with Antidote