United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6989076 JVM crashes in klassItable::initialize_itable_for_interface
6989076 : JVM crashes in klassItable::initialize_itable_for_interface

Details
Type:
Bug
Submit Date:
2010-10-01
Status:
Closed
Updated Date:
2011-04-27
Project Name:
JDK
Resolved Date:
2010-11-26
Component:
hotspot
OS:
linux_redhat_5.0
Sub-Component:
runtime
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u21
Fixed Versions:
6u22-rev

Related Reports
Backport:
Backport:
Backport:
Backport:
Backport:
Backport:
Relates:

Sub Tasks

Description
Customer's standalone app is crashing with this stack trace:

Stack: [0x7b234000,0x7b285000],  sp=0x7b283a70,  free space=13e7b2833f0k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x4c0f35] klassItable::initialize_itable_for_interface(int, KlassHandle, bool, Thread*)+0x55
V  [libjvm.so+0x4c0e2b] klassItable::initialize_itable(bool, Thread*)+0xcb
V  [libjvm.so+0x3700de] instanceKlass::link_class_impl(instanceKlassHandle, bool, Thread*)+0x3de
V  [libjvm.so+0x36fc7c] instanceKlass::link_class(Thread*)+0x3c
V  [libjvm.so+0x3703f6] instanceKlass::initialize_impl(instanceKlassHandle, Thread*)+0x26
V  [libjvm.so+0x36fbc8] instanceKlass::initialize(Thread*)+0x58
V  [libjvm.so+0x38acd6] InterpreterRuntime::_new(JavaThread*, constantPoolOopDesc*, int)+0xc6
.
.
.
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub
V  [libjvm.so+0x395920] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x190
V  [libjvm.so+0x5793a8] os::os_exception_wrapper(void (*)(JavaValue*, methodHandle*, JavaCallArguments*, Thread*), JavaValue*, methodHandle*, JavaCallArguments*, Thread*)
+0x18
V  [libjvm.so+0x395127] JavaCalls::call_virtual(JavaValue*, KlassHandle, symbolHandle, symbolHandle, JavaCallArguments*, Thread*)+0xb7
V  [libjvm.so+0x3951da] JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, symbolHandle, symbolHandle, Thread*)+0x6a
V  [libjvm.so+0x415965] thread_entry(JavaThread*, Thread*)+0xa5
V  [libjvm.so+0x66959e] JavaThread::run()+0x11e
V  [libjvm.so+0x57a89e] java_start(Thread*)+0x14e
C  [libpthread.so.0+0x55ab]

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/jdk7/build/hotspot/rev/642e54d1850a
                                     
2010-12-25
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/642e54d1850a
                                     
2010-12-09
SUGGESTED FIX

see attachment
                                     
2010-10-13
EVALUATION

hotspot should check protection attribute besides the name and signature of the method to make a proper  decision wether the method already implemented by one of supers or not  when constructing vtable.
                                     
2010-10-13



Hardware and Software, Engineered to Work Together