-
Platform information A:
- Hardware: VirtualBox headless VM with 1 CPU, 1024 MB on host i5-8400 16 GB Debian 11
- OS: Debian 10
- Java Runtime Environment: zulu8-jre OpenJDK Runtime Environment (Zulu 8.66.0.15-CA-linux64) (build 1.8.0_352-b08)
- openHAB version: 2.5.12 Release build
-
Platform information B:
- Hardware: VirtualBox headless VM with 2 CPU, 2048 MB on same i5-8400 host
- OS: Debian 11
- Java Runtime Environment: openjdk-11-jre OpenJDK Runtime Environment (build 11.0.16+8-post-Debian-1deb11u1)
- openHAB version: 3.3.0 Release Build
-
Issue of the topic:
- I have two instances of openHAB running in VMs on the same host, my production system with openHAB 2.5, and a new openHAB 3.3 installation intended to replace the old one, eventually,
- both instances crash approx. 1-2 times per day, with a SIGSEGV. An example log is shown below.
- there are other VMs running on the same host, also under Debian 10 or 11, they never crash
- occasionally other programs on the VMs running openHAB have also crashed with SIGSEGV, e.g. influxdb or a custom-made python script. I don’t see such crashes on other non-openHAB VM on the same host
-
Configurations (if applicable):
Can’t post all configuration files, with 120 things, 956 items, 77 rules, but the crash doesn’t appear to be linked to a specific item. I checked whether e.g. the same item was always updated, or the same rule triggered, immediately before the crash, but that is not the case -
Logs:
A typical log, from the openHAB 3.3 machine
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - #
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - # A fatal error has been detected by the Java Runtime Environment:
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - #
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - # SIGSEGV (0xb) at pc=0x00007fdaa0ef182e, pid=481443, tid=488256
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - #
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - # JRE version: OpenJDK Runtime Environment (11.0.16+8) (build 11.0.16+8-post-Debian-1deb11u1)
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - # Java VM: OpenJDK 64-Bit Server VM (11.0.16+8-post-Debian-1deb11u1, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - # Problematic frame:
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - # J 23611 c2 java.util.concurrent.LinkedTransferQueue.xfer(Ljava/lang/Object;ZIJ)Ljava/lang/Object; java.base@11.0.16 (236 bytes) @ 0x00007fdaa0ef182e [0x00007fdaa0ef14e0+0x000000000000034e]
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - #
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - #
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - # An error report file with more information is saved as:
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - # /var/lib/openhab/hs_err_pid481443.log
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - Compiled method (nm) 10367055 2638 n 0 java.lang.Thread::isAlive (native)
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - total in heap [0x00007fdaa03cb690,0x00007fdaa03cba20] = 912
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - relocation [0x00007fdaa03cb808,0x00007fdaa03cb838] = 48
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - main code [0x00007fdaa03cb840,0x00007fdaa03cba20] = 480
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - Compiled method (c2) 10367056 17516 ! 4 java.util.concurrent.ThreadPoolExecutor::getActiveCount (70 bytes)
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - total in heap [0x00007fdaa0a52110,0x00007fdaa0a53bc0] = 6832
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - relocation [0x00007fdaa0a52288,0x00007fdaa0a52378] = 240
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - main code [0x00007fdaa0a52380,0x00007fdaa0a53320] = 4000
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - stub code [0x00007fdaa0a53320,0x00007fdaa0a53380] = 96
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - metadata [0x00007fdaa0a53380,0x00007fdaa0a53458] = 216
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - scopes data [0x00007fdaa0a53458,0x00007fdaa0a53808] = 944
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - scopes pcs [0x00007fdaa0a53808,0x00007fdaa0a53a68] = 608
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - dependencies [0x00007fdaa0a53a68,0x00007fdaa0a53a78] = 16
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - handler table [0x00007fdaa0a53a78,0x00007fdaa0a53b68] = 240
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - nul chk table [0x00007fdaa0a53b68,0x00007fdaa0a53bc0] = 88
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - Could not load hsdis-amd64.so; library not loadable; PrintAssembly is disabled
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - #
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - # If you would like to submit a bug report, please visit:
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - # https://bugs.debian.org/openjdk-11
2022-11-29T04:16:21+01:00 ha-server3 karaf 481443 - - #
2022-11-29T04:16:21+01:00 ha-server3 systemd 1 - - openhab.service: Main process exited, code=killed, status=6/ABRT
2022-11-29T04:16:21+01:00 ha-server3 systemd 1 - - openhab.service: Failed with result 'signal'.
2022-11-29T04:16:21+01:00 ha-server3 systemd 1 - - openhab.service: Consumed 4min 26.202s CPU time.
2022-11-29T04:16:26+01:00 ha-server3 systemd 1 - - openhab.service: Scheduled restart job, restart counter is at 2.