JNI Crash with 64bit Java 7,resource_allocate_bytes

baeb67ee-6955-4755-a5f7-ee3b432cb2c6

    Hi

     

    I am getting a libjvm.so crash.

    The error is message is like below.

     

    A fatal error has been detected by the Java Runtime Environment:

    #

    # SIGSEGV (0xb) at pc=0x00007f44ff6bd440, pid=25089, tid=139935841502976

    #

    # JRE version: Java(TM) SE Runtime Environment (7.0_72-b14) (build 1.7.0_72-b14)

    # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.72-b04 mixed mode linux-amd64 compressed oops)

    # Problematic frame:

    # V  [libjvm.so+0x8a5440]  resource_allocate_bytes(unsigned long, AllocFailStrategy::AllocFailEnum)+0x30


    It is happening on calling Java method which close the stream handle.


    closeMethod = env->GetMethodID(converterClass,"close","()V");

      env->CallObjectMethod(converterObject, closeMethod);

      ExceptionCheck();

     

    Any light on this would be appreciated.

     

    Thanks

    Narayan