Pure virtual function call from a Java application?

I have a Java application deployed on thousands of computers, and two or three of them periodically receive the error message "Microsoft Visual C ++ Runtime Library" with the text "Runtime Error! R6025 -pure virtual function call".

The reason for the error itself is well documented on the Internet, but the problem is that I do not work directly with any C ++ objects. The Java process has some JNI code written in the plain old non-object orientation of C. As I understand it, it would require the creation or destruction of some abstract objects to invoke it, and the C code does nothing of the kind. In addition, the JNI code is not executed when this error occurs.

Does anyone have any ideas on what might cause this, or at least how to get some kind of stack statistics on what the program is trying to do when this happens?

+4
source share
1 answer

thousands of PCs and two or three of them

This statement states that they have either the wrong JRE or the installation of the Visual ++ Runtime library. Using JNI can confuse you and make you believe that the problem is at your end, but probably it is not.

+1
source

All Articles