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!

JVM crash in JIT C2 compiler mode

nixgadget2016Jan 27 2016 — edited Jan 28 2016

We just noticed this issue with JVM crashing when in C2 mode. I have attached the full stack dump under hs_err_pid - bae2be97. Cant see anything wrong with swap space either.

Can someone please shed some light regarding this ?

#

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

#

#  SIGSEGV (0xb) at pc=0x00002b3da7541305, pid=8569, tid=1113008448

#

# JRE version: 7.0_21-b11

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

# Problematic frame:

# V  [libjvm.so+0x6c2305]  LoadKlassNode::make(PhaseGVN&, Node*, Node*, TypePtr const*, TypeKlassPtr const*)+0x45

#

# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

#

# If you would like to submit a bug report, please visit:

#   http://bugreport.sun.com/bugreport/crash.jsp

#

---------------  T H R E A D  ---------------

Current thread (0x00000000103df000):  JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=8602, stack(0x0000000042472000,0x0000000042573000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x0000000000000010

Registers:

RAX=0x00000000104ba740, RBX=0x00000000104bcdd0, RCX=0x0000000000000000, RDX=0x00000000fffffff7

RSP=0x000000004256f450, RBP=0x000000004256f490, RSI=0x0000000014340520, RDI=0x00002aaac9edebb0

R8 =0x00000000104bcdd0, R9 =0x00000000104ba740, R10=0x00002aaaca0f7070, R11=0x00002b3da760ad80

R12=0x00000000425713e0, R13=0x00002aaac9edebb0, R14=0x0000000042570810, R15=0x0000000014a5d670

RIP=0x00002b3da7541305, EFLAGS=0x0000000000010286, CSGSFS=0x0000000000000033, ERR=0x0000000000000004

  TRAPNO=0x000000000000000e

Top of Stack: (sp=0x000000004256f450)

0x000000004256f450:   0000000014340520 00002b3da760ab4b

0x000000004256f460:   0000000014aa52a0 00000000104bc010

0x000000004256f470:   00000000104bcdd0 00002aaac9edebb0

0x000000004256f480:   000000004256f730 0000000014a5d670

0x000000004256f490:   000000004256f530 00002b3da73610ec

0x000000004256f4a0:   0000000014c4ad30 0000000014a5d630

0x000000004256f4b0:   00000000143419a8 0000000014a5d6e0

0x000000004256f4c0:   0000000014aa52a0 0000000014aaa630

0x000000004256f4d0:   0000000014aad288 00002b3da760ad80

0x000000004256f4e0:   0000000014aaa630 0000000000000003

0x000000004256f4f0:   0000000014c4ad01 00002aaac9edebb0

0x000000004256f500:   000000004256f530 000000004256f570

0x000000004256f510:   00000000143419a8 000000004256f730

0x000000004256f520:   0000000014a5cb88 00002b3da7b6f238

0x000000004256f530:   000000004256f5f0 00002b3da74d3924

0x000000004256f540:   0000000014a5cce0 0000000014a5cce0

0x000000004256f550:   0000000014a5b920 00000000104bbe90

0x000000004256f560:   000000004256f5b0 0000000014a5cce0

0x000000004256f570:   00000000425713e0 0000000042570810

0x000000004256f580:   0000000014a5cd30 0000000014a5cd80

0x000000004256f590:   0000000014a5cdd0 0000000000000000

0x000000004256f5a0:   0000000014a5ba78 0000000014a5ca30

0x000000004256f5b0:   0000000014a5b8c0 00002b3da760acef

0x000000004256f5c0:   0000000014a5ba78 0000000000000000

0x000000004256f5d0:   000000004256f730 0000000014a5cce0

0x000000004256f5e0:   00000000104bbaa0 000000000000000c

0x000000004256f5f0:   000000004256f710 00002b3da74dec3d

0x000000004256f600:   0000000000000000 00002b3da76f0ead

0x000000004256f610:   00002b3da7b8f670 000000000000000c

0x000000004256f620:   000000001032d770 00000000104bc0d0

0x000000004256f630:   0000000014c4ad08 0000000014a5cc30

0x000000004256f640:   00000000143419a8 0000000014a5cb88

Instructions: (pc=0x00002b3da7541305)

0x00002b3da75412e5:   c0 48 8b 02 4c 8b 67 10 49 89 fe 48 89 d7 ff 50

0x00002b3da75412f5:   28 8b 50 10 31 c9 83 ea 0b 83 fa 04 48 0f 42 c8

0x00002b3da7541305:   8b 41 10 83 e8 0b 83 f8 03 0f 87 94 01 00 00 80

0x00002b3da7541315:   79 31 00 0f 84 8a 01 00 00 49 8b 06 49 89 df 48

Register to memory mapping:

RAX=0x00000000104ba740 is an unknown value

RBX=0x00000000104bcdd0 is an unknown value

RCX=0x0000000000000000 is an unknown value

RDX=0x00000000fffffff7 is an unknown value

RSP=0x000000004256f450 is pointing into the stack for thread: 0x00000000103df000

RBP=0x000000004256f490 is pointing into the stack for thread: 0x00000000103df000

RSI=0x0000000014340520 is an unknown value

RDI=0x00002aaac9edebb0 is an unknown value

R8 =0x00000000104bcdd0 is an unknown value

R9 =0x00000000104ba740 is an unknown value

R10=0x00002aaaca0f7070 is an unknown value

R11=0x00002b3da760ad80: <offset 0x78bd80> in /opt/orionhealth/Rhapsody/jre/lib/amd64/server/libjvm.so at 0x00002b3da6e7f000

R12=0x00000000425713e0 is pointing into the stack for thread: 0x00000000103df000

R13=0x00002aaac9edebb0 is an unknown value

R14=0x0000000042570810 is pointing into the stack for thread: 0x00000000103df000

R15=0x0000000014a5d670 is an unknown value

Stack: [0x0000000042472000,0x0000000042573000],  sp=0x000000004256f450,  free space=1013k

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)

