-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
7
-
generic
-
generic
Test
com/sun/jdi/UnpreparedClasses.java
crashes if run with jcov agent
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xfe815631, pid=17017, tid=22
Instructions: (pc=0xfe815631)
0xfe815621: 75 bc e8 dc cc e9 ff 83 c4 10 8b 4d 9c 8b 55 a8
0xfe815631: 89 04 91 83 c6 04 8b 45 a4 40 89 45 a4 3b 45 b0
;; fe815621 75 bc jne 0xfe8155df
;; fe815623 e8 dc cc e9 ff call 0xfe6b2304
;; fe815628 83 c4 10 add $0x10,%esp
;; fe81562b 8b 4d 9c mov 0xffffff9c(%ebp),%ecx
;; fe81562e 8b 55 a8 mov 0xffffffa8(%ebp),%edx
;; ---------------
;; fe815631 89 04 91 mov %eax,(%ecx,%edx,4)
;; fe815634 83 c6 04 add $0x4,%esi
;; fe815637 8b 45 a4 mov 0xffffffa4(%ebp),%eax
;; fe81563a 40 inc %eax
;; fe81563b 89 45 a4 mov %eax,0xffffffa4(%ebp)
;; fe81563e 3b 45 b0 cmp 0xffffffb0(%ebp),%eax
;;
Stack: [0xb55bf000,0xb560f000], sp=0xb560e9b0, free space=13eb560f000k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x815631];; jvmtiError JvmtiEnv::GetClassMethods(oopDesc*,int*,_jmethodID***)+0x3b9
V [libjvm.so+0x7a9ae0];; jvmti_GetClassMethods+0x1a4
C [libjdwp.so+0x6a42];; methods1+0xaa
C [libjdwp.so+0x6b37];; methodsWithGeneric+0x13
C [libjdwp.so+0x12311];; debugLoop_run+0x1cd
C [libjdwp.so+0x25432];; connectionInitiated+0xa2
C [libjdwp.so+0x256b5];; attachThread+0x5d
V [libjvm.so+0x84423a];; void JvmtiAgentThread::start_function_wrapper(JavaThread*,Thread*)+0xca
V [libjvm.so+0x237d06];; void JavaThread::run()+0x2ea
V [libjvm.so+0x967fdf];; java_start+0x4df
C [libc.so.1+0xbbcb3] _thrp_setup+0x9b;; _thrp_setup+0x9b
C [libc.so.1+0xbbf40] _lwp_start+0x0;; _lwp_start+0x0
com/sun/jdi/UnpreparedClasses.java
crashes if run with jcov agent
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xfe815631, pid=17017, tid=22
Instructions: (pc=0xfe815631)
0xfe815621: 75 bc e8 dc cc e9 ff 83 c4 10 8b 4d 9c 8b 55 a8
0xfe815631: 89 04 91 83 c6 04 8b 45 a4 40 89 45 a4 3b 45 b0
;; fe815621 75 bc jne 0xfe8155df
;; fe815623 e8 dc cc e9 ff call 0xfe6b2304
;; fe815628 83 c4 10 add $0x10,%esp
;; fe81562b 8b 4d 9c mov 0xffffff9c(%ebp),%ecx
;; fe81562e 8b 55 a8 mov 0xffffffa8(%ebp),%edx
;; ---------------
;; fe815631 89 04 91 mov %eax,(%ecx,%edx,4)
;; fe815634 83 c6 04 add $0x4,%esi
;; fe815637 8b 45 a4 mov 0xffffffa4(%ebp),%eax
;; fe81563a 40 inc %eax
;; fe81563b 89 45 a4 mov %eax,0xffffffa4(%ebp)
;; fe81563e 3b 45 b0 cmp 0xffffffb0(%ebp),%eax
;;
Stack: [0xb55bf000,0xb560f000], sp=0xb560e9b0, free space=13eb560f000k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x815631];; jvmtiError JvmtiEnv::GetClassMethods(oopDesc*,int*,_jmethodID***)+0x3b9
V [libjvm.so+0x7a9ae0];; jvmti_GetClassMethods+0x1a4
C [libjdwp.so+0x6a42];; methods1+0xaa
C [libjdwp.so+0x6b37];; methodsWithGeneric+0x13
C [libjdwp.so+0x12311];; debugLoop_run+0x1cd
C [libjdwp.so+0x25432];; connectionInitiated+0xa2
C [libjdwp.so+0x256b5];; attachThread+0x5d
V [libjvm.so+0x84423a];; void JvmtiAgentThread::start_function_wrapper(JavaThread*,Thread*)+0xca
V [libjvm.so+0x237d06];; void JavaThread::run()+0x2ea
V [libjvm.so+0x967fdf];; java_start+0x4df
C [libc.so.1+0xbbcb3] _thrp_setup+0x9b;; _thrp_setup+0x9b
C [libc.so.1+0xbbf40] _lwp_start+0x0;; _lwp_start+0x0