JavaFX EXCEPTION_ACCESS_VIOLATION[英] JavaFX EXCEPTION_ACCESS_VIOLATION

问题描述

我对Javafx桌面应用程序有问题,特别是具有3D渲染功能. 每次我尝试构建和启动Javafx应用程序时,JVM CRSHES和我都会收到以下错误的错误:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000000000000, pid=8440, tid=9008
#
# JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.51-b03 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  0x0000000000000000
#
# 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:\apps\desktop\hs_err_pid8440.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.
#

全日志: http://pastebin.com/fc6nfvjf

我尝试了不同的Java版本(1.7_51,1.7_60,以及1.8_5),我尝试更新图形卡驱动程序. 一些项目确实启动了,但是一旦我想显示一些"更复杂"的效果(即鼠标悬停按钮),我就会得到同样的例外.

从StackTrace来看,我相信这与DirectX有关.

j  com.sun.prism.d3d.D3DVertexBuffer.nDrawIndexedQuads(J[F[BI)I+0
j  com.sun.prism.d3d.D3DVertexBuffer.drawQuads(I)V+13
j  com.sun.prism.impl.VertexBuffer.flush()V+12

我正在使用Windows 8.1和DirectX 11进行机器工作.这可能无济于事,但是在这里,我还粘贴了DirectX诊断工具日志: http://pastebin.com/gin4afv4

感谢您的任何输入.

推荐答案

崩溃发生在C:\Windows\system32\igdumdim64.dll offset 0xe5fe9中.
该库是英特尔高清图形驱动程序的一部分.

这是一个快速的提示,如何从崩溃日志中找到它.

# Problematic frame:
# C  0x0000000000000000

零指令指针意味着有间接调用,目标地址恰好为NULL.此通话的返回地址可能位于堆栈的顶部.

Top of Stack: (sp=0x000000000ef4d398)
0x000000000ef4d398:   00007ffb308b5fe9 000000000e979800

00007ffb308b5fe9是保存的返回地址.让我们找到它属于的范围.

Dynamic libraries:
...
0x00007ffb307d0000 - 0x00007ffb31019000      C:\Windows\system32\igdumdim64.dll

通过减去基础地址来查找库中的偏移:
0x00007FFB308B5FE9 -0x00007FFB307D0000 = 0xe5fe9

接下来,将DLL掌握在手中,我们可以拆卸它并在给定偏移处找出确切的功能.

p.s.
还有一个特定于Windows的Java标志-XX:+CreateMinidumpOnCrash,有助于产生更有意义的崩溃转储进行分析.

本文地址:https://www.itbaoku.cn/post/978526.html