Install scripting addons causes fatal error since openHAB 3.3.0 Docker

  • Platform information:
    • Hardware: Raspberry Pi 4 Model B 4GB
    • OS: Debian GNU/Linux 11 (bullseye)
    • Java Runtime Environment: OpenJDK 64-Bit Server VM (11.0.15+10-alpine-r1) for linux-aarch64 JRE (11.0.15+10-alpine-r1), built on May 13 2022 23:26:25 by “buildozer” with gcc 11.2.1 20220219
    • openHAB version: Docker image openhab/openhab:3.3.0-alpine
  • Issue of the topic:
    install any (eg JRuby, Jython) scripting addon in a clean docker container causes:
    #A fatal error has been detected by the Java Runtime Environment:
    #SIGSEGV (0xb) at pc=0x0000000000005e30, pid=36, tid=180

Operating version (3.3.0.M2-alpine) works fine with Jython.

Any idea what could be the cause?

That’s a segmentation fault error. I’d guess you’ve got a bad spot in your RAM.

Thanks for the reply.
I took a new Pi4 with 4Gb Ram and a fresh Raspberry Pi OS 64bit and run the Container.
Same issue while installing a scripting addon:

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x0000000000005e30, pid=35, tid=173

JRE version: OpenJDK Runtime Environment (11.0.15+10) (build 11.0.15+10-alpine-r1)
Java VM: OpenJDK 64-Bit Server VM (11.0.15+10-alpine-r1, mixed mode, tiered, compressed oops, g1 gc, linux-aarch64)

Any more ideas?

Try the other distribution Docker image. I think by default you get the debian image. Try using the alpine image.

If that doesn’t work file an issue to see if the devs will change out the JVM in the image to something else. If RAM has been eliminated as the problem, then it’s the JVM that’s the problem.