How to diagnose Java JNI EXCEPTION_ACCESS_VIOLATION errors in Windows Vista

前端 未结 2 1025
醉酒成梦
醉酒成梦 2021-02-10 03:39

We have a Java application that uses some C++ libraries through JNI. The application used to work just fine in Windows XP, but it does not work in Windows Vista, it just crashes

2条回答
  •  青春惊慌失措
    2021-02-10 04:19

    Try setting up WinDBG, and hook up a symbol server, so you can get symbols for the OS DLLs.

    • WinDBG

    • Symbols (bottom of the page)

    Then run your Java app under WinDBG and trap the crash there. With any luck you should be able to find your native code in the call stack, or at least something you can recognize.

提交回复
热议问题