JDK-6885108 : JVM crash on linux
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 6u14
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_2.6
  • CPU: x86
  • Submitted: 2009-09-23
  • Updated: 2010-04-07
  • Resolved: 2009-11-05
Related Reports
Duplicate :  
Description
platform os: CentOS
Linux trade-sj-04.allstontrading.com 2.6.30.1-1.el5.allston_trade #1 SMP Wed Jul 8 13:04:44 CDT 2009 x86_64 x86_64 x86_64 GNU/Linux
JDK: 6u14
IBIS SR: 71377606

/net/cores.central/cores/dir15/71377606/hs_err_AllstonTrading.log

Stack: [0x00000000427e7000,0x00000000428e8000],  sp=0x00000000428e6910,  free space=1022k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) 
J  java.lang.Thread.currentThread()Ljava/lang/Thread;
j  com.allstontrading.raiden.orderlevel.tools.QuotesRunner$3.run()V+174
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub
V  [libjvm.so+0x3a8e7d] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x1bd
V  [libjvm.so+0x595e79] os::os_exception_wrapper(void (*)(JavaValue*, methodHandle*, JavaCallArguments*, Thread*), JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x19
V  [libjvm.so+0x3a874c] JavaCalls::call_virtual(JavaValue*, KlassHandle, symbolHandle, symbolHandle, JavaCallArguments*, Thread*)+0x11c
V  [libjvm.so+0x3a87fb] JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, symbolHandle, symbolHandle, Thread*)+0x5b
V  [libjvm.so+0x433707] thread_entry(JavaThread*, Thread*)+0xa7
V  [libjvm.so+0x67b871] JavaThread::run()+0x111
V  [libjvm.so+0x596f9f] java_start(Thread*)+0x13f

/net/cores.central/cores/dir15/71377606/core-lib-data/core
you can use logon to va64-u40c-sca11.sfbay.sun.com
usually global lab password
cd /root/core-lib-data
gdb -x gdbrc

(gdb) bt
#0  0x0000003b38e30215 in raise () from /lib64/libc.so.6
#1  0x0000003b38e31cc0 in abort () from /lib64/libc.so.6
#2  0x00007f5760660527 in os::abort ()
   from /root/jre1.6.0_14.x86/lib/amd64/server/libjvm.so
#3  0x00007f576078ae90 in VMError::report_and_die ()
   from /root/jre1.6.0_14.x86/lib/amd64/server/libjvm.so
#4  0x00007f5760666431 in JVM_handle_linux_signal ()
   from /root/jre1.6.0_14.x86/lib/amd64/server/libjvm.so
#5  0x00007f5760662cce in signalHandler ()
   from /root/jre1.6.0_14.x86/lib/amd64/server/libjvm.so
#6  <signal handler called>
#7  0x00007f575cab7c2b in ?? ()
#8  0x0000000000000000 in ?? ()

(gdb) thread 17
[Switching to thread 17 (process 984)]#0 0x00007f576064b648 in Unique_Node_List::remove () from /root/jre1.6.0_14.amd/lib/amd64/server/libjvm.so
(gdb) bt
#0 0x00007f576064b648 in Unique_Node_List::remove ()
from /root/jre1.6.0_14.amd/lib/amd64/server/libjvm.so
#1 0x00007f5760696ebf in PhaseIterGVN::remove_globally_dead_node ()
from /root/jre1.6.0_14.amd/lib/amd64/server/libjvm.so
#2 0x00007f57606973fc in PhaseIterGVN::subsume_node ()
from /root/jre1.6.0_14.amd/lib/amd64/server/libjvm.so
#3 0x00007f57602ec6fa in RegionNode::Ideal ()
from /root/jre1.6.0_14.amd/lib/amd64/server/libjvm.so
#4 0x00007f5760696bee in PhaseIterGVN::transform_old ()
from /root/jre1.6.0_14.amd/lib/amd64/server/libjvm.so
#5 0x00007f576069681d in PhaseIterGVN::optimize ()
from /root/jre1.6.0_14.amd/lib/amd64/server/libjvm.so
#6 0x00007f576034edb3 in Compile::Optimize ()
from /root/jre1.6.0_14.amd/lib/amd64/server/libjvm.so
#7 0x00007f576034c293 in Compile::Compile ()
from /root/jre1.6.0_14.amd/lib/amd64/server/libjvm.so
#8 0x00007f57602e0d6e in C2Compiler::compile_method ()
...
and

gdb) thread 26
[Switching to thread 26 (process 983)]#0 0x00007f57605f7629 in PhaseIdealLoop::split_if_with_blocks () from /root/jre1.6.0_14.amd/lib/amd64/server/libjvm.so
(gdb) bt
#0 0x00007f57605f7629 in PhaseIdealLoop::split_if_with_blocks ()
from /root/jre1.6.0_14.amd/lib/amd64/server/libjvm.so
#1 0x00007f57605ef395 in PhaseIdealLoop::PhaseIdealLoop ()
from /root/jre1.6.0_14.amd/lib/amd64/server/libjvm.so
#2 0x00007f576034f530 in Compile::Optimize ()
from /root/jre1.6.0_14.amd/lib/amd64/server/libjvm.so
#3 0x00007f576034c293 in Compile::Compile ()
from /root/jre1.6.0_14.amd/lib/amd64/server/libjvm.so
#4 0x00007f57602e0d6e in C2Compiler::compile_method ()
from /root/jre1.6.0_14.amd/lib/amd64/server/libjvm.so
#5 0x00007f5760354fa8 in CompileBroker::invoke_compiler_on_method ()

Comments
EVALUATION The crashing code is generated by MacroAssembler::serialize_memory(), this problem must be: 6811384 MacroAssembler::serialize_memory may touch next page on amd64 Workaround is -XX:+UseMembar and there is a fix in later hotspot.
05-11-2009