Bug 127045 - Calc FILEOPEN hangs for seconds without noticeable cpu load when opening .ods file
Summary: Calc FILEOPEN hangs for seconds without noticeable cpu load when opening .ods...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.2.6.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-20 08:53 UTC by 61.1p57
Modified: 2019-08-20 09:08 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 61.1p57 2019-08-20 08:53:50 UTC
Description:
any .ods file, even an empty file just created. safe mode doesn't help. Opening Calc directly is fine, opening .xlsx is fine, so I suspect it's something to do with loading a .ods file. 

I'm using 6.3.0-2~bpo10+1 on Debian, but also reproducible with the AppImage build

Steps to Reproduce:
1. Open new spreadsheet
2. Save empty spreadsheet
3. Close program, open the saved spreadsheet

Actual Results:
hangs for seconds without noticeable cpu load

Expected Results:
open almost instantly


Reproducible: Always


User Profile Reset: Yes



Additional Info:
if I use File->Close after step 2 instead of closing the program, the spreadsheet can be re-opened almost instantly

Version: 6.2.6.2
Build ID: 684e730861356e74889dfe6dbddd3562aae2e6ad
CPU threads: 2; OS: Linux 4.19; UI render: default; VCL: kde5; 
Locale: zh-CN (zh_CN.UTF-8); UI-Language: en-US
Calc: threaded
Comment 1 61.1p57 2019-08-20 09:08:07 UTC
looked at strace, it was probably slow IO that disappeared after rebooting... weird it didn't affect xlsx for whatever reason.