I should add 2 more observations: 1)
When using openjdk8, the same method causes the printing of this text Exception: java.lang.StackOverflowError thrown from the UncaughtExceptionHandler in thread "process reaper" But this does not interrupt the execution of the current octave function (and the child process is executed as expected). 2) Executing the same sequence in a simple java program with openjdk11 does not exhibit the same error: This programm public class A { public static void main(String[] args) { java.lang.Runtime runtime = java.lang.Runtime.getRuntime(); try { runtime.exec("/usr/bin/touch /tmp/testfile3"); System.out.println("Success"); } catch (java.lang.Exception e) { System.out.println("Error"); } } } compiled with javac 11.0.6 prints "Success", not "Error", and the child process is executed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1866453 Title: octave java error: pthread_create failed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/octave/+bug/1866453/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs