Bug 143188 - WRITER Crash after pasting multiple times
Summary: WRITER Crash after pasting multiple times
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.6.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-04 21:43 UTC by Côme
Modified: 2021-07-06 07:06 UTC (History)
0 users

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 Côme 2021-07-04 21:43:54 UTC
Description:
Paste multiple times the same thing, it starts consuming 100% CPU. Continue pasting, it freezes.

Steps to Reproduce:
1. Open libreoffice and choose "Writer" to open a new document
2. Write "aunrsetaunrsietnrsaut" or something like this
3. In this word, copy with ^C "nrset" or something like this
4. Go to the end of the line
5. Paste with ^V several times

Actual Results:
After ~5 ^V's it freezes for one second and starts a thread using 100% of one of the CPU logical threads.

After ~3 more ^V's it freezes for a long time (> 15 s), and there is still one thread running 100%, even after it stops freezing.

Maybe not linked: `pkill soffice.bin` then on next start of LO, the document is restored but with no contents in it.

Expected Results:
The text should be pasted once for each ^V. It may drop some pastes if the frequency of ^V's is too high (but I am not a robot so I think I do not paste excessively fast)


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.6.2
Build ID: 00(Build:2)
CPU threads: 4; OS: Linux 5.6; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR
7.0.6-2
Calc: threaded

(Note: pasting this text multiple times in the document also makes Writer freeze)
Comment 1 Telesto 2021-07-05 12:23:08 UTC
Is this with a clean profile or also with (additional, spellchecker) extensions installed?
Comment 2 Côme 2021-07-06 07:06:14 UTC
(In reply to Telesto from comment #1)
> Is this with a clean profile or also with (additional, spellchecker)
> extensions installed?

To answer your question I went into the extensions manager and then I saw an "update extensions" button. I clicked it, the only extension that needed an update was Grammalecte, and now the bug is fixed. So it seems that the source of the bug was the old version of Grammalecte. So the bug is fixed now.

Thanks!