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

            Bug ID: 163267
           Summary: Attempting to convert a specific DOCX file to PDF runs
                    until memory exhaustion
           Product: LibreOffice
           Version: 7.6.7.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: sykostr...@gmail.com

Description:
A table containing a small image is causing excessive memory consumption during
a DOCX to PDF conversion, exhausting all available system memory.

Although I am unsure of the exact cause, I was able to reproduce the issue by
copying and pasting the table and image from the original document into a new
one (using MS Word). This new document also exhibits the same memory exhaustion
during conversion.

When I attempt to recreate the scenario in a new document by making a new table
and inserting an image, the issue does not occur. Since I'm not the original
author of the document, I am unaware of the specific steps/table settings.

if the table is expanded to cover about a quarter of the page, the document
converts to PDF within seconds without any problems. But when the table’s
border is reduced to a size smaller than the image, memory consumption surges
again, leading to the exhaustion issue.

have attached the offending document

Steps to Reproduce:
1.libreoffice --headless --convert-to pdf test.docx --outdir .


Actual Results:
libreoffice runs until over 25gig of memory is being used and OOM starts
killing things

Expected Results:
PDF is generated within seconds


Reproducible: Always


User Profile Reset: Yes

Additional Info:
libreoffice --version
LibreOffice 7.6.7.2 60(Build:2)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to