-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
b54
-
generic
-
generic
The thread end callbacks can be slower, much slower on smaller Linux machines,
and raw monitor actions may still take place after VM_DEATH, and even after
Agent_OnUnload(). Some raw monitor functions need to be aware of when the
JVMTI environment is gone, or the raw monitor is NULL, and do nothing.
###@###.### 2004-05-12
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x4092e7be, pid=4754, tid=3069068
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-beta2-b50 mixed mode)
# Problematic frame:
# C [libhprof.so+0x177be]
#
--------------- T H R E A D ---------------
Current thread (0x08341c58): JavaThread "Thread-2988" [_thread_in_native, id=8936]
siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000000
;; si_signo=11 SIGSEGV
;; si_code=1 SEGV_MAPERR /* Address not mapped to object. */
Registers:
EAX=0x00000000, EBX=0x40939228, ECX=0x00000020, EDX=0x00000000
ESP=0x51b3059c, EBP=0x51b305b4, ESI=0x4093968c, EDI=0x08306900
EIP=0x4092e7be, CR2=0x00000000, EFLAGS=0x00010216
Top of Stack: (sp=0x51b3059c)
0x51b3059c: 0805b580 08096210 08404564 40939228
0x51b305ac: 4093968c 40939228 51b305f4 4091d2d5
0x51b305bc: 00000000 08306900 51b305e4 404b47c8
0x51b305cc: 08341c58 083e7e28 51b305f4 40397a9e
0x51b305dc: 08306900 454f0360 0091d1eb 404b47c8
0x51b305ec: 51b30634 083e7e28 51b30674 403922bd
0x51b305fc: 0805b580 08341d14 08306900 08405360
0x51b3060c: 51b3061c 0805b578 00000000 00000001
Instructions: (pc=0x4092e7be)
0x4092e7ae: 81 c3 7a aa 00 00 8b 83 dc 00 00 00 8b 00 8b 00
0x4092e7be: 8b 10 89 04 24 8b 45 08 89 44 24 04 ff 92 80 00
Stack: [0x51ab1000,0x51b31000), sp=0x51b3059c, free space=509k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libhprof.so+0x177be] ;; rawMonitorEnter+0x1e
C [libhprof.so+0x62d5] ;; cbThreadEnd+0xf5
V [libjvm.so+0x2142bd] ;; _ZN11JvmtiExport15post_thread_endEP10JavaThread+0x13d
V [libjvm.so+0x2ade19] ;; _ZN10JavaThread4exitEi+0x779
V [libjvm.so+0x2ad576] ;; _ZN10JavaThread3runEv+0xd6
V [libjvm.so+0x2558d8] ;; _Z6_startP6Thread+0x178
C [libpthread.so.0+0x6c6f]
###@###.### 2004-05-12
and raw monitor actions may still take place after VM_DEATH, and even after
Agent_OnUnload(). Some raw monitor functions need to be aware of when the
JVMTI environment is gone, or the raw monitor is NULL, and do nothing.
###@###.### 2004-05-12
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x4092e7be, pid=4754, tid=3069068
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-beta2-b50 mixed mode)
# Problematic frame:
# C [libhprof.so+0x177be]
#
--------------- T H R E A D ---------------
Current thread (0x08341c58): JavaThread "Thread-2988" [_thread_in_native, id=8936]
siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000000
;; si_signo=11 SIGSEGV
;; si_code=1 SEGV_MAPERR /* Address not mapped to object. */
Registers:
EAX=0x00000000, EBX=0x40939228, ECX=0x00000020, EDX=0x00000000
ESP=0x51b3059c, EBP=0x51b305b4, ESI=0x4093968c, EDI=0x08306900
EIP=0x4092e7be, CR2=0x00000000, EFLAGS=0x00010216
Top of Stack: (sp=0x51b3059c)
0x51b3059c: 0805b580 08096210 08404564 40939228
0x51b305ac: 4093968c 40939228 51b305f4 4091d2d5
0x51b305bc: 00000000 08306900 51b305e4 404b47c8
0x51b305cc: 08341c58 083e7e28 51b305f4 40397a9e
0x51b305dc: 08306900 454f0360 0091d1eb 404b47c8
0x51b305ec: 51b30634 083e7e28 51b30674 403922bd
0x51b305fc: 0805b580 08341d14 08306900 08405360
0x51b3060c: 51b3061c 0805b578 00000000 00000001
Instructions: (pc=0x4092e7be)
0x4092e7ae: 81 c3 7a aa 00 00 8b 83 dc 00 00 00 8b 00 8b 00
0x4092e7be: 8b 10 89 04 24 8b 45 08 89 44 24 04 ff 92 80 00
Stack: [0x51ab1000,0x51b31000), sp=0x51b3059c, free space=509k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libhprof.so+0x177be] ;; rawMonitorEnter+0x1e
C [libhprof.so+0x62d5] ;; cbThreadEnd+0xf5
V [libjvm.so+0x2142bd] ;; _ZN11JvmtiExport15post_thread_endEP10JavaThread+0x13d
V [libjvm.so+0x2ade19] ;; _ZN10JavaThread4exitEi+0x779
V [libjvm.so+0x2ad576] ;; _ZN10JavaThread3runEv+0xd6
V [libjvm.so+0x2558d8] ;; _Z6_startP6Thread+0x178
C [libpthread.so.0+0x6c6f]
###@###.### 2004-05-12