Wemo binding not showing

I installed the wemo binding but each time the Openhab process simply crashes. Nothing in the openhab log files. Just a Abort trap (core dumped) in the OS console.

I attempted the installation both through Paper UI and Configuration Files. With the UI, the openhab process crashes as mentioned. With config files, the process crashes the first time it starts. The openhab console shows that the addon binding is installed:

openhab-binding-wemo                              | 2.5.1            | x        | Started     | openhab-addons-2.5.1     | Wemo Binding

However it does not show up in the UI.

Please give us some more info:
Hardware,OS, Java version
And please post the log showing your crash.

This is the server log for the entire day. The first few hours were me adding a new z-wave thing. The rest of it is the service being stopped, started, or started after a crash. You can tell it was a crash if you don’t see the server being shutdown.

openhab.log (202.3 KB)

System Log showing crashes

Jun 26 13:24:25 openhab-server kernel: pid 1037 (java), jid 0, uid 235: exited on signal 6 (core dumped)
Jun 26 14:31:31 openhab-server kernel: pid 12713 (java), jid 0, uid 235: exited on signal 6 (core dumped)
Jun 26 14:32:37 openhab-server kernel: pid 12920 (java), jid 0, uid 235: exited on signal 6 (core dumped)
Jun 26 14:35:45 openhab-server kernel: pid 13000 (java), jid 0, uid 235: exited on signal 6 (core dumped)
Jun 26 14:37:34 openhab-server kernel: pid 13065 (java), jid 0, uid 235: exited on signal 6 (core dumped)
Jun 26 14:55:30 openhab-server kernel: pid 13127 (java), jid 0, uid 235: exited on signal 6 (core dumped)
Jun 26 14:58:03 openhab-server kernel: pid 13347 (java), jid 0, uid 235: exited on signal 6 (core dumped)
Jun 26 15:06:09 openhab-server kernel: pid 13427 (java), jid 0, uid 235: exited on signal 6 (core dumped)
Jun 26 15:07:08 openhab-server kernel: pid 13593 (java), jid 0, uid 235: exited on signal 6 (core dumped)

Java version:

root@openhab-server:~ # java -version
openjdk version "1.8.0_242"
OpenJDK Runtime Environment (build 1.8.0_242-b07)
OpenJDK 64-Bit Server VM (build 25.242-b07, mixed mode)

OS Version

root@openhab-server:~ # uname -a
FreeBSD openhab-server.xxxxxxxx.com 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC  amd64

OpenHAB version

root@openhab-server:~ # pkg version | grep openhab2
openhab2-2.5.1                     =
openhab2-addons-2.5.1              =


