Bug 101682 - Sluggishness, freezing and crashes experienced upon insertion of (many?) compressed SVG (svgz) graphics
Summary: Sluggishness, freezing and crashes experienced upon insertion of (many?) comp...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.7.2 release
Hardware: All All
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:svg, haveBacktrace, perf
Depends on:
Blocks: SVG-Import Writer-Images
  Show dependency treegraph
 
Reported: 2016-08-23 10:46 UTC by Daniel Grigoras
Modified: 2021-12-07 11:30 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
demo SVGZ (798.62 KB, application/zip)
2016-08-23 10:46 UTC, Daniel Grigoras
Details
Callgrind output from master (2.14 MB, application/x-xz)
2018-06-18 14:35 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Grigoras 2016-08-23 10:46:54 UTC
Created attachment 126983 [details]
demo SVGZ

Hi,

I have experienced sluggishness, freezing and crashes upon insertion of many compressed SVG (svgz) graphics.
Moreover, some are displayed improperly and black and white.
See the attached demo compressed SVGZ.
Compare how they look in Inkscape and how they look in LibreOffice.

Best wishes,
Daniel
Comment 1 Daniel Grigoras 2016-08-23 10:47:52 UTC
BTW, this is also true when working with not that many uncompressed SVG graphics.
Comment 2 Buovjaga 2016-09-21 19:11:52 UTC
I get the sluggishness even with a single inserted file (demo_01.svgz).
It is worse in 5.2 than in 5.3.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.3.0.0.alpha0+
Build ID: cd72269a6a2c85ae9dd4552aa4808ef4fd1f6c0e
CPU Threads: 8; OS Version: Linux 4.7; UI Render: default; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on September 21st 2016

Arch Linux 64-bit, KDE Plasma 5
Version: 5.2.0.4
Build ID: 5.2.0-1
CPU Threads: 8; OS Version: Linux 4.6; UI Render: default; 
Locale: fi-FI (fi_FI.UTF-8)
Comment 3 Telesto 2017-10-13 15:55:13 UTC
Repro with:
Version: 4.3.7.2
Build ID: 8a35821d8636a03b8bf4e15b48f59794652c68ba
Comment 4 Buovjaga 2018-06-18 14:35:57 UTC
Created attachment 142866 [details]
Callgrind output from master

This is taken from the action of just typing "f" to the Writer document after the SVGZ has been inserted.

Arch Linux 64-bit
Version: 6.2.0.0.alpha0+
Build ID: dc9ee533dc707cc10b99d537eaccc3ee5aa555fe
CPU threads: 8; OS: Linux 4.16; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded
Built on June 16th 2018
Comment 5 QA Administrators 2019-06-19 02:48:16 UTC Comment hidden (obsolete)
Comment 6 alexmthegreat50 2020-09-09 16:21:47 UTC Comment hidden (off-topic)
Comment 7 alexmthegreat50 2020-09-09 16:23:13 UTC Comment hidden (off-topic)
Comment 8 Buovjaga 2020-09-23 12:39:35 UTC
Still sluggish like in my earlier comments

Arch Linux 64-bit
Version: 7.1.0.0.alpha0+
Build ID: f08ddf3d3df0ef12fef36e96ffe6f5b9a7fda9e3
CPU threads: 8; OS: Linux 5.8; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 21 September 2020
Comment 9 Buovjaga 2021-12-07 11:30:38 UTC
Good news: sluggishness is gone. Tested with Linux 7.4 bibisect repo.