OH3: Fatal error in JRE runtime

I found this in the syslog this morning:

Dec 26 02:10:48 openhab karaf[742]: # A fatal error has been detected by the Java Runtime Environment:
Dec 26 02:10:48 openhab karaf[742]: #
Dec 26 02:10:48 openhab karaf[742]: #  SIGSEGV (0xb) at pc=0x00007f96c01debc5, pid=742, tid=8611
Dec 26 02:10:48 openhab karaf[742]: #
Dec 26 02:10:48 openhab karaf[742]: # JRE version: OpenJDK Runtime Environment Zulu11.43+55-CA (11.0.9.1+1) (build 11.0.9.1+1-LTS)
Dec 26 02:10:48 openhab karaf[742]: # Java VM: OpenJDK 64-Bit Server VM Zulu11.43+55-CA (11.0.9.1+1-LTS, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
Dec 26 02:10:48 openhab karaf[742]: # Problematic frame:
Dec 26 02:10:48 openhab karaf[742]: #
Dec 26 02:10:48 openhab karaf[742]: [error occurred during error reporting (printing problematic frame), id 0xb, SIGSEGV (0xb) at pc=0x00007f96dcf7bb0a]
Dec 26 02:10:48 openhab karaf[742]: # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /var/lib/openhab/core.742)
Dec 26 02:10:48 openhab karaf[742]: #
Dec 26 02:10:48 openhab karaf[742]: # An error report file with more information is saved as:
Dec 26 02:10:48 openhab karaf[742]: # /var/lib/openhab/hs_err_pid742.log
Dec 26 02:10:48 openhab karaf[742]: Could not load hsdis-amd64.so; library not loadable; PrintAssembly is disabled
Dec 26 02:10:48 openhab karaf[742]: #
Dec 26 02:10:48 openhab karaf[742]: # If you would like to submit a bug report, please visit:
Dec 26 02:10:48 openhab karaf[742]: #   http://www.azulsystems.com/support/
Dec 26 02:10:48 openhab karaf[742]: #
Dec 26 02:10:53 openhab systemd[1]: openhab.service: Main process exited, code=killed, status=6/ABRT
Dec 26 02:10:53 openhab systemd[1]: openhab.service: Failed with result 'signal'.
Dec 26 02:10:59 openhab systemd[1]: openhab.service: Scheduled restart job, restart counter is at 1.

I am running openHAB version 3.0.0 on Ubuntu 20.04.1 LTS.

Hi sheldon,

did you resolve the issue? I’ve the same issue since around one week. My setup is:

  • Ubuntu 20.04.2 LTS
  • OH 3.0
  • USB Hub with 4 plugged USB Sticks (eBus, Eltako, ZWave, Zigbee).

When the error occurs, my compete OH instance is restarted.

Best regards

Hi Daniel,

I am not aware of another occurence (otherwise I would have “revived” the thread). I did not change anything, so I cannot say anything about the potential cause.

Kind regards

Hi sheldon,

I did some investigation today and found the following solution:

  • reason for the error is my Conbee II Stick, after plugin the error occures and openHab was restarted
  • I’ve patched the Conbee II to the latest beta firmware, but the error still exists
  • I’ve checked some more error results and found out, that the ModemManager is the reason for the error

I don’t know why - because my system runs about months without an error - so I think a firmwareupgrade of the Conbee II was the reason.

Error in /var/log/syslog

