Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JNI Crash with 64bit Java 7,resource_allocate_bytes

baeb67ee-6955-4755-a5f7-ee3b432cb2c6Jun 7 2015 — edited Jun 10 2015

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

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 8 2015
Added on Jun 7 2015
1 comment
807 views