[Libreoffice-bugs] [Bug 132494] New: Trying to save SVG image from presentation/drawing causes LibO to use 100% cpu and lock up

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 28 15:44:00 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=132494

            Bug ID: 132494
           Summary: Trying to save SVG image from presentation/drawing
                    causes LibO to use 100% cpu and lock up
           Product: LibreOffice
           Version: 6.4.3.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: filters and storage
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: sergio.callegari at gmail.com

Description:
LibO lets you save images that are embedded in presentations and drawings.

The saving of SVG images has issues, though.

1) In the SVG options dialogue, rapidly changing the saved image size (e.g., by
repeatedly clicking on the small arrows to increment/decrement the width/height
of the saved image causes LibO to use 100% of the CPU and lock up.

2) The file size reported in the SVG options dialogue is always 0.

Steps to Reproduce:
1. Open the test document
2. Select the image, right click, click "save..."
3. Define a filename in the Image export dialogue, assure that the filter is
set to "SVG - Scalable Vector Graphics" and the filename ends by ".svg".
4. Press save and see the SVG options dialog open
5. Note that the Information bit says "The file size is 0.0 KB"
6. Rapidly press multiple time the up arrow in the width box

Actual Results:
LibO freezes, cpu usage goes up to 100%

Expected Results:
LibO should not freeze.
File size information should account for the actual svg file size.


Reproducible: Always


User Profile Reset: No



Additional Info:
Note that if the image size is updated "slowly" in the SVG options window, LibO
can actually survive and save the svg image.


[Information automatically included from LibreOffice]
Locale: en-US
Module: PresentationDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200428/4e6dace7/attachment.htm>


More information about the Libreoffice-bugs mailing list