[Libreoffice-bugs] [Bug 113259] New: soffice --convert-to hangs on Windows Server 2016 when called multiple times

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Oct 19 09:04:44 UTC 2017


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

            Bug ID: 113259
           Summary: soffice --convert-to hangs on Windows Server 2016 when
                    called multiple times
           Product: LibreOffice
           Version: 5.4.1.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: mifkys at gmail.com

Description:
We convert docx documents to pdf through LibreOffice by next command: soffice
--headless --convert-to pdf <input_doc> --outdir <output_dir>

All works correct on several machines (Windows 7, somde distribs fo Linux) but
on server with Windows Server 2016 Standard (10.0.14393) processes soffice.bin
hangs if I call this command several times (even twice in short time).

My research show me next. If second soffice.bin process starts when first
already working they hangs both (~20 and 37 MB in memory). First process
generate pdf successfully, but second (end other next processes) not even read
source docx files. 

Temporary resolution is to run converting process with next command: soffice
"-env:UserInstallation=file:///C:/Windows/Temp/<unique_number>/" --headless
--convert-to pdf <source_file> --outdir <output_dir>

Need that everyone soffice watch to unique temp folder.

Steps to Reproduce:
1.Install LibreOffice 5.4.1.2 on Windows Server 2016 Standrad (x64)
2. run twice command to convert docx file to pdf: soffice --headless
--convert-to pdf <input_doc> --outdir <output_dir>


Actual Results:  
All current processes hangs and new processes will hangs too. Need to kill it
through Task Manager or command taskkill /IM soffice /f

Expected Results:
Convert files correctly on every call


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299

-- 
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/20171019/d71f047a/attachment-0001.html>


More information about the Libreoffice-bugs mailing list