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

            Bug ID: 170989
           Summary: Windows headless UNO: intermittent hang in
                    XCloseable.close() after PDF export
           Product: LibreOffice
           Version: 25.8.3.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
When running headless UNO socket automation on Windows and exporting a specific
ODT to PDF, LibreOffice intermittently hangs during document close. The PDF
export itself completes successfully, but the subsequent close sometimes blocks
indefinitely.

Steps to Reproduce:
1. Download the attached files LibreOfficeExport_min.py and
export_failure_demo_redacted.odt
2. Run the following:
"C:\Program Files (x86)\LibreOffice\program\python.exe"
LibreOfficeExport_min.py export_failure_demo_redacted.odt out.pdf --repeat 50

Actual Results:
Intermittently, the run hangs indefinitely in/after doc.close after a
successful PDF export.

Expected Results:
Each iteration exports the PDF and the document closes cleanly; soffice exits
and the loop continues.


Reproducible: Sometimes


User Profile Reset: No

Additional Info:
I've bibisected and found that the first bad commit was
https://github.com/LibreOffice/core/commit/1c78cb0673e117136212fea7b51adcf898ff94f5.

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

Reply via email to