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
Well I'm aware of this kind of issue after a second crash. So LibreOffice crashes. You restart LibreOffice again. On the next crash soffice.bin keeps running.. Timeframe of introduction matches with my experiences. I reported it a couple of times. However the direct cause of crash gets fixed...