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");
Any light on this would be appreciated.
SIGSEGV is most often caused by jni code that has corrupted the environment in some way.
Such corruption can appear in any number of ways.