Bug 87622 - Placing a large number of Charts in a sheet causes then not to update (crash)
Summary: Placing a large number of Charts in a sheet causes then not to update (crash)
Status: RESOLVED DUPLICATE of bug 86321
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.3.5.2 release
Hardware: x86-64 (AMD64) All
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2014-12-23 03:08 UTC by Colin
Modified: 2021-04-22 06:30 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
A spreadsheet with 25 identical charts in one sheet (135.34 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-12-23 03:08 UTC, Colin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Colin 2014-12-23 03:08:34 UTC
Created attachment 111198 [details]
A spreadsheet with 25 identical charts in one sheet

On windows there is appears to be an issue with the chart updating when the number of charts in a sheet exceeds the Cache for Inserted Objects value (which defaults to 20).

Attached is a spreadsheet which should reproduce the problem.

I tested in Version 4.3.5.2 although the issue was probably in all versions of 4.3.

Windows 7 64bit with latest patches.


Make sure Cache for Inserted Objects is set to 20. (if not change the value  to 20 and restart libre office).


Changing the value is of B2 from 1 to 10. Not all the charts will update although 20 will.

Behaviour does not reproduce in Libre Office 4.2 for Ubuntu with identical memory settings.

Increasing the value of Cache for Inserted Objects to 25 or above fixes the issue.

Note charts do not really have to be identical any 20+ charts will do it even if they are based on different values.

Note if you copy and paste one of the unupdated charts into sheet 2 and save and close the spreadsheet Libre Office will probably crash.
Comment 1 raal 2014-12-23 12:48:45 UTC
I can confirm with LO 4.3.4, win7. After save,close and reopen are charts correct.  
I can confirm crash (Note if you copy and paste one of the unupdated charts into sheet 2 and save and close the spreadsheet Libre Office will probably crash.). Crash occurs only on first opening of file.
Comment 2 raal 2014-12-23 14:34:31 UTC
I can confirm with Version: 4.5.0.0.alpha0+
Build ID: 2116f1cfb31e5fcf829c2f101cd878a32b56c365
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2014-12-19_05:59:03
Comment 3 Matthew Francis 2015-04-23 11:56:53 UTC
This appears to be a duplicate of bug 86321 - it is fixed on master by the same commit. Some investigation yet to be done as to whether the fix is correct, which is why this hasn't been backported.

*** This bug has been marked as a duplicate of bug 86321 ***
Comment 4 Lars Jødal 2021-04-22 06:30:46 UTC
Just in case anybody should pass this bug: Bug 86321 has been fixed (effective from 7.1.4 and 7.2.0), which helps a lot on chart update problems. Not all problems are completely gone, though, and the test case from this bug is continued in bug 141799.