Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30179

Libreoffice 5.3.6.1 hangs on some HTML to PDF conversion

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.10, 11.4
    • Fix Version/s: 10.10-HF45, 11.x, 2021.2
    • Component/s: PDF Utils
    • Environment:
      docker image
    • Release Notes Summary:
      Docker image now uses LibreOffice 7.1.1
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #31, nxplatform #29, nxplatform #30, nxplatform #32
    • Story Points:
      0

      Description

      With some HTML input files the soffice process hangs forever using a full CPU.

      soffice  --headless --norestore --writer --convert-to pdf /tmp/nxblob-5669137896840863554.html --outdir /tmp/foo.out/
       

       

       

      strace or perf don't give lots of info:

       

      Upgrading Libreoffice to 6.4.7 fixes the problem.

      Note that the timeout command can be used and is able to kill the soffice command.

       

      Solutions

      Fix Nuxeo docker images to use Libreoffice 6.4.7 instead of default 5.3.6.

      On Centos download:

      https://download.documentfoundation.org/libreoffice/stable/6.4.7/rpm/x86_64/LibreOffice_6.4.7_Linux_x86-64_rpm.tar.gz

      and follow  https://www.if-not-true-then-false.com/2012/install-libreoffice-on-fedora-centos-red-hat-rhel/

       

       

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: