Bug 129766 - LibreOffice hangs (not responding) for a while when closing a document.
Summary: LibreOffice hangs (not responding) for a while when closing a document.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha0+ Master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx, perf
Depends on:
Blocks: Memory
  Show dependency treegraph
 
Reported: 2020-01-03 16:42 UTC by Telesto
Modified: 2020-01-12 17:23 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
that very stupid DOCX file with 1000 copies of the same content (10.75 MB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-01-04 13:43 UTC, Roman Kuznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-01-03 16:42:23 UTC
Description:
LibreOffice hangs (not responding) for a while when closing a document. 

Steps to Reproduce:
1. Open attachment https://drive.google.com/file/d/0B6ccfQG2Kep-Nzk5QW1sc3kxNkk/edit?usp=sharing (takes a while to load; 2-3 minutes)
2. Wait until fully loaded (page counter 4372 pages) (can take a while 5 minutes). LibreOffice can hang for a while
3. Close the document with the grey cross -> LibreOffice is not responding

Actual Results:
LibreOffice is unresponsive for ~2-3 minutes

Expected Results:
A faster closing of the document in question (and/or more responsive)


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.5.0.0.alpha0+ (x64)
Build ID: 42a1a1c6b91907f81e15066ffab219411f18c4db
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: GL; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL
Comment 1 Telesto 2020-01-03 16:45:08 UTC
Document source: bug 75972
Comment 2 Roman Kuznetsov 2020-01-04 13:43:34 UTC
Created attachment 156926 [details]
that very stupid DOCX file with 1000 copies of the same content
Comment 3 Roman Kuznetsov 2020-01-04 14:18:15 UTC
yep, closing takes 3:30 min for me in

Version: 6.5.0.0.alpha0+ (x64)
Build ID: c97f9af5e47ea234ad709a1f66c1e8ed20640066
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: GL; VCL: win; 
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: CL

possible memory problem...
Comment 4 Telesto 2020-01-12 17:23:50 UTC
Another sample document (performance is better but still slow)
Attachment 148657 [details]