I had version 1.1 of OpenHAB working on my SheevaPlug. This is an ARMv5 device with Debian installed (32 bits). No problems with the serial port.
But version 1.2 with the NRJavaSerial library causes the JVM to crash.
19:58:45.267 INFO o.o.c.internal.CoreActivator[:92] - openHAB runtime has been started (v1.2.0).
19:58:53.338 DEBUG o.o.m.i.i.ItemModelActivator[:44] - Registered 'item' configuration parser
19:58:53.467 DEBUG o.o.c.a.i.AutoUpdateActivator[:51] - AutoUpdate binding has been started.
19:58:55.263 DEBUG o.o.b.s.i.SerialActivator[:51] - Serial binding has been started.
19:58:55.411 DEBUG o.o.c.i.items.ItemRegistryImpl[:151] - Item provider 'GenericItemProvider' has been added.
19:58:57.469 DEBUG o.o.m.p.i.PersistenceModelActivator[:43] - Registered 'persistence' configuration parser
19:58:58.215 DEBUG o.o.c.t.i.TransformationActivator[:58] - Transformation Service has been started.
19:58:58.997 DEBUG o.o.i.g.internal.GCalActivator[:54] - Google Calendar IO has been started.
19:58:59.408 DEBUG o.o.i.g.i.p.GCalPresenceSimulation[:161] - Scheduled Google Calendar Upload-Job with interval '10'
19:59:00.520 DEBUG o.o.i.m.i.MultimediaActivator[:54] - Multimedia I/O bundle has been started.
19:59:02.862 DEBUG o.o.c.s.AbstractActiveService[:196] - HTTP Refresh Service has been started
19:59:02.874 DEBUG o.o.c.s.AbstractActiveService[:196] - NTP Refresh Service has been started
19:59:02.897 DEBUG o.o.b.h.internal.HttpInBinding[:125] - item 'Weather_Temperature' is about to be refreshed now
19:59:03.093 DEBUG o.o.b.ntp.internal.NtpBinding[:113] - Got time from
0.europe.pool.ntp.org: Saturday, March 16, 2013 7:59:03 PM CET
RXTX Warning: Removing stale lock file. /var/lock/LCK..ttyS0
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x4feccb94, pid=18101, tid=1339896944
#
# JRE version: 7.0_10-b18
# Java VM: Java HotSpot(TM) Embedded Client VM (23.6-b04 mixed mode linux-arm )
# Problematic frame:
# C [libNRJavaSerialv6_HF.so+0x8b94] Java_gnu_io_RXTXCommDriver_testRead+0x1c0
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /opt/openhab1.2/hs_err_pid18101.log
#
# If you would like to submit a bug report, please visit:
#
http://bugreport.sun.com/bugreport/crash.jsp# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Information from hs_err_pid18101.log
===========================
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j gnu.io.RXTXCommDriver.testRead(Ljava/lang/String;I)Z+0
j gnu.io.RXTXCommDriver.registerValidPorts([Ljava/lang/String;[Ljava/lang/String;I)V+202
j gnu.io.RXTXCommDriver.registerScannedPorts(I)V+1502
j gnu.io.RXTXCommDriver.initialize()V+35
j gnu.io.CommPortIdentifier.getPortIdentifiers()Ljava/util/Enumeration;+53
j gnu.io.NativeResource.testNativeCode()V+0
j gnu.io.NativeResource.inJarLoad(Ljava/lang/String;)V+37
j gnu.io.NativeResource.loadLib(Ljava/lang/String;)V+37
j gnu.io.NativeResource.load(Ljava/lang/String;)V+138
j gnu.io.SerialManager.<init>()V+23
j gnu.io.SerialManager.getInstance()Lgnu/io/SerialManager;+10
j gnu.io.RXTXCommDriver.<clinit>()V+39
v ~StubRoutines::call_stub
J java.lang.Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
j java.lang.Class.forName(Ljava/lang/String;)Ljava/lang/Class;+5
j gnu.io.CommPortIdentifier.<clinit>()V+12
v ~StubRoutines::call_stub
j org.openhab.binding.serial.internal.SerialDevice.initialize()V+0
j org.openhab.binding.serial.internal.SerialBinding.processBindingConfiguration(Ljava/lang/String;Lorg/openhab/core/items/Item;Ljava/lang/String;)V+46
j org.openhab.model.item.internal.GenericItemProvider.dispatchBindings(Ljava/lang/String;Lorg/openhab/core/items/Item;Lorg/eclipse/emf/common/util/EList;)V+78
j org.openhab.model.item.internal.GenericItemProvider.getItems()Ljava/util/Collection;+372
j org.openhab.core.internal.items.ItemRegistryImpl.allItemsChanged(Lorg/openhab/core/items/ItemProvider;Ljava/util/Collection;)V+119
j org.openhab.model.item.internal.GenericItemProvider.modelChanged(Ljava/lang/String;Lorg/openhab/model/core/EventType;)V+37
j org.openhab.model.core.internal.ModelRepositoryImpl.notifyListeners(Ljava/lang/String;Lorg/openhab/model/core/EventType;)V+35
j org.openhab.model.core.internal.ModelRepositoryImpl.addOrRefreshModel(Ljava/lang/String;Ljava/io/InputStream;)Z+72
j org.openhab.model.core.internal.folder.FolderObserver.checkFolder(Ljava/lang/String;)V+212
j org.openhab.model.core.internal.folder.FolderObserver.run()V+105
Anybody else experienced this behaviour? Maybe on a Rasberry Pi?
Regards,
David