V  [libjvm.so+0x6c2305]  LoadKlassNode::make(PhaseGVN&, Node*, Node*, TypePtr const*, TypeKlassPtr const*)+0x45

V  [libjvm.so+0x4e20ec]  GraphKit::gen_instanceof(Node*, Node*)+0x46c

V  [libjvm.so+0x654924]  LibraryCallKit::insert_g1_pre_barrier(Node*, Node*, Node*)+0x124

V  [libjvm.so+0x65fc3d]  LibraryCallKit::inline_unsafe_access(bool, bool, BasicType, bool)+0x90d

V  [libjvm.so+0x669c39]  LibraryIntrinsic::generate(JVMState*)+0x59

V  [libjvm.so+0x46081c]  Parse::do_call()+0x21c

V  [libjvm.so+0x777142]  Parse::do_one_bytecode()+0x33d2

V  [libjvm.so+0x767dcc]  Parse::do_one_block()+0x1ac

V  [libjvm.so+0x76a7df]  Parse::do_all_blocks()+0x11f

V  [libjvm.so+0x76cf5c]  Parse::Parse(JVMState*, ciMethod*, float)+0x159c

V  [libjvm.so+0x3302c8]  ParseGenerator::generate(JVMState*)+0x88

V  [libjvm.so+0x46081c]  Parse::do_call()+0x21c

V  [libjvm.so+0x777142]  Parse::do_one_bytecode()+0x33d2

V  [libjvm.so+0x767dcc]  Parse::do_one_block()+0x1ac

V  [libjvm.so+0x76a7df]  Parse::do_all_blocks()+0x11f

V  [libjvm.so+0x76cf5c]  Parse::Parse(JVMState*, ciMethod*, float)+0x159c

V  [libjvm.so+0x3302c8]  ParseGenerator::generate(JVMState*)+0x88

V  [libjvm.so+0x3323c3]  PredictedCallGenerator::generate(JVMState*)+0x283

V  [libjvm.so+0x46081c]  Parse::do_call()+0x21c

V  [libjvm.so+0x777142]  Parse::do_one_bytecode()+0x33d2

V  [libjvm.so+0x767dcc]  Parse::do_one_block()+0x1ac

V  [libjvm.so+0x76a7df]  Parse::do_all_blocks()+0x11f

V  [libjvm.so+0x76cf5c]  Parse::Parse(JVMState*, ciMethod*, float)+0x159c

V  [libjvm.so+0x3302c8]  ParseGenerator::generate(JVMState*)+0x88

V  [libjvm.so+0x46081c]  Parse::do_call()+0x21c

V  [libjvm.so+0x777142]  Parse::do_one_bytecode()+0x33d2

V  [libjvm.so+0x767dcc]  Parse::do_one_block()+0x1ac

V  [libjvm.so+0x76a7df]  Parse::do_all_blocks()+0x11f

V  [libjvm.so+0x76cf5c]  Parse::Parse(JVMState*, ciMethod*, float)+0x159c

V  [libjvm.so+0x3302c8]  ParseGenerator::generate(JVMState*)+0x88

V  [libjvm.so+0x3bd23a]  Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool)+0xcaa

V  [libjvm.so+0x32f082]  C2Compiler::compile_method(ciEnv*, ciMethod*, int)+0x142

V  [libjvm.so+0x3c22e3]  CompileBroker::invoke_compiler_on_method(CompileTask*)+0x323

V  [libjvm.so+0x3c344d]  CompileBroker::compiler_thread_loop()+0x43d

V  [libjvm.so+0x867578]  JavaThread::thread_main_inner()+0xc8

V  [libjvm.so+0x8676c8]  JavaThread::run()+0x138

V  [libjvm.so+0x749010]  java_start(Thread*)+0x100

Current CompileTask:

C2:167907192  274 % !         com.thoughtworks.xstream.converters.reflection.AbstractAttributedCharacterIteratorAttributeConverter::readResolve @ 34 (133 bytes)

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 24 2016
Added on Jan 27 2016
0 comments
2,345 views