Java 11 cannot stop ffmpeg, java 8 can

Hello,

I installed jibri on debian buster. If I use the default-jre-headless it will install openjdk-11-jre-headless. Apparenty jibri works with it but it cannot stop ffmpeg, hence the recording is corrupted:

2020-04-09 16:28:55.787 SEVERE: [37] org.jitsi.jibri.util.JibriSubprocess.ffmpeg.stop() Error trying to gracefully stop ffmpeg, destroying forcibly
2020-04-09 16:28:55.793 INFO: [37] org.jitsi.jibri.util.JibriSubprocess.ffmpeg.stop() ffmpeg exited with value 137

ffmpeg.0.txt just shows that it’s still capturing until it’s killed.

If I use openjdk-8-jre-headless (from the stretch repositories) I can see that ffmpeg stops correctly.

Which version of Jibri are you using?