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

            Bug ID: 148440
           Summary: Headless convert-to PDF dies with 100% CPU
           Product: LibreOffice
           Version: 5.3.6.1 release
          Hardware: x86-64 (AMD64)
                OS: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 179370
  --> https://bugs.documentfoundation.org/attachment.cgi?id=179370&action=edit
Buggy word file that fails with convert-to pdf

Hi,
I have been using libreoffice on my Centos 7 server for a long time to convert
documents to PDFs.
However, I now have a problem with a Word file. As soon as I try to convert it
to PDF, the process hangs. When I use “top” to view my processes, I see that
soffice.bin has 100% CPU usage. This does not change even after a longer wait
and i have to kill it manually.

my Libreoffice version: LibreOffice 5.3.6.1 30(Build:1)
This version is installed automatically on Centos 7 with
yum install libreoffice-core libreoffice-writer libreoffice-calc
libreoffice-impress

What I have tried so far:
- Libreoffice version 7.3.2
- Libreoffice version 7.2.6
- Call with --backtrace
- backtrace with debuginfo-install libreoffice-core-5.3.6.1-25.el7_9.x86_64
With all versions installed, the same behavior is seen with the Word file.
There is nothing helpful in the gdbtrace.log.
As soon as the process hangs, it also writes nothing to the log file.

Here the gdbtrace.log: 
warning: Currently logging to gdbtrace.log.  Turn the logging off and on to
make the new setting effective.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffdfffc700 (LWP 2769)]
[Detaching after fork from child process 2770]
warning: Corrupted shared library list: 0x67c6b0 != 0x7ffff7fb8000
[New Thread 0x7fffd84f3700 (LWP 2771)]
[New Thread 0x7fffd7cf2700 (LWP 2772)]
[Detaching after fork from child process 2773]
[New Thread 0x7fffc63c7700 (LWP 2775)]
[Thread 0x7fffc63c7700 (LWP 2775) exited]
[New Thread 0x7fffc63c7700 (LWP 2776)]
[Thread 0x7fffd84f3700 (LWP 2771) exited]


My call looks like this:
/usr/bin/soffice --headless --backtrace --convert-to pdf
'/test/input/fail.docx' --outdir '/test'

In the attachments is the document that kills my convert-to pdf

I'm not sure if this is a bug or if I'm just stupid. But I hope in both cases
that someone can help me.

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

Reply via email to