性能问答>SWT项目运行报错异常关闭>
2回复
1年前

SWT项目运行报错异常关闭



大佬帮忙看看,SWT项目运行时报的的下面这个错误怎么解决。

It costs 0 seconds to load the configuration data from core server.
Execution protection violation
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000, pid=2764, tid=3900
#
# JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)
# Java VM: Java HotSpot(TM) Client VM (24.51-b03 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  0x00000000
#
# 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:
# F:\ecli\project\mtr.app.post.main\hs_err_pid2764.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
2516 阅读
请先登录,再评论

需要把 F:\ecli\project\mtr.app.post.main\hs_err_pid2764.log 这个文件贴出来的

1年前

此问题,是因为SWT项目后台业务逻辑处理与多视图逻辑处理是多线程的,后台业务逻辑处理线程中有个有个子线程在项目启动时同步启动,它用jni初始化加载了本地的一个动态链接库,并调用内部的函数对一个硬件操作,操作时会遇到驱动程序内部异常,引起jni异常,然后jvm就会直接异常关闭!

1年前