Bug 106367 - Too much memory used during conditional formatting import
Summary: Too much memory used during conditional formatting import
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.3.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Conditional-Formatting
  Show dependency treegraph
 
Reported: 2017-03-06 19:45 UTC by Arnaud Versini
Modified: 2018-03-02 10:05 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Memory usage of this allocation (4.62 KB, text/plain)
2017-03-06 19:46 UTC, Arnaud Versini
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arnaud Versini 2017-03-06 19:45:20 UTC
Description:
Every single conditional formatting uses a table of 8192 pointers during import, for a maximum of tokens of 80192, even if there is only one token in the formula. It's 32KB for x86 and 64kb with x86_64 and could result really fast to a memory. All those tables are keeped with the maximum size during the import.

Steps to Reproduce:
1. Creates a document with a looot of conditional formatting
2. Save it and reopen it


Actual Results:  
crash on 32 bits platforms

Expected Results:
no crash and correct import


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0
Comment 1 Arnaud Versini 2017-03-06 19:46:09 UTC
Created attachment 131684 [details]
Memory usage of this allocation
Comment 2 Xisco Faulí 2017-03-06 23:01:21 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2018-01-29 10:27:15 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2018-03-02 10:05:25 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-20180302