Java使用JNA调用c动态库,Java程序中断怎么解决?

问题遇到的现象和发生背景

Java使用JNA调用c,so动态库,导致Java程序崩溃

问题相关代码,请勿粘贴截图

不能提供望理解

运行结果及报错内容

A fatal error has been detected by the Java Runtime EnvironmentQ:#

SIGSEGV (0xb)at pc=0x00007fdcc236b9f3pid=12302tid=140586118121216

JRE version: Java(TM) SE Runtime Environment (8.0 73-b02) (build 1.8.0 73-b02)

Java VM: Java HotSpot(TM) 64-Bit Server VM (25.73-b02 mixed mode linux-amd64 compressed oops)# Problematic frame:

#C [libesljni.so+0x99f3]#

Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again#

If you would like to submit a bug report. please visit:# http://bugreport.java.com/bugreport/crash.isp

The crash happened outside the Java Virtual Machine in native code.# See problematic frame for where to report the bug.#

我的解答思路和尝试过的方法

百度解决,毫无思路

我想要达到的结果

程序正常运行并成功取到数据

启动之前执行命令“ulimit-c unlimited” 还不行就检查内存大小是否不足