java使用jna.Native的方式调用dll文件,报错:
Problematic frame:
C [KERNELBASE.dll+0x3a799]****
错误日志头:
#
A fatal error has been detected by the Java Runtime Environment:
#
EXCEPTION_UNCAUGHT_CXX_EXCEPTION (0xe06d7363) at pc=0x00007ffaa255a799, pid=16184, tid=0x00000000000045bc
#
JRE version: Java(TM) SE Runtime Environment (8.0_181-b13) (build 1.8.0_181-b13)
Java VM: Java HotSpot(TM) 64-Bit Server VM (25.181-b13 mixed mode windows-amd64 compressed oops)
Problematic frame:
C [KERNELBASE.dll+0x3a799]
#
Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
An error report file with more information is saved as:
D:\projects\LegendBoxBackstageServer\hs_err_pid16184.log
#
If you would like to submit a bug report, please visit:
http://bugreport.java.com/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.
我是使用native函数去调用C++ opencv里的函数。程序就报错了。麻烦各位可以看看