Bug 112776 - LOL has high CPU usage and consumes all available memory when closed
Summary: LOL has high CPU usage and consumes all available memory when closed
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.2.6.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-30 15:20 UTC by Stéphane Aulery
Modified: 2017-09-30 19:23 UTC (History)
2 users (show)

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 Stéphane Aulery 2017-09-30 15:20:29 UTC
From: Andrew Enderson <aenderson@protonmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
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.
Comment 1 Stéphane Aulery 2017-09-30 15:21:37 UTC
I can't reproduce it with LO 5.4.1 on Debian buster 64 bits.
Comment 2 Xisco Faulí 2017-09-30 19:09:30 UTC Comment hidden (obsolete)
Comment 3 Stéphane Aulery 2017-09-30 19:19:40 UTC
You send me on last-fresh which is 5.4.1. In my previous comment I said I tested with this version without error. I don't want to test 5.3.6 because it's not in Debian. If you don't support 5.2.6 I will just push wontfix in the debian report.
Comment 4 Xisco Faulí 2017-09-30 19:23:09 UTC
Oh sorry, I'm a bit tired now and I didn't read it.
Closing as RESOLVED WORKSFORME.
Thanks for reporting it and testing it in the latest version