Java 串口通信程序崩溃 高分求帮忙

系统提示异常如下:
#

An unexpected error has been detected by Java Runtime Environment:

#

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0d4c5cf6, pid=6752, tid=8468

#

Java VM: Java HotSpot(TM) Client VM (11.3-b02 mixed mode windows-x86)

Problematic frame:

C [rxtxSerial.dll+0x5cf6]

#

An error report file with more information is saved as:

D:\apache-tomcat-7.0.82\bin\hs_err_pid6752.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.

#

可以正常通信只有在调用关闭的时候。出现系统崩溃。
环境是在windows JDK1.6 下开发。

RXTX 调用 serialPort.close();这个方法就出异常。求各位大神帮帮忙。

https://www.cnblogs.com/swp520lmg/articles/8636732.html