<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 - LOL has high CPU usage and consumes all available memory when closed"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=112776">112776</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LOL has high CPU usage and consumes all available memory when closed
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>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>Calc
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>lkppo@free.fr
          </td>
        </tr></table>
      <p>
        <div>
        <pre>From: Andrew Enderson <<a href="mailto:aenderson@protonmail.com">aenderson@protonmail.com</a>>
To: Debian Bug Tracking System <<a href="mailto:submit@bugs.debian.org">submit@bugs.debian.org</a>>
Subject: libreoffice-calc: has high CPU usage and consumes all available memory
when closed
Date: Wed, 03 May 2017 23:12:49 -0500

Package: libreoffice-calc
Version: 1:5.2.6-2
Severity: important

Dear Maintainer,

* What led up to the situation?
Closing LibreOffice-Calc after attempting to swap two columns of text data.

* What exactly did you do (or not do) that was effective?
1. Entered 20 text entries in each of the first 3 columns.
2. Highlight the entire 3rd column by selecting the ‘C’ column heading
3. Right clicked and selected Cut to cut the column 3 data.
4. Highlighted the entire 2nd column by selecting the ‘B’ column heading.
5. Right clicked the ‘B’ column heading again and selected Past Special, then
selected ‘Right’ under ‘Shift Cells’ and clicked OK.
6. Next, clicked ‘X’ on the Window frame to close the application, and selected
discard when prompted to save the spreadsheet.

* What was the outcome of this action?
The LibreOffice-Calc application window disappeared, and the computer quickly
became very sluggish and difficult to use. I opened System-Monitor and found
that all available memory was in use (7 GiB), and swap memory was being
consumed. I then changed to the Process view, and found there was still an
entry for soffice.bin, so I selected that Process entry and clicked 'End
Process'. Switching back to the Resoures view, I saw the memory usage
immediately drop back down to about 1 GiB, and the computer became responsive
again.

* What outcome did you expect instead?
The LibreOffice-Calc applicatioin would close, and it would release the memory
it was using - not start consuming all available memory.

* Some additional information.
I’ve been able to consistently reproduce this issue on Gnome 3. I can open
System-Monitor to the Resources view, open LibreOffice-Calc, perform the steps
above, and then watch all memory be consumed in System-Monitor after closing
Calc. I can then end the soffice.bin process using System-Monitor, and see the
memory usage drop back down. I also attempted to reproduce this issue on Ubuntu
Mate 17.04 and on the Solus Budgie desktops, but I could not reproduce it on
those desktop environments, but I was able to reproduce it on the Solus Gnome 3
desktop, and Solus currently has a newer version of LibreOffice than is in
Debian, so it looks like this may be related to the Gnome 3 desktop environment
somehow.</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>