<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 - Stuck CPU-bound after deleting many Sheets"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=134161">134161</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Stuck CPU-bound after deleting many Sheets
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>7.1.0.0.alpha0+ Master
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</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>Calc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jim.avera@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Description:
If a large number of Calc sheets are deleted in a single operation, then
soffice continues to use very high CPU (97+%) after the deletes finish.
The high CPU usage never stops after that point (I waited for 15-20 minutes).
Meanwhile, the GUI responds normally.
So something must be in an infinite loop [conjecture: gc bug?]
Steps to Reproduce:
1. Open the attached demo.ods spreadsheet.
Do NOT enable macros.
2. Click the |< button at the left-bottom to view the first Sheet tab
3. Click the "AAPL" tab (3rd sheet over)
Click the >| button to view the last sheet tab
Shift-Click "ZUO" (the last sheet).
This selects all except the first 2 sheets.
4. Rightclick (in the sheet tab area)->Delete Sheet... and confirm;
5. In another terminal, run "top"
Actual Results:
After a while the sheets are deleted and the GUI becomes usable again, but
"top" shows soffice.bin using 99% CPU forever after (tested for 15-20 minutes).
Expected Results:
CPU usage should drop to ~zero when the GUI is idle.
Reproducible: Always
User Profile Reset: Yes
Additional Info:
There is zero swap space used (I have 16M ram so didn't expect any swapping).</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>