[Libreoffice-bugs] [Bug 143257] New: selecting a shape increases memory use up to 1.3 GB, creates visual artifacts in GUI

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jul 8 11:53:28 UTC 2021


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

            Bug ID: 143257
           Summary: selecting a shape increases memory use up to 1.3 GB,
                    creates visual artifacts in GUI
           Product: LibreOffice
           Version: 6.2.5.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:
Clicking on the shape in attachment 173084 ("circular-arrow" saved to .doc)
increases the RAM use of LibreOffice up to 1.3 GB, eventually makes the shape
disappear, and creates visual artifacts all over LibreOffice.

Is this a "memory leak"?

This is possibly only a Linux thing. It was originally reported in Bug 142983
but is probably better reported as a separate issue to the malformed shape in
DOC.

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

1. Open attachment 173084
2. Click on the shape

Actual Results:
Clicking the shape brings up memory use of LibreOffice between 900 mb and 1.3
GB of memory (depending on version), and hangs the system for a few seconds.
Memory use goes back down after a while. In some more recent versions, the
shape then 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 artifacts might appear in the viewport, in menus, the sidebar,
dialogues...

See an example video in attachment 173085.

Expected Results:
Memory use does not increase dramatically, shape does not disappear, UI does
not look broken.


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: 6.2.5.2
Build ID: 1ec314fa52f458adc18c4f025c545a4e8b22c159
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3; 
Locale: en-AU (en_AU.UTF-8); UI-Language: en-US
Calc: threaded

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: 822f128e734f37ee4de9bf5b62640cbec140701e
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
(built today)

-- 
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/20210708/0fcbf22f/attachment.htm>


More information about the Libreoffice-bugs mailing list