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

            Bug ID: 120676
           Summary: Concurrent --convert-to pdf sessions fail silently
           Product: LibreOffice
           Version: 6.1.2.1 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
When converting documents to PDF in headless mode, if you run 2 conversions
concurrently one does not produce any output.

Steps to Reproduce:
1. In one terminal window enter
libreoffice6.1 --convert-to pdf hamlet1.docx 
2. In second terminal window, before 1st conversions completes
libreoffice6.1 --convert-to pdf hamlet2.docx 
3. Check for output (hamlet1.pdf and hamlet2.pdf)

Actual Results:
neily@dev6 tmp 13:45:44 2008 $ time libreoffice6.1 --convert-to pdf
/tmp/hamlet1.docx 
convert /tmp/hamlet1.docx -> /tmp/hamlet1.pdf using filter : writer_pdf_Export
Overwriting: /tmp/hamlet1.pdf

real    0m2.948s
user    0m2.822s


neily@dev6 tmp 13:45:34 1970 $ time libreoffice6.1 --convert-to pdf
/tmp/hamlet2.docx 

real    0m2.233s
user    0m0.011s
sys     0m0.001s


Note that the expected message
"convert /tmp/hamlet1.docx -> /tmp/hamlet1.pdf using filter :
writer_pdf_Export"
does not appear in the second result

neily@dev6 tmp 13:44:42 2006 $ ls -l *.pdf
-rw-rw-r-- 1 neily neily 279359 Oct 18 13:44 hamlet1.pdf

Note: hamlet2.pdf is not present

Expected Results:
2 PDF files should have been produced.


Reproducible: Always


User Profile Reset: No



Additional Info:
the workaround of using -env:UserInstallation=file:///tmp/unique-dir/ from Bug
113259 seems to be effective for this issue as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to