Package: octave Version: 4.4.1-5 Severity: normal Dear Maintainer,
I don't know whether this is a bug in Octave or a bug in OpenJDK (or both), but if an Octave program loads a Java library that creates a subprocess, it results in an unhandled StackOverflowError, and trying to get the exit status of the subprocess causes the entire program to hang. On Debian stretch (octave 4.0.3-3, openjdk-8-jre 8u252-b09-1~deb9u1): $ octave -W -q -f octave:1> b = javaObject('java.lang.ProcessBuilder', {'/bin/true'}); octave:2> p = b.start(); octave:3> p.waitFor() ans = 0 On Debian buster (octave 4.4.1-5, openjdk-11-jre 11.0.7+10-3~deb10u1): $ octave -W -q -f octave:1> b = javaObject('java.lang.ProcessBuilder', {'/bin/true'}); OpenJDK 64-Bit Server VM warning: Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "org.octave.OctClassLoader"). To use archived non-system classes, this property must be not be set octave:2> p = b.start(); Exception: java.lang.StackOverflowError thrown from the UncaughtExceptionHandler in thread "process reaper" octave:3> p.waitFor() causes octave to hang. (I have no idea what the "Archived non-system classes are disabled" thing means, but it appears unrelated.) -- System Information: Debian Release: 10.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-8-amd64 (SMP w/40 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages octave depends on: ii libamd2 1:5.4.0+dfsg-1 ii libarpack2 3.7.0-2 ii libasound2 1.1.8-1 ii libatlas3-base [liblapack.so.3] 3.10.3-8 ii libblas3 [libblas.so.3] 3.8.0-2 ii libbz2-1.0 1.0.6-9.2~deb10u1 ii libc6 2.28-10 ii libcamd2 1:5.4.0+dfsg-1 ii libccolamd2 1:5.4.0+dfsg-1 ii libcholmod3 1:5.4.0+dfsg-1 ii libcolamd2 1:5.4.0+dfsg-1 ii libcxsparse3 1:5.4.0+dfsg-1 ii libfftw3-double3 3.3.8-2 ii libfftw3-single3 3.3.8-2 ii libfltk-gl1.3 1.3.4-9 ii libfltk1.3 1.3.4-9 ii libfreetype6 2.9.1-3+deb10u1 ii libgcc1 1:8.3.0-6 ii libgl1 1.1.0-1 ii libglpk40 4.65-2 ii libglu1-mesa [libglu1] 9.0.0-2.1+b3 ii libgomp1 8.3.0-6 ii libklu1 1:5.4.0+dfsg-1 ii liblapack3 [liblapack.so.3] 3.8.0-2 ii liboctave6 4.4.1-5 ii libopenblas-base [liblapack.so.3] 0.3.5+ds-3 ii libportaudio2 19.6.0-1 ii libqhull7 2015.2-4 ii libqrupdate1 1.1.2-3 ii libqscintilla2-qt5-13 2.10.4+dfsg-2.1 ii libqt5core5a 5.11.3+dfsg1-1+deb10u3 ii libqt5gui5 5.11.3+dfsg1-1+deb10u3 ii libqt5help5 5.11.3-4 ii libqt5network5 5.11.3+dfsg1-1+deb10u3 ii libqt5opengl5 5.11.3+dfsg1-1+deb10u3 ii libqt5printsupport5 5.11.3+dfsg1-1+deb10u3 ii libqt5sql5 5.11.3+dfsg1-1+deb10u3 ii libqt5widgets5 5.11.3+dfsg1-1+deb10u3 ii libsndfile1 1.0.28-6 ii libstdc++6 8.3.0-6 ii libsuitesparseconfig5 1:5.4.0+dfsg-1 ii libumfpack5 1:5.4.0+dfsg-1 ii libx11-6 2:1.6.7-1 ii octave-common 4.4.1-5 ii texinfo 6.5.0.dfsg.1-4+b1 ii zlib1g 1:1.2.11.dfsg-1 Versions of packages octave recommends: ii default-jre-headless 2:1.11-71 ii epstool 3.09-1 ii gnuplot-qt [gnuplot-x11] 5.2.6+dfsg1-1+deb10u1 ii libatlas3-base 3.10.3-8 ii libopenblas-base 0.3.5+ds-3 ii octave-doc 4.4.1-5 ii pstoedit 3.73-1+b1 Versions of packages octave suggests: ii liboctave-dev 4.4.1-5 -- debconf-show failed