Bug 134362 - Very large spreadsheets crash with more than 1048576 rows
Summary: Very large spreadsheets crash with more than 1048576 rows
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.0.0.0.beta1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks: Calc-large-spreadsheets
  Show dependency treegraph
 
Reported: 2020-06-28 14:54 UTC by Pierre Martineau
Modified: 2020-09-16 20:32 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
file with 1048577 rows (6.94 MB, text/csv)
2020-06-28 14:54 UTC, Pierre Martineau
Details
bt with debug symbols (15.29 KB, text/plain)
2020-06-28 17:45 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Martineau 2020-06-28 14:54:57 UTC
Created attachment 162478 [details]
file with 1048577 rows

When 'Very large spreadsheets' experimental feature is turned on, importing more than 1048576 rows will crash. 1048576 rows is the previous limit.

1. Turn experimetal features on
2. Turn Very large spreadsheets on
3. Import the attached .csv file with 1048577 rows

this results in a crash with the following message

multi_type_vector::set#483: block position not found! (logical pos=1048576, block size=1, logical size=1048576)

The same file with 1048576 rows imports perfectly (tail -n +2 lines1048577.csv)
Comment 1 Julien Nabet 2020-06-28 17:45:01 UTC
Created attachment 162484 [details]
bt with debug symbols

On pc Debian x86-64 with master sources updated today, I could reproduce this.
Comment 2 Telesto 2020-06-28 18:01:14 UTC
Probably a duplicate
Comment 3 Roman Kuznetsov 2020-09-16 20:32:02 UTC
no crash in

Version: 7.1.0.0.alpha0+
Build ID: 8c18cd6823ddf4ef5ba67801a84cee26c9b5a9a6
CPU threads: 4; OS: Mac OS X 10.15.6; UI render: default; VCL: osx
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
Calc: threaded

WFM