在 Debug模式下运行我的服务器时,我收到下面发布的错误日志。请帮助我理解这份报告
A fatal error has been detected by the Java Runtime Environment: EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x69345c00, pid=6004, tid=4664 JRE version: Java(TM) SE Runtime Environment (7.0_40-b43) (build 1.7.0_40-b43) Java VM: Java HotSpot(TM) Client VM (24.0-b56 mixed mode windows-x86 ) Problematic frame: V [jvm.dll+0x35c00] 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: C:\Users\ANUKUL\AppData\Local\Temp\\hs_err_pid6004.log If you would like to submit a bug report, please visit: http://bugreport.sun.com/bugreport/crash.jsp
最佳答案
你让 JVM 崩溃了。不错的工作! (这些相当罕见。)
如果您使用的是 100% Java 代码(没有 JNI),那么这不是您的错。升级到 JVM 的最新补丁级别并查看问题是否已解决。否则,向 Oracle 提交错误报告。
如果您正在使用 JNI,那么您或您正在使用的库可能会将错误数据传递给 JVM 并导致它崩溃。更新和/或修复这些库,然后重试。
另一个错误(无法写入核心转储
)可能是由于文件权限错误。
关于java - 无法理解调试报告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38330860/