[Libreoffice-bugs] [Bug 134161] New: Stuck CPU-bound after deleting many Sheets

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Jun 20 00:18:28 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=134161

            Bug ID: 134161
           Summary: Stuck CPU-bound after deleting many Sheets
           Product: LibreOffice
           Version: 7.1.0.0.alpha0+ Master
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: jim.avera at gmail.com

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).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200620/10eb0fc5/attachment.htm>


More information about the Libreoffice-bugs mailing list