Created
May 3, 2012 09:05
-
-
Save rednaxelafx/2584513 to your computer and use it in GitHub Desktop.
A HotSpot crash log example of a crash caused by a bug in the C2 compiler (7070134)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# A fatal error has been detected by the Java Runtime Environment: | |
# | |
# SIGSEGV (0xb) at pc=0x00002aaf0d11c031, pid=28522, tid=1104951616 | |
# | |
# JRE version: 6.0_23-b05 | |
# Java VM: Java HotSpot(TM) 64-Bit Server VM (19.0-b09 mixed mode linux-amd64 compressed oops) | |
# Problematic frame: | |
# V [libjvm.so+0x593031] | |
# | |
--------------- T H R E A D --------------- | |
Current thread (0x0000000052109000): JavaThread "CompilerThread1" daemon [_thread_in_native, id=28538, stack(0x0000000041cc3000,0x0000000041dc4000)] | |
siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x0000000000000008 | |
Registers: | |
RAX=0x000000005233d560, RBX=0x0000000041dc0160, RCX=0x0000000000000000, RDX=0x0000000053f70ef0 | |
RSP=0x0000000041dbd480, RBP=0x0000000041dbd4c0, RSI=0x0000000052fb6470, RDI=0x0000000000000000 | |
R8 =0x0000000053f70ef0, R9 =0x0000000000000000, R10=0x0000000000000d6e, R11=0x0000000000000d6e | |
R12=0x000000005291fc08, R13=0x000000005247f2c0, R14=0x0000000052fb6470, R15=0x0000000041dc0140 | |
RIP=0x00002aaf0d11c031, EFL=0x0000000000010206, CSGSFS=0x0000000000000033, ERR=0x0000000000000004 | |
TRAPNO=0x000000000000000e | |
Instructions: (pc=0x00002aaf0d11c031) | |
0x00002aaf0d11c021: 8b 97 e0 09 00 00 44 89 c7 48 8b 0c fa 49 89 d0 | |
0x00002aaf0d11c031: 4c 8b 49 08 49 83 39 00 75 2b 8b 73 08 66 90 8b | |
$ echo '8b 97 e0 09 00 00 44 89 c7 48 8b 0c fa 49 89 d0 4c 8b 49 08 49 83 39 00 75 2b 8b 73 08 66 90 8b' | udcli -intel -x -64 -o 0x00002aaf0d11c021 | |
00002aaf0d11c021 8b97e0090000 mov edx, [rdi+0x9e0] | |
00002aaf0d11c027 4489c7 mov edi, r8d | |
00002aaf0d11c02a 488b0cfa mov rcx, [rdx+rdi*8] | |
00002aaf0d11c02e 4989d0 mov r8, rdx | |
00002aaf0d11c031 4c8b4908 mov r9, [rcx+0x8] | |
00002aaf0d11c035 49833900 cmp qword [r9], 0x0 | |
00002aaf0d11c039 752b jnz 0x2aaf0d11c066 | |
00002aaf0d11c03b 8b7308 mov esi, [rbx+0x8] | |
00002aaf0d11c03e 6690 o16 nop | |
00002aaf0d11c040 8b invalid | |
$ | |
Stack: [0x0000000041cc3000,0x0000000041dc4000], sp=0x0000000041dbd480, free space=1001k | |
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) | |
V [libjvm.so+0x593031] <PhaseIdealLoop::build_loop_late_post(Node*)+0x121> | |
V [libjvm.so+0x592cf2] <PhaseIdealLoop::build_loop_late(VectorSet&, Node_List&, Node_Stack&)+0xa2> | |
V [libjvm.so+0x590001] <PhaseIdealLoop::build_and_optimize(bool, bool)+0x651> | |
V [libjvm.so+0x2d5bc2] <Compile::Optimize()+0x2a2> | |
V [libjvm.so+0x2d2cbc] <Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool)+0x7ec> | |
V [libjvm.so+0x25b0de] <C2Compiler::compile_method(ciEnv*, ciMethod*, int)+0x9e> | |
V [libjvm.so+0x2dc468] <CompileBroker::invoke_compiler_on_method(CompileTask*)+0x2a8> | |
V [libjvm.so+0x2dbd6e] <CompileBroker::compiler_thread_loop()+0x2ce> | |
V [libjvm.so+0x72d159] <compiler_thread_entry(JavaThread*, Thread*)+0x9> | |
V [libjvm.so+0x7268c1] <JavaThread::run()+0x121> | |
V [libjvm.so+0x623e1f] <java_start(Thread*)+0x13f> | |
Current CompileTask: | |
C2:2554 ! com.taobao.rate.ratesearch.RateSearchAdaptor.adaptRateDoToSchemaDO(Lcom/taobao/ratecenter/domain/dataobject/FeedRateDO;ZLjava/util/Set;)Lcom/taobao/rate/ratesearch/dataobject/RateSearchSchemaDO; (504 bytes) | |
--------------- P R O C E S S --------------- | |
Java Threads: ( => current thread ) | |
... | |
0x000000005210b800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=28539, stack(0x0000000041dc4000,0x0000000041ec5000)] | |
=>0x0000000052109000 JavaThread "CompilerThread1" daemon [_thread_in_native, id=28538, stack(0x0000000041cc3000,0x0000000041dc4000)] | |
0x0000000052104000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=28537, stack(0x0000000041bc2000,0x0000000041cc3000)] | |
0x0000000052102000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=28536, stack(0x0000000040bec000,0x0000000040ced000)] | |
0x00000000520ff800 JavaThread "Surrogate Locker Thread (CMS)" daemon [_thread_blocked, id=28535, stack(0x0000000040aeb000,0x0000000040bec000)] | |
0x00000000520cf000 JavaThread "Finalizer" daemon [_thread_blocked, id=28534, stack(0x00000000420a3000,0x00000000421a4000)] | |
0x00000000520cd000 JavaThread "Reference Handler" daemon [_thread_blocked, id=28533, stack(0x0000000041fa2000,0x00000000420a3000)] | |
Other Threads: | |
0x00000000520c8800 VMThread [stack: 0x00000000405c9000,0x00000000406ca000] [id=28532] | |
0x0000000052116800 WatcherThread [stack: 0x00000000421a4000,0x00000000422a5000] [id=28540] | |
VM state:not at safepoint (normal execution) | |
VM Mutex/Monitor currently owned by a thread: None | |
Heap | |
par new generation total 1887488K, used 731741K [0x00000006e8000000, 0x0000000768000000, 0x0000000768000000) | |
eden space 1677824K, 40% used [0x00000006e8000000, 0x0000000711d91c20, 0x000000074e680000) | |
from space 209664K, 21% used [0x000000075b340000, 0x000000075e045ae0, 0x0000000768000000) | |
to space 209664K, 0% used [0x000000074e680000, 0x000000074e680000, 0x000000075b340000) | |
concurrent mark-sweep generation total 2097152K, used 660176K [0x0000000768000000, 0x00000007e8000000, 0x00000007e8000000) | |
concurrent-mark-sweep perm gen total 153080K, used 99618K [0x00000007e8000000, 0x00000007f157e000, 0x0000000800000000) | |
VM Arguments: | |
jvm_args: -Xms4g -Xmx4g -XX:PermSize=96m -XX:MaxPermSize=384m -Xmn2g -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=80 -XX:+HeapDumpOnOutOfMemoryError -XX:+PrintGCDetails -XX:+PrintGCDateStamps | |
--------------- S Y S T E M --------------- | |
OS:Red Hat Enterprise Linux Server release 5.4 (Tikanga) | |
uname:Linux 2.6.18-164.el5xen #1 SMP Tue Aug 18 15:59:52 EDT 2009 x86_64 | |
libc:glibc 2.5 NPTL 2.5 | |
rlimit: STACK 10240k, CORE infinity, NPROC 60064, NOFILE 65535, AS infinity | |
load average:0.02 0.26 0.69 | |
/proc/meminfo: | |
MemTotal: 7680000 kB | |
MemFree: 15968 kB | |
Buffers: 43096 kB | |
Cached: 4183260 kB | |
SwapCached: 0 kB | |
Active: 3397040 kB | |
Inactive: 3915800 kB | |
HighTotal: 0 kB | |
HighFree: 0 kB | |
LowTotal: 7680000 kB | |
LowFree: 15968 kB | |
SwapTotal: 2096472 kB | |
SwapFree: 2096376 kB | |
Dirty: 729200 kB | |
Writeback: 0 kB | |
AnonPages: 3086460 kB | |
Mapped: 38732 kB | |
Slab: 158124 kB | |
PageTables: 12848 kB | |
NFS_Unstable: 0 kB | |
Bounce: 0 kB | |
CommitLimit: 5936472 kB | |
Committed_AS: 7242120 kB | |
VmallocTotal: 34359738367 kB | |
VmallocUsed: 1220 kB | |
VmallocChunk: 34359737147 kB | |
CPU:total 5 (4 cores per cpu, 2 threads per core) family 6 model 44 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht | |
Memory: 4k page, physical 7680000k(15968k free), swap 2096472k(2096376k free) | |
vm_info: Java HotSpot(TM) 64-Bit Server VM (19.0-b09) for linux-amd64 JRE (1.6.0_23-b05), built on Nov 12 2010 14:12:21 by "java_re" with gcc 3.2.2 (SuSE Linux) | |
time: Mon Apr 9 21:44:28 2012 | |
elapsed time: 355 seconds |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# A fatal error has been detected by the Java Runtime Environment: | |
# | |
# SIGSEGV (0xb) at pc=0x00002aaf0d11c031, pid=28522, tid=1104951616 | |
# | |
# JRE version: 6.0_23-b05 | |
# Java VM: Java HotSpot(TM) 64-Bit Server VM (19.0-b09 mixed mode linux-amd64 compressed oops) | |
# Problematic frame: | |
# V [libjvm.so+0x593031] | |
# | |
--------------- T H R E A D --------------- | |
Current thread (0x0000000052109000): JavaThread "CompilerThread1" daemon [_thread_in_native, id=28538, stack(0x0000000041cc3000,0x0000000041dc4000)] | |
siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x0000000000000008 | |
Registers: | |
RAX=0x000000005233d560, RBX=0x0000000041dc0160, RCX=0x0000000000000000, RDX=0x0000000053f70ef0 | |
RSP=0x0000000041dbd480, RBP=0x0000000041dbd4c0, RSI=0x0000000052fb6470, RDI=0x0000000000000000 | |
R8 =0x0000000053f70ef0, R9 =0x0000000000000000, R10=0x0000000000000d6e, R11=0x0000000000000d6e | |
R12=0x000000005291fc08, R13=0x000000005247f2c0, R14=0x0000000052fb6470, R15=0x0000000041dc0140 | |
RIP=0x00002aaf0d11c031, EFL=0x0000000000010206, CSGSFS=0x0000000000000033, ERR=0x0000000000000004 | |
TRAPNO=0x000000000000000e | |
Instructions: (pc=0x00002aaf0d11c031) | |
0x00002aaf0d11c021: 8b 97 e0 09 00 00 44 89 c7 48 8b 0c fa 49 89 d0 | |
0x00002aaf0d11c031: 4c 8b 49 08 49 83 39 00 75 2b 8b 73 08 66 90 8b | |
Stack: [0x0000000041cc3000,0x0000000041dc4000], sp=0x0000000041dbd480, free space=1001k | |
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) | |
V [libjvm.so+0x593031] | |
V [libjvm.so+0x592cf2] | |
V [libjvm.so+0x590001] | |
V [libjvm.so+0x2d5bc2] | |
V [libjvm.so+0x2d2cbc] | |
V [libjvm.so+0x25b0de] | |
V [libjvm.so+0x2dc468] | |
V [libjvm.so+0x2dbd6e] | |
V [libjvm.so+0x72d159] | |
V [libjvm.so+0x7268c1] | |
V [libjvm.so+0x623e1f] | |
Current CompileTask: | |
C2:2554 ! com.taobao.rate.ratesearch.RateSearchAdaptor.adaptRateDoToSchemaDO(Lcom/taobao/ratecenter/domain/dataobject/FeedRateDO;ZLjava/util/Set;)Lcom/taobao/rate/ratesearch/dataobject/RateSearchSchemaDO; (504 bytes) | |
--------------- P R O C E S S --------------- | |
Java Threads: ( => current thread ) | |
... | |
0x000000005210b800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=28539, stack(0x0000000041dc4000,0x0000000041ec5000)] | |
=>0x0000000052109000 JavaThread "CompilerThread1" daemon [_thread_in_native, id=28538, stack(0x0000000041cc3000,0x0000000041dc4000)] | |
0x0000000052104000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=28537, stack(0x0000000041bc2000,0x0000000041cc3000)] | |
0x0000000052102000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=28536, stack(0x0000000040bec000,0x0000000040ced000)] | |
0x00000000520ff800 JavaThread "Surrogate Locker Thread (CMS)" daemon [_thread_blocked, id=28535, stack(0x0000000040aeb000,0x0000000040bec000)] | |
0x00000000520cf000 JavaThread "Finalizer" daemon [_thread_blocked, id=28534, stack(0x00000000420a3000,0x00000000421a4000)] | |
0x00000000520cd000 JavaThread "Reference Handler" daemon [_thread_blocked, id=28533, stack(0x0000000041fa2000,0x00000000420a3000)] | |
Other Threads: | |
0x00000000520c8800 VMThread [stack: 0x00000000405c9000,0x00000000406ca000] [id=28532] | |
0x0000000052116800 WatcherThread [stack: 0x00000000421a4000,0x00000000422a5000] [id=28540] | |
VM state:not at safepoint (normal execution) | |
VM Mutex/Monitor currently owned by a thread: None | |
Heap | |
par new generation total 1887488K, used 731741K [0x00000006e8000000, 0x0000000768000000, 0x0000000768000000) | |
eden space 1677824K, 40% used [0x00000006e8000000, 0x0000000711d91c20, 0x000000074e680000) | |
from space 209664K, 21% used [0x000000075b340000, 0x000000075e045ae0, 0x0000000768000000) | |
to space 209664K, 0% used [0x000000074e680000, 0x000000074e680000, 0x000000075b340000) | |
concurrent mark-sweep generation total 2097152K, used 660176K [0x0000000768000000, 0x00000007e8000000, 0x00000007e8000000) | |
concurrent-mark-sweep perm gen total 153080K, used 99618K [0x00000007e8000000, 0x00000007f157e000, 0x0000000800000000) | |
VM Arguments: | |
jvm_args: -Xms4g -Xmx4g -XX:PermSize=96m -XX:MaxPermSize=384m -Xmn2g -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=80 -XX:+HeapDumpOnOutOfMemoryError -XX:+PrintGCDetails -XX:+PrintGCDateStamps | |
--------------- S Y S T E M --------------- | |
OS:Red Hat Enterprise Linux Server release 5.4 (Tikanga) | |
uname:Linux 2.6.18-164.el5xen #1 SMP Tue Aug 18 15:59:52 EDT 2009 x86_64 | |
libc:glibc 2.5 NPTL 2.5 | |
rlimit: STACK 10240k, CORE infinity, NPROC 60064, NOFILE 65535, AS infinity | |
load average:0.02 0.26 0.69 | |
/proc/meminfo: | |
MemTotal: 7680000 kB | |
MemFree: 15968 kB | |
Buffers: 43096 kB | |
Cached: 4183260 kB | |
SwapCached: 0 kB | |
Active: 3397040 kB | |
Inactive: 3915800 kB | |
HighTotal: 0 kB | |
HighFree: 0 kB | |
LowTotal: 7680000 kB | |
LowFree: 15968 kB | |
SwapTotal: 2096472 kB | |
SwapFree: 2096376 kB | |
Dirty: 729200 kB | |
Writeback: 0 kB | |
AnonPages: 3086460 kB | |
Mapped: 38732 kB | |
Slab: 158124 kB | |
PageTables: 12848 kB | |
NFS_Unstable: 0 kB | |
Bounce: 0 kB | |
CommitLimit: 5936472 kB | |
Committed_AS: 7242120 kB | |
VmallocTotal: 34359738367 kB | |
VmallocUsed: 1220 kB | |
VmallocChunk: 34359737147 kB | |
CPU:total 5 (4 cores per cpu, 2 threads per core) family 6 model 44 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht | |
Memory: 4k page, physical 7680000k(15968k free), swap 2096472k(2096376k free) | |
vm_info: Java HotSpot(TM) 64-Bit Server VM (19.0-b09) for linux-amd64 JRE (1.6.0_23-b05), built on Nov 12 2010 14:12:21 by "java_re" with gcc 3.2.2 (SuSE Linux) | |
time: Mon Apr 9 21:44:28 2012 | |
elapsed time: 355 seconds |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ echo '8b 97 e0 09 00 00 44 89 c7 48 8b 0c fa 49 89 d0 4c 8b 49 08 49 83 39 00 75 2b 8b 73 08 66 90 8b' | udcli -intel -x -64 -o 0x00002aaf0d11c021 | |
00002aaf0d11c021 8b97e0090000 mov edx, [rdi+0x9e0] | |
00002aaf0d11c027 4489c7 mov edi, r8d | |
00002aaf0d11c02a 488b0cfa mov rcx, [rdx+rdi*8] | |
00002aaf0d11c02e 4989d0 mov r8, rdx | |
00002aaf0d11c031 4c8b4908 mov r9, [rcx+0x8] | |
00002aaf0d11c035 49833900 cmp qword [r9], 0x0 | |
00002aaf0d11c039 752b jnz 0x2aaf0d11c066 | |
00002aaf0d11c03b 8b7308 mov esi, [rbx+0x8] | |
00002aaf0d11c03e 6690 o16 nop | |
00002aaf0d11c040 8b invalid | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
请问这个问题,最后怎么解决的?我们也遇到这个问题