Ich versuche, Daten von der seriellen Schnittstelle mit RXTX-Bibliothek (https://github.com/rxtx/rxtx) auf Ubuntu 14.04 (x64) zu lesen. Ich habe ein einfaches Java-Applet, das mit Java 1.6 gebaut wurde (und 1.8 mit dem gleichen Ergebnis versuchte).librxtxSerial.so lange doppelte Einschränkung
- Port-init-Klasse - http://pastebin.com/KZFfGKtE
- Listener-Klasse - http://pastebin.com/D4Wq0ctT
Und wenn Zuhörer Eingang lesen will es mit dem folgenden Fehler abstürzt.
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
RXTX Warning: Removing stale lock file. /var/lock/LCK..ttyUSB0
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f90ac2e2462, pid=6721, tid=140259339552512
#
# JRE version: 6.0_45-b06
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.45-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [librxtxSerial.so+0x6462] long double restrict+0x52
#
# An error report file with more information is saved as:
# /home/etxzay/IdeaProjects/Solenoid/hs_err_pid6721.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Experimental: JNI_OnLoad called.
Process finished with exit code 134
Sieht aus wie es eine Art native RXTX Bibliothek (librxtxSerial.so) Problem ist. Würde mich über jede Hilfe freuen.