Bug 76447 - MULTIPLE.OPERATIONS() shows wrong results when some internal limit is reached
Summary: MULTIPLE.OPERATIONS() shows wrong results when some internal limit is reached
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.5.7.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Calc-Function
  Show dependency treegraph
 
Reported: 2014-03-21 12:29 UTC by lactea
Modified: 2020-03-28 20:17 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
To make multple.operations work, please delete all content below row 396 and enter 1 in V397. (516.17 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-03-21 12:29 UTC, lactea
Details
working example (60.96 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-03-21 12:40 UTC, lactea
Details
broken example (516.17 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-03-21 12:42 UTC, lactea
Details
Minimal broken example. (436.49 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-10-08 18:04 UTC, lactea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lactea 2014-03-21 12:29:20 UTC
Created attachment 96159 [details]
To make multple.operations work, please delete all content below row 396 and enter 1 in V397.

multiple.operations is not working for long calculations. Only the very first entry is calculated and the rest is being copied from the first cell. Consequently, all results are the same.
This appears to happen when more then 393 rows in the attached example are calculated. Suspecting hardcoded limitation. Find both an working and broken calculation attached.
Tested on Linux and Windows XP running 3.5.7.2 and 4.2.2.1 (at least).
Check also
http://ask.libreoffice.org/en/question/31503/lo-calc-memory-issues/
and the attached file. [To make multple.operations work, please delete all content below row 396 and enter 1 in V397.]
Comment 1 lactea 2014-03-21 12:40:09 UTC
Created attachment 96160 [details]
working example

Note different values in the cross-table. Working as supposed with a limited number of calculations.
Comment 2 lactea 2014-03-21 12:42:21 UTC
Created attachment 96161 [details]
broken example

Note that those values in the cross-table are all the same.
Comment 3 mahfiaz 2014-03-21 18:54:49 UTC
On 64-bit Linux having 824th row as the last one with data works, adding one row breaks it (see the non-working documents in ask.libo.org question, referenced in the first post).
Comment 4 Owen Genat (retired) 2014-03-21 23:28:39 UTC
As a result of comment 3, and this comment, confirmed. Status set to NEW. The only difference here under Debian 7 x86_64 using:

- v4.1.4.2 Build ID: 0a0440ccc0227ad9829de5f46be37cfb6edcf72

... Crunchbang 11 x86_64 using:

- v4.2.2.1 Build ID: 3be8cda0bddd8e430d8cda1ebfd581265cca5a0f

... is that both the working and broken examples change state from working to broken at row 396/397 (instead of row 824/825 as reported in comment 3 and the AskLO answer).
Comment 5 lactea 2014-10-08 17:45:38 UTC
Tested (among other versions) on latest 4.3.2.2. Issue still exists.
Comment 6 lactea 2014-10-08 18:04:08 UTC
Created attachment 107572 [details]
Minimal broken example.

A minimum example. Just 2 input cells, one output cell and four columns of data.
Comment 7 QA Administrators 2016-02-21 08:34:17 UTC Comment hidden (obsolete)
Comment 8 mahfiaz 2016-04-23 11:00:57 UTC
Still an issue with the current dev build:

Version: 5.2.0.0.alpha0+
Build ID: b19ac3c4c6b4a41a1f3acac68b299fd676428a87
CPU Threads: 4; OS Version: Linux 4.2; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-04-21_08:41:0
Comment 9 Vianney Stroebel 2016-11-04 13:07:09 UTC
This bug might be related to https://bugs.documentfoundation.org/show_bug.cgi?id=103701
Comment 10 Xisco Faulí 2017-06-12 11:28:24 UTC
Changing version back to the earliest affected version.
Comment 11 QA Administrators 2018-06-13 02:35:57 UTC Comment hidden (obsolete)
Comment 12 xyhausen 2020-03-28 20:17:50 UTC
Still reproducible with "broken example"

Version: 6.4.2.2 (x64)
Build-ID: 4e471d8c02c9c90f512f7f9ead8875b57fcb1ec3
CPU-Threads: 2; BS: Windows 10.0 Build 18362; UI-Render: Standard; VCL: win; 
Gebietsschema: en-GB (de_DE); UI-Sprache: de-DE
Calc: