JDK-6766320 : JDI regression test RepStep.java gets a HS assertion with b38 -Xcomp
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2008-10-31
  • Updated: 2023-12-14
  • Resolved: 2013-09-19
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.
Other
tbdResolved
Related Reports
Duplicate :  
Description
The test creates a StepRequest and does a resume and gets a VMDisconnectedException because the debuggee crashed with an assertion failure.  See nightly result:
/java/sqe/results/vm/gtee/JDK7/NIGHTLY/VM/2008-10-30/Serv_Baseline/javase/linux-i586/client/mixed/linux-i586_client_mixed_JDI_REGRESSION/workDir/com/sun/jdi/RepStep.jtr

See the attached hs_err file.  Here is a summary:

#  Internal Error (/export2/BUILD_AREA/jdk7/hotspot/src/share/vm/prims/jvmtiThreadState.cpp:287), pid=13303, tid=2
#  Error: assert(_cur_stack_depth == count_frames(),"cur_stack_depth out of sync")


Current thread (0x0003ec00):  JavaThread "main" [_thread_in_vm, id=2, stack(0xfcb00000,0xfcb80000)]

Stack: [0xfcb00000,0xfcb80000],  sp=0xfcb7ec88,  free space=507k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x1308c18];;  __1cHVMErrorOreport_and_die6M_v_+0x86c
V  [libjvm.so+0x6a8618];;  __1cYreport_assertion_failure6Fpkci1_v_+0x70
V  [libjvm.so+0xd39868];;  __1cQJvmtiThreadStatePcur_stack_depth6M_i_+0x6d8
V  [libjvm.so+0xca4b00];;  __1cLJvmtiExportQpost_method_exit6FpnKJavaThread_nJmethodOop_nFframe__v_+0x24fc
V  [libjvm.so+0x884f08];;  __1cSInterpreterRuntimeQpost_method_exit6FpnKJavaThread__v_+0x378
j  java.lang.Object.hashCode()I+0
j  java.util.HashMap.get(Ljava/lang/Object;)Ljava/lang/Object;+10
j  sun.reflect.Reflection.filterMethods(Ljava/lang/Class;[Ljava/lang/reflect/Method;)[Ljava/lang/reflect/Method;+13
j  java.lang.Class.privateGetDeclaredMethods(Z)[Ljava/lang/reflect/Method;+70
This bug affects the following JavaTest/JTREG test:

    com/sun/jdi/RepStep.java