[Libreoffice-bugs] [Bug 142983] New: Shape saved to .doc is malformed, selecting it increases memory use up to 1.3 GB

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jun 22 12:51:05 UTC 2021


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

            Bug ID: 142983
           Summary: Shape saved to .doc is malformed, selecting it
                    increases memory use up to 1.3 GB
           Product: LibreOffice
           Version: 7.0.6.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: stephane.guillou at member.fsf.org

Description:
The shape "circular-arrow", from the gallery, is malformed when saved to .doc
and reopened. Selecting it increases the RAM use of LibreOffice up to 1.3 GB,
makes the shape disappear, and creates visual artefacts in the viewport.

Is this a "memory leak"?

Steps to Reproduce:
Use all steps here, or use the attached document and start at step 4:

1. Open Writer
2. Insert the shape "circular-arrow" from the gallery sidebar, "Arrows"
category
3. Save document as .doc and close Writer
4. Open document again
5. Click on the shape

Actual Results:
Shape does not look at all like the original. Clicking it brings up memory use
of LibreOffice up to 1.3 GB of memory, and hangs the system for a few seconds.
Memory use goes back down once the shape disappears. Clicking the area where
the shape was will select the invisible object once more, and will bring the
memory use up once more. Some visual artefacts might appear in the viewport.

Expected Results:
Shape looks the same as original, and memory use does not increase
dramatically, and shape does not disappear.


Reproducible: Always


User Profile Reset: No



Additional Info:
I am wondering if this has to do with the fact that the malformed shape
overflows possibly infinitely to the left side of the document.

Shape only disappears in 7.2 beta1 and 7.3 alpha0.

Tested in:

Version: 7.0.6.2
Build ID: 144abb84a525d8e30c9dbbefa69cbbf2d8d4ae3b
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Version: 7.1.4.2 / LibreOffice Community
Build ID: a529a4fab45b75fefc5b6226684193eb000654f6
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Version: 7.2.0.0.beta1 / LibreOffice Community
Build ID: c6974f7afec4cd5195617ae48c6ef9aacfe85ddd
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: e3086b58eb5427d520b86c185f9d911bb6f7a3a0
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64 at 86-TDF, Branch:master, Time:
2021-06-21_15:37:11
Calc: threaded

-- 
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/20210622/35520862/attachment.htm>


More information about the Libreoffice-bugs mailing list