kernel: [20990.065922] usb 4-1: New USB device found, idVendor=1cf1, idProduct=0030, bcdDevice= 1.00
kernel: [20990.065925] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
kernel: [20990.065927] usb 4-1: Product: ConBee II
kernel: [20990.065929] usb 4-1: Manufacturer: dresden elektronik ingenieurtechnik GmbH
kernel: [20990.065931] usb 4-1: SerialNumber: DE2406859
kernel: [20990.071234] cdc_acm 4-1:1.0: ttyACM1: USB ACM device
snapd[716]: hotplug.go:199: hotplug device add event ignored, enable experimental.hotplug
kernel: [21059.517639] usb 4-1: USB disconnect, device number 10
kernel: [21059.825610] usb 4-2: USB disconnect, device number 2
karaf[917]: #
karaf[917]: # A fatal error has been detected by the Java Runtime Environment:
karaf[917]: #
karaf[917]: #  SIGSEGV (0xb) at pc=0x00007efe8889af03, pid=917, tid=8954
karaf[917]: #
karaf[917]: # JRE version: OpenJDK Runtime Environment (11.0.10+9) (build 11.0.10+9-Ubuntu-0ubuntu1.20.04)
karaf[917]: # Java VM: OpenJDK 64-Bit Server VM (11.0.10+9-Ubuntu-0ubuntu1.20.04, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
karaf[917]: # Problematic frame:
karaf[917]: #
karaf[917]: [error occurred during error reporting (printing problematic frame), id 0xb, SIGSEGV (0xb) at pc=0x00007efea6666956]
karaf[917]: # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /var/lib/openhab/core.917)
karaf[917]: #
karaf[917]: # An error report file with more information is saved as:
karaf[917]: # /var/lib/openhab/hs_err_pid917.log
karaf[917]: Compiled method (nm) 21038226 2224     n 0       java.lang.Thread::isAlive (native)
karaf[917]:  total in heap  [0x00007efe90407710,0x00007efe90407a90] = 896
karaf[917]:  relocation     [0x00007efe90407888,0x00007efe904078b8] = 48
karaf[917]:  main code      [0x00007efe904078c0,0x00007efe90407a90] = 464
karaf[917]: Could not load hsdis-amd64.so; library not loadable; PrintAssembly is disabled
karaf[917]: #
karaf[917]: # If you would like to submit a bug report, please visit:
karaf[917]: #   https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
karaf[917]: #
kernel: [21060.117430] usb 4-2: new full-speed USB device number 11 using uhci_hcd
kernel: [21060.288228] usb 4-2: New USB device found, idVendor=0658, idProduct=0200, bcdDevice= 0.00
kernel: [21060.288231] usb 4-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
kernel: [21060.290693] cdc_acm 4-2:1.0: ttyACM1: USB ACM device
snapd[716]: hotplug.go:199: hotplug device add event ignored, enable experimental.hotplug
systemd[1]: openhab.service: Main process exited, code=killed, status=6/ABRT

And

ModemManager[374]: <warn>  (ttyACM0) could not open serial device (2)
ModemManager[374]: <warn>  [plugin manager] task 25,ttyACM0: error when checking support with plugin 'Via CBP7': '(tty/ttyACM0) failed to open port: Could not open serial device ttyACM0: No such file or directory'
ModemManager[374]: <warn>  (ttyACM0) could not open serial device (2)
ModemManager[374]: <warn>  [plugin manager] task 25,ttyACM0: error when checking support with plugin 'u-blox': '(tty/ttyACM0) failed to open port: Could not open serial device ttyACM0: No such file or directory'
ModemManager[374]: <warn>  (ttyACM0) could not open serial device (2)
ModemManager[374]: <warn>  [plugin manager] task 25,ttyACM0: error when checking support with plugin 'Iridium': '(tty/ttyACM0) failed to open port: Could not open serial device ttyACM0: No such file or directory'
ModemManager[374]: <warn>  (ttyACM0) could not open serial device (2)
ModemManager[374]: <warn>  [plugin manager] task 25,ttyACM0: error when checking support with plugin 'Telit': '(tty/ttyACM0) failed to open port: Could not open serial device ttyACM0: No such file or directory'
ModemManager[374]: <warn>  (ttyACM0) could not open serial device (2)
ModemManager[374]: <warn>  [plugin manager] task 25,ttyACM0: error when checking support with plugin 'Nokia': '(tty/ttyACM0) failed to open port: Could not open serial device ttyACM0: No such file or directory'
ModemManager[374]: <warn>  (ttyACM0) could not open serial device (2)
ModemManager[374]: <warn>  [plugin manager] task 25,ttyACM0: error when checking support with plugin 'Generic': '(tty/ttyACM0) failed to open port: Could not open serial device ttyACM0: No such file or directory'
ModemManager[374]: <info>  Couldn't check support for device '/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4': not supported by any plugin

Best regards Daniel