Hey there,
I recently moved my OH3.3.0 setup from native install on Debian into dockerized setup. Since then the container is crashing constantly after few hours.
The only slight complexity I have is a USB zwave stick, that needs to be handed into the container. The rest is more or less straight forward.
Here are some error messages I found:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f91f7f9f4e4, pid=29, tid=1283
#
# JRE version: OpenJDK Runtime Environment Temurin-11.0.15+10 (11.0.15+10) (build 11.0.15+10)
# Java VM: OpenJDK 64-Bit Server VM Temurin-11.0.15+10 (11.0.15+10, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x7974e4] frame::frame(long*, long*, long*, unsigned char*)+0xc4
#
# Core dump will be written. Default location: /openhab/userdata/core
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid29.log
#
# If you would like to submit a bug report, please visit:
# https://github.com/adoptium/adoptium-support/issues
#
events.log
2022-09-22 03:58:00.088 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'zwave:serial_zstick:5ef9b14944' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Serial Error: Port /dev/ttyACM0 does not exist
2022-09-22 03:58:00.090 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'zwave:device:5ef9b14944:node10' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE): Controller is offline
...
hs_err_pid29.log:
...
--------------- T H R E A D ---------------
Current thread (0x00007fac7c2d1800): JavaThread "RXTXPortMonitor(/dev/ttyACM1)" daemon [_thread_in_Java, id=680, stack(0x00007fac3698e000,0x00007fac36a8f000)]
Stack: [0x00007fac3698e000,0x00007fac36a8f000], sp=0x00007fac36a8d738, free space=1021k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
j java.lang.Thread.join()V+2 java.base@11.0.15
j org.openhab.binding.zwave.handler.ZWaveSerialHandler.disposeReceiveThread()V+30
j org.openhab.binding.zwave.handler.ZWaveSerialHandler.onSerialPortError(Ljava/lang/String;)V+69
j org.openhab.binding.zwave.handler.ZWaveSerialHandler$ZWaveReceiveThread.serialEvent(Lorg/openhab/core/io/transport/serial/SerialPortEvent;)V+17
j org.openhab.core.io.transport.serial.rxtx.RxTxSerialPort$1.serialEvent(Lgnu/io/SerialPortEvent;)V+17
j gnu.io.RXTXPort.sendEvent(IZ)Z+397
j gnu.io.RXTXPort$MonitorThread.run()V+42
v ~StubRoutines::call_stub
V [libjvm.so+0x8d5dbb] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x39b
V [libjvm.so+0x8d3d7d] JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, Thread*)+0x1ed
V [libjvm.so+0x98118c] thread_entry(JavaThread*, Thread*)+0x6c
V [libjvm.so+0xed4cfa] JavaThread::thread_main_inner()+0x1ba
V [libjvm.so+0xed18ff] Thread::call_run()+0x14f
V [libjvm.so+0xc719be] thread_native_entry(Thread*)+0xee
siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x00007fac000009a0
....
Seems like the Zwave stick disappears from the system and thus somehow OH3 dies. Will investigate in that direction.
Does anyone have any other recommendations how/what to troubleshoot and resolve this?
Thank much for your hints.
Sebastian