tomcat运行后过一会就奔溃掉了。下面贴出log,希望大家帮忙看下。是不是sigar的dll问题??
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77bd7383, pid=6308, tid=5332
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_21-b01 mixed mode)
# Problematic frame:
# C [ntdll.dll+0x37383]
#
--------------- T H R E A D ---------------
Current thread (0x49bb5070): JavaThread "http-8080-5" daemon [_thread_in_native, id=5332]
siginfo: ExceptionCode=0xc0000005, reading address 0x00450048
Registers:
EAX=0x00001805, EBX=0x0000460e, ECX=0x00450050, EDX=0x4a6200c4
ESP=0x4ac2f26c, EBP=0x4ac2f33c, ESI=0x00100000, EDI=0x4a6226a0
EIP=0x77bd7383, EFLAGS=0x00010206
Top of Stack: (sp=0x4ac2f26c)
0x4ac2f26c: 3daa6c0d 00000000 00000000 4a620000
0x4ac2f27c: 4a6226a0 77be291c 4a620138 77be2728
0x4ac2f28c: 3daa6ca1 4a620000 1d001805 3daa6c2d
0x4ac2f29c: 4ac2f404 4a6226a0 00580000 00450050
0x4ac2f2ac: 00000008 00160013 00000070 000007ff
0x4ac2f2bc: 4a6f8338 4a6f8330 95aed9b9 4ac2ef08
0x4ac2f2cc: 00000000 f20001f3 761511a1 a97ac481
0x4ac2f2dc: fffffffe 7616efcf 00000000 80000004
Instructions: (pc=0x77bd7383)
0x77bd7373: 3b d1 0f 84 f5 c6 ff ff 85 f6 0f 84 86 eb 03 00
0x77bd7383: 8b 41 f8 89 85 58 ff ff ff 8b 55 e0 8b 72 4c 85
Stack: [0x4abf0000,0x4ac30000), sp=0x4ac2f26c, free space=252k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [ntdll.dll+0x37383]
C [ntdll.dll+0x33cfe]
C [sigar-x86-winnt.dll+0x22870]
C [sigar-x86-winnt.dll+0x22767]
C [sigar-x86-winnt.dll+0x459a]
C [sigar-x86-winnt.dll+0x4430]
C [sigar-x86-winnt.dll+0x5b2c]
C [sigar-x86-winnt.dll+0x558d]
C [sigar-x86-winnt.dll+0x12c72]
j org.hyperic.sigar.ProcMem.gather(Lorg/hyperic/sigar/Sigar;J)V+0
j org.hyperic.sigar.ProcMem.fetch(Lorg/hyperic/sigar/Sigar;J)Lorg/hyperic/sigar/ProcMem;+11
j org.hyperic.sigar.Sigar.getProcMem(J)Lorg/hyperic/sigar/ProcMem;+2
j com.datanew.dnserver.montior.MonitorOperation.runMonitor(Lcom/datanew/dnserver/montior/Monitor;)V+68
j com.datanew.dnserver.http.MonitorHandle.realTimeSysMonitor()Ljava/lang/String;+9
j com.datanew.dnserver.http.MonitorHandle.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+233
j com.datanew.dnserver.http.MonitorHandle.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+3
j javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+139
j javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+30
j org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+376
j org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101
j org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+804
j org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+365
j org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+64
j org.apache.catalina.valves.ErrorReportValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+6
j org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+42
j org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V+158
j org.apache.coyote.http11.Http11Processor.process(Ljava/net/Socket;)V+468
j org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Ljava/net/Socket;)Z+82
j org.apache.tomcat.util.net.JIoEndpoint$Worker.run()V+41
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
V [jvm.dll+0x876b1]
V [jvm.dll+0xe0018]
V [jvm.dll+0x87582]
V [jvm.dll+0x872df]
V [jvm.dll+0xa2131]
V [jvm.dll+0x111960]
V [jvm.dll+0x11192e]
C [msvcrt.dll+0x11287]
C [msvcrt.dll+0x11328]
C [kernel32.dll+0x1338a]
C [ntdll.dll+0x39f72]
C [ntdll.dll+0x39f45]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.hyperic.sigar.ProcMem.gather(Lorg/hyperic/sigar/Sigar;J)V+0
j org.hyperic.sigar.ProcMem.fetch(Lorg/hyperic/sigar/Sigar;J)Lorg/hyperic/sigar/ProcMem;+11
j org.hyperic.sigar.Sigar.getProcMem(J)Lorg/hyperic/sigar/ProcMem;+2
j com.datanew.dnserver.montior.MonitorOperation.runMonitor(Lcom/datanew/dnserver/montior/Monitor;)V+68
j com.datanew.dnserver.http.MonitorHandle.realTimeSysMonitor()Ljava/lang/String;+9
j com.datanew.dnserver.http.MonitorHandle.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+233
j com.datanew.dnserver.http.MonitorHandle.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+3
j javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+139
j javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+30
j org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+376
j org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101
j org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+804
j org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+365
j org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+64
j org.apache.catalina.valves.ErrorReportValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+6
j org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+42
j org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V+158
j org.apache.coyote.http11.Http11Processor.process(Ljava/net/Socket;)V+468
j org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Ljava/net/Socket;)Z+82
j org.apache.tomcat.util.net.JIoEndpoint$Worker.run()V+41
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x49a23298 JavaThread "TP-Monitor" daemon [_thread_blocked, id=6220]
0x49a23110 JavaThread "TP-Processor4" daemon [_thread_in_native, id=1912]
0x49a22f88 JavaThread "TP-Processor3" daemon [_thread_blocked, id=5108]
0x49a22e00 JavaThread "TP-Processor2" daemon [_thread_blocked, id=7460]
0x49a22c78 JavaThread "TP-Processor1" daemon [_thread_blocked, id=7644]
0x49a22968 JavaThread "http-8080-7" daemon [_thread_in_native, id=3820]
0x49bb51f8 JavaThread "http-8080-6" daemon [_thread_in_native, id=6868]
=>0x49bb5070 JavaThread "http-8080-5" daemon [_thread_in_native, id=5332]
0x49bb4ee8 JavaThread "http-8080-4" daemon [_thread_in_native, id=5596]
0x49bb4d60 JavaThread "http-8080-3" daemon [_thread_in_native, id=8148]
0x49bb4bd8 JavaThread "http-8080-2" daemon [_thread_in_native, id=7576]
0x49bb4a50 JavaThread "http-8080-1" daemon [_thread_in_native, id=6676]
0x49bb48c8 JavaThread "http-8080-Acceptor-0" daemon [_thread_in_native, id=1700]
0x49111628 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=6252]
0x49bb4740 JavaThread "Thread-8" [_thread_blocked, id=5908]
0x49bb45b8 JavaThread "Thread-7" [_thread_in_vm, id=6176]
0x49bb4430 JavaThread "pool-1-thread-2" [_thread_blocked, id=7812]
0x49112b98 JavaThread "pool-1-thread-1" [_thread_blocked, id=8052]
0x49112a10 JavaThread "Store 0 Spool Thread" daemon [_thread_blocked, id=6820]
0x49112700 JavaThread "Store 38 Spool Thread" daemon [_thread_blocked, id=5732]
0x49112578 JavaThread "Store 38 Spool Thread" daemon [_thread_blocked, id=5012]
0x491123f0 JavaThread "Store 38 Spool Thread" daemon [_thread_blocked, id=772]
0x49112268 JavaThread "Store 38 Spool Thread" daemon [_thread_blocked, id=5328]
0x491120e0 JavaThread "Store 38 Spool Thread" daemon [_thread_blocked, id=7760]
0x49111f58 JavaThread "Store 38 Spool Thread" daemon [_thread_blocked, id=6160]
0x49111dd0 JavaThread "Store 38 Spool Thread" daemon [_thread_blocked, id=7972]
0x49111c48 JavaThread "HSQLDB Timer @3a9c52" daemon [_thread_blocked, id=6560]
0x49111ac0 JavaThread "Timer-0" daemon [_thread_blocked, id=6900]
0x491117b0 JavaThread "Store 27 Spool Thread" daemon [_thread_blocked, id=7104]
0x49111938 JavaThread "Thread-4" [_thread_blocked, id=5300]
0x491114a0 JavaThread "Thread-3" [_thread_blocked, id=7332]
0x49111318 JavaThread "Thread-2" [_thread_blocked, id=7056]
0x49111190 JavaThread "Thread-1" [_thread_in_native, id=5168]
0x49111008 JavaThread "GC Daemon" daemon [_thread_blocked, id=1564]
0x003df038 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=992]
0x003ddc48 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5428]
0x003dc5f0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5096]
0x003db818 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=5992]
0x003d8c90 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=6420]
0x003cf0f0 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_blocked, id=5924]
0x003bfbc0 JavaThread "Finalizer" daemon [_thread_blocked, id=6312]
------解决思路----------------------
楼主可以先将sigar去了