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

            Bug ID: 152002
           Summary: LibreOffice process fails to get destroyed
           Product: LibreOffice
           Version: 7.4.2.3 release
          Hardware: Other
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Description:
We recently upgraded to LibreOffice 7.4.2 from 7.0.4 
We use following code to convert an excel to pdf/html

   ProcessBuilder   pb =
          new ProcessBuilder(
              installDir,
              "--accept=socket,host=localhost,port="
                  + port.getPort()
                  + ";urp;StarOffice.ServiceManager",
              "--invisible",
              "--headless",
              "--nologo",
              "--nofirststartwizard",
              "-env:UserInstallation=file:///C:/OpenOfficeTemp/8200);

final Process process = pb.start();

OpenOfficeConnection connection = new
com.artofsolving.jodconverter.openoffice.connection.SocketOpenOfficeConnection(port.getPort());
connection.connect();
DocumentConverter converter = new OpenOfficeDocumentConverter(connection);
converter.convert(inputFile, outputFile);

//Finally destroy process
process.destroy();

sometimes process keeps running on port 8200 and does not get killed. So the
next process fails to start. It worked perfectly fine when using LibreOffice
7.0.4  for more than 3 years without any issues. 

Steps to Reproduce:
1. Keep the above code running on a windows machine for 30-40 times a day for
converting an excel to pdf/html.
2. once the issue starts occurring , you can see it happening for next few
days.
3. We have this process running on multiple nodes, and every day it will be
seen on a new node and will be seen for next few days on that node almost 80%of
the times.

Actual Results:
It fails 60-80% of the time.

Expected Results:
It should work 100% of the times.


Reproducible: Sometimes


User Profile Reset: No

Additional Info:
It's happenning on windows machines running JDK 11.0.6 and windows server 2012
R2

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

Reply via email to