<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - WRITER Crash after pasting multiple times"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=143188">143188</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>WRITER Crash after pasting multiple times
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.0.6.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>come.allart@netc.fr
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>