United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6970566 runThese fails with SIGSEGV
6970566 : runThese fails with SIGSEGV

Details
Type:
Bug
Submit Date:
2010-07-20
Status:
Closed
Updated Date:
2012-02-01
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs19
Fixed Versions:
hs19

Related Reports
Backport:
Backport:
Backport:
Backport:

Sub Tasks

Description
During running runThese with -Xcomp VM sometime crash with same hs_err.
See for example:
http://sqeweb.sfbay.sun.com/nfs/results/vm/gtee/HSX/PIT/VM/19/b04/jdk7b102/product/bigapps/li
nux-i586/server/mixed/linux-i586_bigapps_server_mixed_runThese/analysis.html
;; Using jvm: "/export/local/common/jdk/baseline/linux-amd64/jre/lib/amd64/server/libjvm.so"
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f7d93a2bb3c, pid=29014, tid=140177064827216
#
# JRE version: 7.0
# Java VM: Java HotSpot(TM) 64-Bit Server VM (19.0-b04-201007160300.et151817.hs19b04 compiled mode linux-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x2c9b3c]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

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

Current thread (0x00000000017f0000):  JavaThread "$TESTBASE/misc/concurrent Integrate 6 1 64 4" [_thread_in_vm, id=5390, stack(0x00007f7d84179000,0x00007f7d8427a000)]

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

Registers:
RAX=0x0000000000000000, RBX=0x0000000000000000, RCX=0x0000000000000000, RDX=0x0000000000000000
RSP=0x00007f7d84277cb0, RBP=0x00007f7d84277cc0, RSI=0x0000000000010000, RDI=0x0000000000000000
R8 =0x00007f7d8fafb680, R9 =0x00007f7d84277d78, R10=0x00000000000003ff, R11=0x0000000000000000
R12=0x0000000000000000, R13=0x00000000000001e8, R14=0x0000000000000000, R15=0x00007f7d84277d70
RIP=0x00007f7d93a2bb3c, EFL=0x0000000000010202, CSGSFS=0x0000000000000033, ERR=0x0000000000000004
  TRAPNO=0x000000000000000e
....
Instructions: (pc=0x00007f7d93a2bb3c)
0x00007f7d93a2bb2c:   0f 1f 40 00 55 48 89 e5 53 48 89 fb 48 83 ec 08
0x00007f7d93a2bb3c:   48 8b 07 ff 50 08 84 c0 74 2e 48 8b 05 f3 e7 80 
;; 00007f7d93a2bb2c 0f 1f                   (bad)  
;; 00007f7d93a2bb2e 40 00 55 48             add    %dl,0x48(%rbp)
;; 00007f7d93a2bb32 89 e5                   mov    %esp,%ebp
;; 00007f7d93a2bb34 53                      push   %rbx
;; 00007f7d93a2bb35 48 89 fb                mov    %rdi,%rbx
;; 00007f7d93a2bb38 48 83 ec 08             sub    $0x8,%rsp
;; ---------------
;; 00007f7d93a2bb3c 48 8b 07                mov    (%rdi),%rax
;; 00007f7d93a2bb3f ff 50 08                callq  *0x8(%rax)
;; 00007f7d93a2bb42 84 c0                   test   %al,%al
;; 00007f7d93a2bb44 74 2e                   je     0x00007f7d93a2bb74
;; 00007f7d93a2bb46 48 8b 05 f3 e7 80 ff    mov    -8329229(%rip),%rax        # 0x00007f7d9323a340
;; 
Stack: [0x00007f7d84179000,0x00007f7d8427a000],  sp=0x00007f7d84277cb0,  free space=3fb0000000000000018k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x2c9b3c];;  CodeCache::commit(CodeBlob*)+0xc
V  [libjvm.so+0x2c600a];;  AdapterBlob::create(CodeBuffer*)+0xba
V  [libjvm.so+0x64e9e0];;  AdapterHandlerLibrary::get_adapter(methodHandle)+0x7b0
V  [libjvm.so+0x59eefb];;  methodOopDesc::make_adapters(methodHandle, Thread*)+0x1b
V  [libjvm.so+0x6438e3];;  Rewriter::Rewriter(instanceKlassHandle, constantPoolHandle, objArrayHandle, Thread*)+0x3a3
V  [libjvm.so+0x643b4a];;  Rewriter::rewrite(instanceKlassHandle, Thread*)+0xfa
V  [libjvm.so+0x3edd6b];;  instanceKlass::rewrite_class(Thread*)+0x6b
V  [libjvm.so+0x3ef1f8];;  instanceKlass::link_class_impl(instanceKlassHandle, bool, Thread*)+0x5a8
V  [libjvm.so+0x3f11be];;  instanceKlass::initialize_impl(instanceKlassHandle, Thread*)+0x3e
V  [libjvm.so+0x3f1817];;  instanceKlass::initialize(Thread*)+0x77
V  [libjvm.so+0x41f651];;  InterpreterRuntime::_new(JavaThread*, constantPoolOopDesc*, int)+0x1f1
j  Integrate$Integrator.integral(DD)D+39
j  Integrate.main([Ljava/lang/String;)V+154
v  ~StubRoutines::call_stub
V  [libjvm.so+0x425011];;  JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x2b1
V  [libjvm.so+0x423f68];;  JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x28
V  [libjvm.so+0x6345fa];;  Reflection::invoke(instanceKlassHandle, methodHandle, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, Thread*)+0x3ca
V  [libjvm.so+0x635328];;  Reflection::invoke_method(oopDesc*, Handle, objArrayHandle, Thread*)+0x138
V  [libjvm.so+0x47b855];;  JVM_InvokeMethod+0x235
J  sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
J  sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
V  [libjvm.so+0x425011];;  JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x2b1
V  [libjvm.so+0x423f68];;  JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x28

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/7139e81efd2d
                                     
2010-07-29
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/7139e81efd2d
                                     
2010-07-25
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/7139e81efd2d
                                     
2010-07-23



Hardware and Software, Engineered to Work Together