JDK-6989076 : JVM crashes in klassItable::initialize_itable_for_interface
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 6u21
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: linux_redhat_5.0
  • CPU: x86
  • Submitted: 2010-10-01
  • Updated: 2011-04-27
  • Resolved: 2010-11-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 Other
6u22-rev b09Fixed 7Fixed hs19Fixed
Related Reports
Relates :  
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
25-12-2010

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

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.
13-10-2010

SUGGESTED FIX see attachment
13-10-2010