日期:2014-05-20  浏览次数:20759 次

求助:JVM异常崩溃
我的JAVA程序在linux下运行时经常异常崩溃了,但另一台linux下却一切正常,检查日志文件提示如下:  
#  
#   An   unexpected   error   has   been   detected   by   HotSpot   Virtual   Machine:  
#  
#     SIGSEGV   (0xb)   at   pc=0xb7a7a117,   pid=10087,   tid=2857761680  
#  
#   Java   VM:   Java   HotSpot(TM)   Client   VM   (1.5.0_12-b04   mixed   mode)  
#   Problematic   frame:  
#   V     [libjvm.so+0x2cd117]  
#  
#   An   error   report   file   with   more   information   is   saved   as   hs_err_pid10087.log  
#  
#   If   you   would   like   to   submit   a   bug   report,   please   visit:  
#       http://java.sun.com/webapps/bugreport/crash.jsp  
#  

hs_err_pid10087.log文件的内容如下:  

---------------     T   H   R   E   A   D     ---------------  

Current   thread   (0x08963a38):     VMThread   [id=10089]  

siginfo:si_signo=11,   si_errno=0,   si_code=1,   si_addr=0x0003b68a  

Registers:  
EAX=0x0003b62a,   EBX=0xb7b3a42c,   ECX=0xab5f2b78,   EDX=0xaf09c1c0  
ESP=0xaa55e960,   EBP=0xaa55e988,   ESI=0xab5f2b78,   EDI=0x08918fe0  
EIP=0xb7a7a117,   CR2=0x0003b68a,   EFLAGS=0x00210283  

Top   of   Stack:   (sp=0xaa55e960)  
0xaa55e960:       af09c1c0   ab5f2b78   ab5f2b78   ab5f2b78  
0xaa55e970:       b7b48444   ab92c708   abfec718   b7b3a42c  
0xaa55e980:       00000001   aa55eac0   aa55e9a8   b78fb27f  
0xaa55e990:       08918fe0   aa55e9a8   aa00ffff   b28e6988  
0xaa55e9a0:       088f9bf0   b28e6988   aa55e9c8   b78fa7c8  
0xaa55e9b0:       aa55e9e0   08918fe0   aa55e9e8   b7b3a42c  
0xaa55e9c0:       088f9bf0   088f9bf0   aa55e9f8   b78f9d1e  
0xaa55e9d0:       08918ec0   aa55e9e0   00000001   b7a63305  

Instructions:   (pc=0xb7a7a117)  
0xb7a7a107:       fc   eb   ab   8b   46   04   51   51   8d   50   08   8b   40   08   56   52  
0xb7a7a117:       ff   50   60   83   c4   10   8d   34   86   3b   75   ec   72   e5   8b   57  

Stack:   [0xaa4df000,0xaa560000),     sp=0xaa55e960,     free   space=510k  
Native   frames:   (J=compiled   Java   code,   j=interpreted,   Vv=VM   code,   C=native   code)  
V     [libjvm.so+0x2cd117]  
V     [libjvm.so+0x14e27f]  
V     [libjvm.so+0x14d7c8]  
V     [libjvm.so+0x14cd1e]  
V     [libjvm.so+0x1446c2]  
V     [libjvm.so+0x142c77]  
V     [libjvm.so+0x143c9d]  
V     [libjvm.so+0x14d20d]  
V     [libjvm.so+0x2f5f2e]  
V     [libjvm.so+0x14135f]  
V     [libjvm.so+0xfd4be]  
V     [libjvm.so+0x1415f2]