My cvm can't create two cvm ,any body can tell why ?
when i use JNI_CreateJavaVM(&get_jvm,(void**)&get_env,&get_vm_args)
in main function which is a c progarm ,cvm can work !
but when i create a other cvm in thread ,cvm is crash !
the cvm dbug print
Assertion failed at line 187 in ../../src/linux/javavm/runtime/memory_md.c: memGrainSize == 0
i use gdb dbug :
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -686134352 (LWP 26560)]
0x080880fe in CVMstackwalkInit (s=0x38, c=0xd71a5f0c) at ../../src/share/javavm/runtime/stackwalk.c:42
42 ../../src/share/javavm/runtime/stackwalk.c: can't find this file