Hello;
I am integrating in a executable the VM embedded with JNI.
I have this scenary;
1.- The cpp with the functions to initiate the VM \jre_1_4_2_12\\bin\\client\\jvm.dll
2.- A native DLL that has a bridge between JNI and CPP
3.- a .jar file that connects with this .dll
And I have the following problem;
a)
When I run the VM from the CPP and certain code in the dll crashes, The
Java hotspot tells me with the traditional log
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00d060bf, pid=672, tid=608
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_12-b03 mixed mode)
# Problematic frame:
# C [mydll.dll+0x60bf]
But I cannot get the DUMP file for the process generated by Drwatson (I configured this debugger with the -i option to get the error)
I loaded previously in the cpp the library to shared with JVM but It does not work.
b)
Instead of this if I run a process that it is initiated with java.exe with the option -XX:+ShowMessageBoxOnError the dump file is generated but I do not see the callstack to localize the problem in the DLL
Can anybody knows how can I get the dumpfile with the a) case
Regards
Isi