CPU: Intel(R) Xeon(R) CPU           L5630  @ 2.13GHz (2133.41-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x206c2  Family=0x6  Model=0x2c  Stepping=2
  AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=0x1<LAHF>
  Structured Extended Features=0x2<TSCADJ>
  Structured Extended Features3=0xbc000000<IBPB,STIBP,L1DFL,ARCH_CAP,SSBD>
  TSC: P-state invariant
Hypervisor: Origin = "VMwareVMware"
real memory  = 2147483648 (2048 MB)
avail memory = 2041872384 (1947 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <PTLTD          APIC  >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 2 package(s) x 1 core(s)
random: unblocking device.
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-23 on motherboard
Launching APs: 1
random: entropy device external interface
kbd1 at kbdmux0
000.000023 [4335] netmap_init               netmap: loaded module
[ath_hal] loaded
module_register_init: MOD_LOAD (vesa, 0xffffffff8112e0f0, 0) error 19
vtvga0: <VT VGA driver> on motherboard
cryptosoft0: <software crypto> on motherboard
acpi0: <INTEL 440BX> on motherboard
acpi0: Power Button (fixed)
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
cpu0: <ACPI CPU> numa-domain 0 on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
atrtc0: registered as a time-of-day clock, resolution 1.000000s
Event timer "RTC" frequency 32768 Hz quality 0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1060-0x106f at device 7.1 on pci0
ata0: <ATA channel> at channel 0 on atapci0
ata1: <ATA channel> at channel 1 on atapci0
pci0: <bridge> at device 7.3 (no driver attached)
vgapci0: <VGA-compatible display> port 0x1070-0x107f mem 0xe8000000-0xefffffff,0xfe000000-0xfe7fffff irq 16 at device 15.0 on pci0
vgapci0: Boot video device
mpt0: <LSILogic 1030 Ultra4 Adapter> port 0x1400-0x14ff mem 0xfeba0000-0xfebbffff,0xfebc0000-0xfebdffff irq 17 at device 16.0 on pci0
mpt0: MPI Version=
pcib2: <ACPI PCI-PCI bridge> at device 17.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 21.0 on pci0
pci3: <ACPI PCI bus> on pcib3
vmx0: <VMware VMXNET3 Ethernet Adapter> port 0x4000-0x400f mem 0xfd5fc000-0xfd5fcfff,0xfd5fd000-0xfd5fdfff,0xfd5fe000-0xfd5fffff irq 18 at device 0.0 on pci3
vmx0: Using 512 TX descriptors and 256 RX descriptors
vmx0: Using 2 RX queues 2 TX queues
vmx0: failed to allocate 3 MSI-X vectors, err: 6
vmx0: Using an MSI interrupt
vmx0: Ethernet address: 00:50:56:96:7d:bf
vmx0: netmap queues/slots: TX 1/512, RX 1/512
pcib4: <ACPI PCI-PCI bridge> at device 21.1 on pci0
pcib5: <ACPI PCI-PCI bridge> at device 21.2 on pci0
pcib6: <ACPI PCI-PCI bridge> at device 21.3 on pci0
pcib7: <ACPI PCI-PCI bridge> at device 21.4 on pci0
pcib8: <ACPI PCI-PCI bridge> at device 21.5 on pci0
pcib9: <ACPI PCI-PCI bridge> at device 21.6 on pci0
pcib10: <ACPI PCI-PCI bridge> at device 21.7 on pci0
pcib10: [GIANT-LOCKED]
pcib11: <ACPI PCI-PCI bridge> at device 22.0 on pci0
pcib11: [GIANT-LOCKED]
pci4: <ACPI PCI bus> on pcib11
vmx1: <VMware VMXNET3 Ethernet Adapter> port 0x5000-0x500f mem 0xfd4fc000-0xfd4fcfff,0xfd4fd000-0xfd4fdfff,0xfd4fe000-0xfd4fffff irq 19 at device 0.0 on pci4
vmx1: Using 512 TX descriptors and 256 RX descriptors
vmx1: Using 2 RX queues 2 TX queues
vmx1: failed to allocate 3 MSI-X vectors, err: 6
vmx1: Using an MSI interrupt
vmx1: Ethernet address: 00:50:56:96:39:c9
vmx1: netmap queues/slots: TX 1/512, RX 1/512
pcib12: <ACPI PCI-PCI bridge> at device 22.1 on pci0
pcib12: [GIANT-LOCKED]
pcib13: <ACPI PCI-PCI bridge> at device 22.2 on pci0
pcib13: [GIANT-LOCKED]
pcib14: <ACPI PCI-PCI bridge> at device 22.3 on pci0
pcib14: [GIANT-LOCKED]
pcib15: <ACPI PCI-PCI bridge> at device 22.4 on pci0
pcib15: [GIANT-LOCKED]
pcib16: <ACPI PCI-PCI bridge> at device 22.5 on pci0
pcib16: [GIANT-LOCKED]
pcib17: <ACPI PCI-PCI bridge> at device 22.6 on pci0
pcib17: [GIANT-LOCKED]
pcib18: <ACPI PCI-PCI bridge> at device 22.7 on pci0
pcib18: [GIANT-LOCKED]
pcib19: <ACPI PCI-PCI bridge> at device 23.0 on pci0
pcib19: [GIANT-LOCKED]
pcib20: <ACPI PCI-PCI bridge> at device 23.1 on pci0
pcib20: [GIANT-LOCKED]
pcib21: <ACPI PCI-PCI bridge> at device 23.2 on pci0
pcib21: [GIANT-LOCKED]
pcib22: <ACPI PCI-PCI bridge> at device 23.3 on pci0
pcib22: [GIANT-LOCKED]
pcib23: <ACPI PCI-PCI bridge> at device 23.4 on pci0
pcib23: [GIANT-LOCKED]
pcib24: <ACPI PCI-PCI bridge> at device 23.5 on pci0
pcib24: [GIANT-LOCKED]
pcib25: <ACPI PCI-PCI bridge> at device 23.6 on pci0
pcib25: [GIANT-LOCKED]
pcib26: <ACPI PCI-PCI bridge> at device 23.7 on pci0
pcib26: [GIANT-LOCKED]
pcib27: <ACPI PCI-PCI bridge> at device 24.0 on pci0
pcib27: [GIANT-LOCKED]
pcib28: <ACPI PCI-PCI bridge> at device 24.1 on pci0
pcib28: [GIANT-LOCKED]
pcib29: <ACPI PCI-PCI bridge> at device 24.2 on pci0
pcib29: [GIANT-LOCKED]
pcib30: <ACPI PCI-PCI bridge> at device 24.3 on pci0
pcib30: [GIANT-LOCKED]
pcib31: <ACPI PCI-PCI bridge> at device 24.4 on pci0
pcib31: [GIANT-LOCKED]
pcib32: <ACPI PCI-PCI bridge> at device 24.5 on pci0
pcib32: [GIANT-LOCKED]
pcib33: <ACPI PCI-PCI bridge> at device 24.6 on pci0
pcib33: [GIANT-LOCKED]
pcib34: <ACPI PCI-PCI bridge> at device 24.7 on pci0
pcib34: [GIANT-LOCKED]
acpi_acad0: <AC Adapter> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
acpi_syscontainer0: <System Container> on acpi0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc9fff,0xca000-0xcafff,0xcb000-0xcbfff,0xdc000-0xdffff,0xe0000-0xe7fff pnpid ORM0000 on isa0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff pnpid PNP0900 on isa0
Timecounters tick every 10.000 msec
usb_needs_explore_all: no devclass
cd0 at ata0 bus 0 scbus0 target 0 lun 0
cd0: <NECVMWar VMware IDE CDR00 1.00> Removable CD-ROM SCSI device
cd0: Serial Number 00000000000000000001
cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at mpt0 bus 0 scbus2 target 0 lun 0
da0: <VMware Virtual disk 1.0> Fixed Direct Access SCSI-2 device
da0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit)
da0: Command Queueing enabled
da0: 20480MB (41943040 512 byte sectors)
da0: quirks=0x140<RETRY_BUSY,STRICT_UNMAP>
Trying to mount root from ufs:/dev/da0p2 [rw]...
VMware memory control driver initialized
lo0: link state changed to UP
vmx0: link state changed to UP
vmx1: link state changed to UP
intsmb0: <Intel PIIX4 SMBUS Interface> port 0x1040-0x104f at device 7.3 on pci0
intsmb0: intr SMI disabled revision 0

Please read the pretequidits. You are using a not recommended Java version.
Remove OpenJDK and install Azul Zulu-8.
After having done, please try again.
Is there any particular reason running FreeBSD instead of Ubuntu 20.04 LTS Server on your VM ?
I always use Ubuntu and have not faced any issues.

1 Like

This started working after updating from 2.5.6 to 2.5.9.