如丝袜一般丝滑 2020-04-27 16:03 采纳率: 0%
浏览 1696

JAVA调用dll文件调用时报,Problematic frame: # C [KERNELBASE.dll+0x3a799]

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里的函数。程序就报错了。麻烦各位可以看看

  • 写回答

1条回答 默认 最新

  • Json-Huang 2020-04-27 18:47
    关注

    可以试试如下方法
    1、JRE版本升级jdk为java 9版本
    2、Java 8 前版本,HotSpot VM 配置加上

    -XX:+CreateMinidumpOnCrash
    

    详情可参考:https://www.it1352.com/993277.html

    评论

报告相同问题?

悬赏问题

  • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么
  • ¥15 banner广告展示设置多少时间不怎么会消耗用户价值
  • ¥16 mybatis的代理对象无法通过@Autowired装填
  • ¥15 可见光定位matlab仿真
  • ¥15 arduino 四自由度机械臂
  • ¥15 wordpress 产品图片 GIF 没法显示
  • ¥15 求三国群英传pl国战时间的修改方法
  • ¥15 matlab代码代写,需写出详细代码,代价私
  • ¥15 ROS系统搭建请教(跨境电商用途)
  • ¥15 AIC3204的示例代码有吗,想用AIC3204测量血氧,找不到相关的代码。