0
우분투 14.04 (x64)에서 rxtx 라이브러리 (https://github.com/rxtx/rxtx)로 직렬 포트에서 데이터를 읽으려고합니다. 나는 간단한 자바 애플릿을 빌드하고 Java 1.6에서 실행하고있다 (같은 결과로 1.8을 시도했다).librxtxSerial.so long double restrict
- 포트 초기화 클래스 - http://pastebin.com/KZFfGKtE
- 리스너 클래스 - http://pastebin.com/D4Wq0ctT
그리고 청취자가 다음과 같은 오류와 충돌 입력을 읽을하고자 할 때.
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
일종의 고유 RXTX 라이브러리 (librxtxSerial.so) 문제인 것처럼 보입니다. 어떤 도움을 주시면 감사하겠습니다.