JVB crashing with java error

Last night I held my first Jitsi Video Meeting with my new Jitsi install. This is running on Ubuntu 9.3 (stretch).

Two of us joined the meeting, and it was fine. A third pesron joined, and it all went wrong.

I found that the video bridge had stopped. The last few lines of jvb.log say:

	JVB 2019-11-04 16:59:08.204 FINE: [57778927] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component 'JitsiVideobridge') Processing IQ (packetId jl9Fj-275208): <iq type="set" to="jitsi-videobridge.meet.extinctionrebellion.org.uk" from="focus@auth.meet.extinctionrebellion.org.uk/focus10808414681987226" id="jl9Fj-275208"><conference xmlns="http://jitsi.org/protocol/colibri" id="6bb30d628d4e13c1" name="oscomms" gid="ffe712"><channel-bundle id="66bdb045"><transport xmlns="urn:xmpp:jingle:transports:ice-udp:1" ufrag="Yo3Q" pwd="9wl5+HuERReYfOuNyHvgL7sm"><rtcp-mux/><fingerprint xmlns="urn:xmpp:jingle:apps:dtls:0" hash="sha-256" required="true">F8:AE:4A:F4:56:D8:DA:7F:6C:76:D6:50:59:8D:4C:7B:6C:25:3A:0D:AC:DE:B9:CA:B4:5F:F6:A5:C5:86:CA:99</fingerprint><candidate type="host" protocol="udp" id="ezp90ffjoc" ip="e8e16606-42b3-4be9-ac2a-364750ad4e7d.local" component="1" port="54950" foundation="704553097" generation="0" priority="2113937151" network="1"/></transport></channel-bundle></conference></iq>
	JVB 2019-11-04 16:59:08.204 FINE: [57778927] org.jitsi.videobridge.xmpp.ComponentImpl.processIQRequest() (serving component 'JitsiVideobridge') Processing IQ request (packetId jl9Fj-275208).
	java: relocation error: /lib/x86_64-linux-gnu/libnss_dns.so.2: symbol __resolv_context_get, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference

Checking library links:

	/lib/x86_64-linux-gnu# ls -l libc.* libnss_dns*
	lrwxrwxrwx 1 root root    12 May  1  2019 libc.so.6 -> libc-2.28.so
	-rw-r--r-- 1 root root 26960 May  1  2019 libnss_dns-2.28.so
	lrwxrwxrwx 1 root root    18 May  1  2019 libnss_dns.so.2 -> libnss_dns-2.28.so

Any clues what went wrong, and how to prevent it happening again?

This is the first time I see such an error. I suppose you mean Debian 9.3 not Ubuntu … Are you running with java 11 or java 8, is it openjdk coming from the official repo?
It seems like some java bug …

Right, Debian, sorry.

openjdk version “1.8.0_212”
OpenJDK Runtime Environment (build 1.8.0_212-8u212-b03-2~deb9u1-b03)
OpenJDK 64-Bit Server VM (build 25.212-b03, mixed mode)

I just had a meeting with the person who broke it last time, and it worked fine. So it’s a mystery. I’ll put it down to cosmic rays :wink: