A fatal error has been detected by the Java Runtime Environment

I encountered a headache when I used Java to develop serial communication projects. At present, the project has been successful on Windows32&64, but it always reports an error on Linux, which seems to be due to the JVM exception caused by the serial port package Rxtx. The Log is as follows:

-sharp
-sharp A fatal error has been detected by the Java Runtime Environment:
-sharp
-sharp  SIGSEGV (0xb) at pc=0x00007f83aa558d9d, pid=21887, tid=0x00007f83aa316700
-sharp
-sharp JRE version: Java(TM) SE Runtime Environment (8.0_171-b11) (build 1.8.0_171-b11)
-sharp Java VM: Java HotSpot(TM) 64-Bit Server VM (25.171-b11 mixed mode linux-amd64 compressed oops)
-sharp Problematic frame:
-sharp C  [librxtxSerial.so+0x6d9d]  read_byte_array+0x3d
-sharp
-sharp Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
-sharp
-sharp An error report file with more information is saved as:
-sharp /root/Workspaces/MyEclipse 2017/telegram/hs_err_pid21887.log
-sharp
-sharp If you would like to submit a bug report, please visit:
-sharp   http://bugreport.java.com/bugreport/crash.jsp
-sharp The crash happened outside the Java Virtual Machine in native code.
-sharp See problematic frame for where to report the bug.
-sharp

searched a lot of related posts, but the situation still exists.

according to the Log content, the $ulimit-c unlimited instruction is also entered, and DefaultType, is also added to the MyEclipse.ni to ensure that the Java environment of the IDE is consistent with the system environment.

has caused endocrine disorders by this problem. Thank you for your help.

Mar.16,2021
Menu