My project Is C++ based JNI application to get the Esxiserver details, The C++ code sends the Request to JavaMethod(Through JNI) to get the Details of the EsxiServer, I'm able to get the ServiceInstance on the First time, but on the second time (Without Quitting the exe) unable to get the service instance of the Esxi server,The ServiceInstance call gets stuck and the application crashes after 30 minutes
While calling the below line from java the application gets stuck and after 30 minutes the application gets crashing with the below print
ServiceInstance si = new ServiceInstance(new URL(m_Url),m_UserName, m_Password,true);
#
A fatal error has been detected by the Java Runtime Environment:
#
Internal Error (safepoint.cpp:317), pid=4653, tid=1752824688
guarantee(PageArmed == 0) failed: invariant
#
JRE version: 7.0_25-b15
Java VM: Java HotSpot(TM) Server VM (23.25-b01 mixed mode linux-x86 )
Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
Aborted (core dumped)
what am I doing wrong what might be the reason for the ServiceInstance failure on the second time?