1
I developed an application in Java that communicates with microcontrollers through serial ports, in the tests performed in Windows everything went perfectly well but in Linux, more precisely in Centos, the application is aborted by the VM and displays the following error:
A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0x00007ff49482d733, pid=3441, tid=140688439260928
JRE version: OpenJDK Runtime Environment (7.0_71-b14) (build 1.7.0_71-mockbuild_2014_10_17_22_23-b00)
Java VM: OpenJDK 64-Bit Server VM (24.65-b04 mixed mode linux-amd64 compressed oops)
Derivative: IcedTea 2.5.3
Distribution: Built on CentOS release 6.5 (Final) (Fri Oct 17 22:23:16 UTC 2014)
Problematic frame:
C [librxtxSerial.so+0x7733] Java_gnu_io_RXTXPort_nativeDrain+0xc3
I already replaced the libraries (I am using RXTX) and the librxtxSerial.so file with others of different versions and the problem persists. How can I solve?