JavaFX EXCEPTION_ACCESS_VIOLATION

后端 未结 1 827
时光说笑
时光说笑 2021-01-14 17:47

I have a problem with JavaFX desktop application, specifically with 3d rendering functionalities. Every time I try to build and launch JavaFX application, JVM crshes and I g

1条回答
  •  -上瘾入骨i
    2021-01-14 18:17

    The crash has happened inside C:\Windows\system32\igdumdim64.dll at offset 0xe5fe9.
    This library is a part of Intel HD Graphics Driver.

    Here is a quick tip how to find this from the crash log.

    # Problematic frame:
    # C  0x0000000000000000
    

    Zero instruction pointer means there was an indirect call, and the target address happened to be NULL. The return address for this call is likely to be on the top of stack.

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

    00007ffb308b5fe9 is the saved return address. Let's find the range it belongs to.

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

    Find the offset in the library by subtracting the base address:
    0x00007ffb308b5fe9 - 0x00007ffb307d0000 = 0xe5fe9

    Next, having the dll in hand, we can disassemble it and figure out the exact function at the given offset.

    P.S.
    There is also a Windows-specific Java flag -XX:+CreateMinidumpOnCrash that helps to produce a more meaningful crash dump for analysis.

    0 讨论(0)
提交回复
热议问题