Bug 108953 - FILESAVE - SAVE AS cause Calc to hang for one particular file,
Summary: FILESAVE - SAVE AS cause Calc to hang for one particular file,
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.3.3.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-04 18:35 UTC by nv
Modified: 2017-07-18 14:23 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
File that is causing the problem (146.23 KB, application/vnd.oasis.opendocument.spreadsheet)
2017-07-16 03:54 UTC, nv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nv 2017-07-04 18:35:43 UTC
Description:
I have one file that I am not able to "save as" or "save".The file has three sheets, one of the sheets gives problems while editing, saving. Librecalc just hangs and I have to FORCE QUIT the application. One I deleted that problematic sheet, I was able to save the file.
Editing issues - Even deleting rows or columns causes Calc to freeze and then I have to Force Quit.

Steps to Reproduce:
1.Open the file
2.Click on SAVE AS
3.Give filename in the dialogue box and click to save.

4. For editing column choose Column 'H' of teh problematic Sheet or choose more than 1000 rows to delete.

Actual Results:  
Librecalc freezes

Expected Results:
A new file should be created when save as is done. Edits such as delete multiple(>1000) rows should get carried out. 


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
Comment 1 nv 2017-07-04 18:45:30 UTC
I would like to send the file so that the person anlyzing the problem can recreate the same.
Comment 2 Xisco Faulí 2017-07-04 19:24:10 UTC Comment hidden (obsolete)
Comment 3 nv 2017-07-06 02:12:31 UTC
Have upgraded to 5.3.3.2 through the repository (ppa) for Libreoffice 5.3.
The Save AS problem has been solved. However, the problem related to deleting column or deleting more than 1000 rows in a single action still persists for this particular file. I would like to reiterate that the problem is in this one particular sheet only. I have used few formula for Match and INDIRECT referencing of cells and suspect that deletion results in some infinite loop or an extremely slow loop getting executed.
Few years back I used to use MS EXCEL where I used much more complex formulii but never faced performance issues.
Comment 4 Xisco Faulí 2017-07-10 17:15:56 UTC Comment hidden (obsolete)
Comment 5 nv 2017-07-16 03:54:37 UTC
Created attachment 134656 [details]
File that is causing the problem
Comment 6 nv 2017-07-16 04:01:05 UTC
I have attached the sample file. It causes Librecalc to hang while carrying out different operations. One of the operation is trying to delete Column H. The other operations are adding/ deleting multiple rows or scrolling up/ down at a very high speed.

Please note that now I have version 5.3.3.2 installed. The SAVE As problem seems to have been resolved.
Comment 7 raal 2017-07-16 10:42:46 UTC
delete column H, insert column, deleteéadd rows - cannot confirm crash with Version: 6.0.0.0.alpha0+ (x64)
Build ID: 7b4f4f15971047664fa278fff96b959d53b272b3
CPU threads: 1; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2017-07-08_01:39:24

operations takes some time and cpu is at 100% for LO process, but after some time LO delete/insert column/rows and operates normally.
Comment 8 nv 2017-07-17 04:49:42 UTC
"Purged" Libreoffice* and then reinstalled from repository. Version 5.3.4.2 installed now. Performance has improved. Will test for couple of days and if no severe problem is encountered we can close the bug.
Comment 9 Xisco Faulí 2017-07-17 09:43:05 UTC
Setting to NEEDINFO meanwhile...
Comment 10 nv 2017-07-18 14:14:07 UTC
No problem observed since installation of 5.3.4.2. Closed as Resolved.