https://bugs.freedesktop.org/show_bug.cgi?id=49432
--- Comment #4 from Michael Stahl <mst...@redhat.com> 2012-05-15 06:21:32 PDT --- ah yes that problem sounds familiar, i had it when some of our unit tests, which also use remote UNO from Java, got wedged somehow and the soffice.bin kept running, which was quite annoying, hence the commit cited in comment #3. so please try out if LO 3.5.3, which includes the commit, fixes your problem. the soffice shell script exec's the oosplash program, which in turn forks soffice.bin, hence sending a SIGTERM to the soffice process spawned from Java UNO ought to work (it does work for the unit tests at least, see unotest/source/java/org/openoffice/test/OfficeConnection.java tearDpwm method for extensive error handling stuff). there are however still race conditions, i.e. it is possible (though extremely unlikely) that the soffice.bin terminates by itself before the SIGTERM is sent to it, and an unrelated process is spawned in the meantime that happens to have the same PID... but there doesn't seem to be a POSIX interface that allows to "kill a process and all its children"; apparently systemd uses Linux specific "cgroups" to get that feature (i wonder if that is something that requires root): http://0pointer.de/blog/projects/systemd-for-admins-4.html -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs