A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000180007e33, pid=17112, tid=35084
JRE version: Java(TM) SE Runtime Environment (8.0_77-b03) (build 1.8.0_77-b03)
Java VM: Java HotSpot(TM) 64-Bit Server VM (25.77-b03 mixed mode windows-amd64 compressed oops)
Problematic frame:
C [tcnative-1.dll+0x7e33]
Core dump written. Default location: D:\apache-tomcat-8.0.9\bin\hs_err_pid17112.mdmp
If you would like to submit a bug report, please visit:
http://bugreport.java.com/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.
--------------- T H R E A D ---------------
Current thread (0x0000000021d51000): JavaThread "http-apr-8180-Poller" daemon [_thread_in_native, id=35084, stack(0x00000000252a0000,0x00000000253a0000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x0000000000000000
Stack: [0x00000000252a0000,0x00000000253a0000], sp=0x000000002539f3b0, free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 4152 org.apache.tomcat.jni.Poll.poll(JJ[JZ)I (0 bytes) @ 0x00000000033aa922 [0x00000000033aa8c0+0x62]
J 41686% C2 org.apache.tomcat.util.net.AprEndpoint$Poller.run()V (2299 bytes) @ 0x0000000009c50dec [0x0000000009c509a0+0x44c]
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Other Threads:
0x0000000019dc9000 VMThread [stack: 0x000000001baa0000,0x000000001bba0000] [id=27300]
0x000000001bd6d000 WatcherThread [stack: 0x000000001c8f0000,0x000000001c9f0000] [id=13292]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap:
PSYoungGen total 43520K, used 28236K [0x0000000780000000, 0x0000000782e00000, 0x00000007c0000000)
eden space 41984K, 63% used [0x0000000780000000,0x0000000781a2b170,0x0000000782900000)
from space 1536K, 93% used [0x0000000782980000,0x0000000782ae8000,0x0000000782b00000)
to space 2560K, 0% used [0x0000000782b80000,0x0000000782b80000,0x0000000782e00000)
ParOldGen total 184320K, used 138397K [0x0000000700000000, 0x000000070b400000, 0x0000000780000000)
object space 184320K, 75% used [0x0000000700000000,0x0000000708727630,0x000000070b400000)
Metaspace used 156378K, capacity 161714K, committed 162176K, reserved 1191936K
class space used 17502K, capacity 18653K, committed 18816K, reserved 1048576K
Card table byte_map: [0x0000000011bd0000,0x00000000121e0000] byte_map_base: 0x000000000e3d0000
Marking Bits: (ParMarkBitMap*) 0x0000000052530600
Begin Bits: [0x0000000012de0000, 0x0000000015de0000)
End Bits: [0x0000000015de0000, 0x0000000018de0000)
Polling page: 0x0000000000a30000
CodeCache: size=245760Kb used=135226Kb max_used=135366Kb free=110533Kb
bounds [0x0000000002810000, 0x000000000ad80000, 0x0000000011810000]
total_blobs=33843 nmethods=33285 adapters=469
compilation: enabled
Compilation events (10 events):
Event: 862402.157 Thread 0x000000001bd37800 48358 4 org.apache.http.impl.io.HttpRequestWriter::<init> (8 bytes)
Event: 862402.158 Thread 0x000000001bd2e000 48359 4 org.apache.http.impl.AbstractHttpClientConnection::createConnectionMetrics (10 bytes)
Event: 862402.160 Thread 0x000000001bd33800 48360 4 org.apache.http.impl.HttpConnectionMetricsImpl::<init> (25 bytes)
Event: 862402.166 Thread 0x000000001bd37800 nmethod 48358 0x000000000aa4dd10 code [0x000000000aa4de60, 0x000000000aa4dee8]
Event: 862402.167 Thread 0x000000001bd2e000 nmethod 48359 0x000000000a6e8550 code [0x000000000a6e86a0, 0x000000000a6e8798]
Event: 862402.183 Thread 0x000000001bd33800 nmethod 48360 0x0000000004916d50 code [0x0000000004916e80, 0x0000000004916f18]
Event: 863280.148 Thread 0x000000001bd2e000 48361 4 java.security.MessageDigest::digest (10 bytes)
Event: 863280.154 Thread 0x000000001bd2e000 nmethod 48361 0x0000000002ffd490 code [0x0000000002ffd5e0, 0x0000000002ffd6d8]
Event: 863335.666 Thread 0x000000001bd37800 48362 ! 4 com.friend.utils.DateUtil::isYesterday (73 bytes)
Event: 863335.694 Thread 0x000000001bd37800 nmethod 48362 0x000000000a66b090 code [0x000000000a66b2e0, 0x000000000a66c260]
GC Heap History (10 events):
Event: 864268.434 GC heap before
{Heap before GC invocations=61682 (full 31):
PSYoungGen total 46592K, used 46048K [0x0000000780000000, 0x0000000783080000, 0x00000007c0000000)
eden space 44544K, 100% used [0x0000000780000000,0x0000000782b80000,0x0000000782b80000)
from space 2048K, 73% used [0x0000000782e80000,0x0000000782ff8000,0x0000000783080000)
to space 2560K, 0% used [0x0000000782b80000,0x0000000782b80000,0x0000000782e00000)
ParOldGen total 184320K, used 137893K [0x0000000700000000, 0x000000070b400000, 0x0000000780000000)
object space 184320K, 74% used [0x0000000700000000,0x00000007086a9630,0x000000070b400000)
Metaspace used 156378K, capacity 161714K, committed 162176K, reserved 1191936K
class space used 17502K, capacity 18653K, committed 18816K, reserved 1048576K
Event: 864268.465 GC heap after
Heap after GC invocations=61682 (full 31):
PSYoungGen total 44544K, used 160K [0x0000000780000000, 0x0000000783000000, 0x00000007c0000000)
eden space 44032K, 0% used [0x0000000780000000,0x0000000780000000,0x0000000782b00000)
from space 512K, 31% used [0x0000000782b80000,0x0000000782ba8000,0x0000000782c00000)
to space 2560K, 0% used [0x0000000782d80000,0x0000000782d80000,0x0000000783000000)
ParOldGen total 184320K, used 137917K [0x0000000700000000, 0x000000070b400000, 0x0000000780000000)
object space 184320K, 74% used [0x0000000700000000,0x00000007086af630,0x000000070b400000)
Metaspace used 156378K, capacity 161714K, committed 162176K, reserved 1191936K
class space used 17502K, capacity 18653K, committed 18816K, reserved 1048576K
}
Event: 864274.710 GC heap before
{Heap before GC invocations=61683 (full 31):
PSYoungGen total 44544K, used 44192K [0x0000000780000000, 0x0000000783000000, 0x00000007c0000000)
eden space 44032K, 100% used [0x0000000780000000,0x0000000782b00000,0x0000000782b00000)
from space 512K, 31% used [0x0000000782b80000,0x0000000782ba8000,0x0000000782c00000)
to space 2560K, 0% used [0x0000000782d80000,0x0000000782d80000,0x0000000783000000)
ParOldGen total 184320K, used 137917K [0x0000000700000000, 0x000000070b400000, 0x0000000780000000)
object space 184320K, 74% used [0x0000000700000000,0x00000007086af630,0x000000070b400000)
Metaspace used 156378K, capacity 161714K, committed 162176K, reserved 1191936K
class space used 17502K, capacity 18653K, committed 18816K, reserved 1048576K
Event: 864274.727 GC heap after
Heap after GC invocations=61683 (full 31):
PSYoungGen total 45568K, used 672K [0x0000000780000000, 0x0000000782f80000, 0x00000007c0000000)
eden space 43520K, 0% used [0x0000000780000000,0x0000000780000000,0x0000000782a80000)
from space 2048K, 32% used [0x0000000782d80000,0x0000000782e28000,0x0000000782f80000)
to space 2560K, 0% used [0x0000000782a80000,0x0000000782a80000,0x0000000782d00000)
ParOldGen total 184320K, used 137981K [0x0000000700000000, 0x000000070b400000, 0x0000000780000000)
object space 184320K, 74% used [0x0000000700000000,0x00000007086bf630,0x000000070b400000)
Metaspace used 156378K, capacity 161714K, committed 162176K, reserved 1191936K
class space used 17502K, capacity 18653K, committed 18816K, reserved 1048576K
}
Event: 864276.743 GC heap before
{Heap before GC invocations=61684 (full 31):
PSYoungGen total 45568K, used 44192K [0x0000000780000000, 0x0000000782f80000, 0x00000007c0000000)
eden space 43520K, 100% used [0x0000000780000000,0x0000000782a80000,0x0000000782a80000)
from space 2048K, 32% used [0x0000000782d80000,0x0000000782e28000,0x0000000782f80000)
to space 2560K, 0% used [0x0000000782a80000,0x0000000782a80000,0x0000000782d00000)
ParOldGen total 184320K, used 137981K [0x0000000700000000, 0x000000070b400000, 0x0000000780000000)
object space 184320K, 74% used [0x0000000700000000,0x00000007086bf630,0x000000070b400000)
Metaspace used 156378K, capacity 161714K, committed 162176K, reserved 1191936K
class space used 17502K, capacity 18653K, committed 18816K, reserved 1048576K
Event: 864276.758 GC heap after
Heap after GC invocations=61684 (full 31):
PSYoungGen total 44544K, used 1344K [0x0000000780000000, 0x0000000782f00000, 0x00000007c0000000)
eden space 43008K, 0% used [0x0000000780000000,0x0000000780000000,0x0000000782a00000)
from space 1536K, 87% used [0x0000000782a80000,0x0000000782bd0000,0x0000000782c00000)
to space 2560K, 0% used [0x0000000782c80000,0x0000000782c80000,0x0000000782f00000)
ParOldGen total 184320K, used 138245K [0x0000000700000000, 0x000000070b400000, 0x0000000780000000)
object space 184320K, 75% used [0x0000000700000000,0x0000000708701630,0x000000070b400000)
Metaspace used 156378K, capacity 161714K, committed 162176K, reserved 1191936K
class space used 17502K, capacity 18653K, committed 18816K, reserved 1048576K
}
Event: 864283.892 GC heap before
{Heap before GC invocations=61685 (full 31):
PSYoungGen total 44544K, used 44352K [0x0000000780000000, 0x0000000782f00000, 0x00000007c0000000)
eden space 43008K, 100% used [0x0000000780000000,0x0000000782a00000,0x0000000782a00000)
from space 1536K, 87% used [0x0000000782a80000,0x0000000782bd0000,0x0000000782c00000)
to space 2560K, 0% used [0x0000000782c80000,0x0000000782c80000,0x0000000782f00000)
ParOldGen total 184320K, used 138245K [0x0000000700000000, 0x000000070b400000, 0x0000000780000000)
object space 184320K, 75% used [0x0000000700000000,0x0000000708701630,0x000000070b400000)
Metaspace used 156378K, capacity 161714K, committed 162176K, reserved 1191936K
class space used 17502K, capacity 18653K, committed 18816K, reserved 1048576K
Event: 864283.927 GC heap after
Heap after GC invocations=61685 (full 31):
PSYoungGen total 44544K, used 1344K [0x0000000780000000, 0x0000000782e80000, 0x00000007c0000000)
eden space 42496K, 0% used [0x0000000780000000,0x0000000780000000,0x0000000782980000)
from space 2048K, 65% used [0x0000000782c80000,0x0000000782dd0000,0x0000000782e80000)
to space 2560K, 0% used [0x0000000782980000,0x0000000782980000,0x0000000782c00000)
ParOldGen total 184320K, used 138285K [0x0000000700000000, 0x000000070b400000, 0x0000000780000000)
object space 184320K, 75% used [0x0000000700000000,0x000000070870b630,0x000000070b400000)
Metaspace used 156378K, capacity 161714K, committed 162176K, reserved 1191936K
class space used 17502K, capacity 18653K, committed 18816K, reserved 1048576K
}
Event: 864286.345 GC heap before
{Heap before GC invocations=61686 (full 31):
PSYoungGen total 44544K, used 43840K [0x0000000780000000, 0x0000000782e80000, 0x00000007c0000000)
eden space 42496K, 100% used [0x0000000780000000,0x0000000782980000,0x0000000782980000)
from space 2048K, 65% used [0x0000000782c80000,0x0000000782dd0000,0x0000000782e80000)
to space 2560K, 0% used [0x0000000782980000,0x0000000782980000,0x0000000782c00000)
ParOldGen total 184320K, used 138285K [0x0000000700000000, 0x000000070b400000, 0x0000000780000000)
object space 184320K, 75% used [0x0000000700000000,0x000000070870b630,0x000000070b400000)
Metaspace used 156378K, capacity 161714K, committed 162176K, reserved 1191936K
class space used 17502K, capacity 18653K, committed 18816K, reserved 1048576K
Event: 864286.374 GC heap after
Heap after GC invocations=61686 (full 31):
PSYoungGen total 43520K, used 1440K [0x0000000780000000, 0x0000000782e00000, 0x00000007c0000000)
eden space 41984K, 0% used [0x0000000780000000,0x0000000780000000,0x0000000782900000)
from space 1536K, 93% used [0x0000000782980000,0x0000000782ae8000,0x0000000782b00000)
to space 2560K, 0% used [0x0000000782b80000,0x0000000782b80000,0x0000000782e00000)
ParOldGen total 184320K, used 138397K [0x0000000700000000, 0x000000070b400000, 0x0000000780000000)
object space 184320K, 75% used [0x0000000700000000,0x0000000708727630,0x000000070b400000)
Metaspace used 156378K, capacity 161714K, committed 162176K, reserved 1191936K
class space used 17502K, capacity 18653K, committed 18816K, reserved 1048576K
}
Deoptimization events (10 events):
Event: 825431.073 Thread 0x0000000022861800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000007229cdc method=org.apache.tomcat.util.http.Cookies.processCookieHeader([BII)V @ 177
Event: 825431.073 Thread 0x0000000022861800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000004300d14 method=org.apache.coyote.http11.AbstractHttp11Processor.action(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V @ 217
Event: 825431.074 Thread 0x0000000022861800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000000000ab1b560 method=org.apache.coyote.http11.AbstractHttp11Processor.process(Lorg/apache/tomcat/util/net/SocketWrapper;)Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler$SocketState; @ 869
Event: 839351.581 Thread 0x0000000023a67000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000009f3df04 method=com.mysql.jdbc.ResultSetImpl.getFloatFromString(Ljava/lang/String;I)F @ 1
Event: 839351.582 Thread 0x0000000023a67000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000000000a4c6c08 method=org.apache.ibatis.binding.MapperProxy.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object; @ 60
Event: 850822.324 Thread 0x000000001d459000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000004b30f38 method=org.apache.coyote.http11.InternalAprInputBuffer.parseRequestLine(Z)Z @ 545
Event: 853893.803 Thread 0x000000001be19800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000000000a22e154 method=com.friend.utils.Blowfish.binHexToBytes(Ljava/lang/String;[BIII)I @ 91
Event: 853903.413 Thread 0x0000000020696000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000004951474 method=org.apache.tomcat.util.buf.UDecoder.isHexDigit(I)Z @ 15
Event: 853903.413 Thread 0x0000000020696000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000003be9234 method=org.apache.tomcat.util.buf.UDecoder.isHexDigit(I)Z @ 15
Event: 853903.413 Thread 0x0000000020696000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000000000a7e5910 method=com.friend.utils.Blowfish.binHexToBytes(Ljava/lang/String;[BIII)I @ 91
Internal exceptions (10 events):
Event: 863625.724 Thread 0x000000001be17000 Exception <a 'java/net/SocketTimeoutException': Read timed out> (0x0000000780e865b8) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u77\6540\hotspot\src\share\vm\prims\jni.cpp, line 735]
Event: 863629.826 Thread 0x000000001d122800 Exception <a 'java/net/SocketTimeoutException': Read timed out> (0x00000007805c9b70) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u77\6540\hotspot\src\share\vm\prims\jni.cpp, line 735]
Event: 863636.158 Thread 0x0000000022d39000 Exception <a 'java/net/SocketTimeoutException': Read timed out> (0x00000007801891d8) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u77\6540\hotspot\src\share\vm\prims\jni.cpp, line 735]
Event: 863647.958 Thread 0x000000001cfab000 Exception <a 'java/net/SocketTimeoutException': Read timed out> (0x00000007815ce4f0) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u77\6540\hotspot\src\share\vm\prims\jni.cpp, line 735]
Event: 863655.637 Thread 0x00000000206ae800 Exception <a 'java/net/SocketTimeoutException': Read timed out> (0x0000000780d0c128) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u77\6540\hotspot\src\share\vm\prims\jni.cpp, line 735]
Event: 863661.764 Thread 0x000000001d836000 Exception <a 'java/net/SocketTimeoutException': Read timed out> (0x000000078088e780) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u77\6540\hotspot\src\share\vm\prims\jni.cpp, line 735]
Event: 863668.530 Thread 0x000000001d124000 Exception <a 'java/net/SocketTimeoutException': Read timed out> (0x0000000781b738d8) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u77\6540\hotspot\src\share\vm\prims\jni.cpp, line 735]
Event: 863894.624 Thread 0x000000001cf9c800 Exception <a 'java/net/SocketTimeoutException': Read timed out> (0x00000007816615e0) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u77\6540\hotspot\src\share\vm\prims\jni.cpp, line 735]
Event: 863975.112 Thread 0x000000001efb3000 Exception <a 'java/net/SocketTimeoutException': Read timed out> (0x00000007817229e0) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u77\6540\hotspot\src\share\vm\prims\jni.cpp, line 735]
Event: 864239.213 Thread 0x00000000212d4000 Exception <a 'java/net/SocketTimeoutException': Read timed out> (0x00000007817fef50) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u77\6540\hotspot\src\share\vm\prims\jni.cpp, line 735]
Events (10 events):
Event: 864268.429 Executing VM operation: ParallelGCFailedAllocation
Event: 864268.472 Executing VM operation: ParallelGCFailedAllocation done
Event: 864274.700 Executing VM operation: ParallelGCFailedAllocation
Event: 864274.728 Executing VM operation: ParallelGCFailedAllocation done
Event: 864276.736 Executing VM operation: ParallelGCFailedAllocation
Event: 864276.758 Executing VM operation: ParallelGCFailedAllocation done
Event: 864283.886 Executing VM operation: ParallelGCFailedAllocation
Event: 864283.928 Executing VM operation: ParallelGCFailedAllocation done
Event: 864286.331 Executing VM operation: ParallelGCFailedAllocation
Event: 864286.375 Executing VM operation: ParallelGCFailedAllocation done
tomcat8.0.9突然挂了,在bin目录下生成日志hs_err_pid17112.log,以上是日志内容。从表面上看,并不是内存分配不足所导致的,那具体是什么原因呢?有谁遇到过此问题,怎么解决啊?求大神帮忙!
Exception <a 'java/net/SocketTimeoutException': Read timed out>
读取超时trap: reason=unstable_if action=reinterpret pc=0x000000000a7e5910 method=com.friend.utils.Blowfish.binHexToBytes(Ljava/lang/String;[BIII)I
还有这个方法调用,拿出来看看
Event: 863625.724 Thread 0x000000001be17000 Exception (0x0000000780e865b8) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u77\6540\hotspot\src\share\vm\prims\jni.cpp, line 735]
读取超时,这个只能看出是jdk本身代码里面的异常,但自己如何解决此问题呢。
binHexToBytes方法调用明细如下:(这是网上通用的blowfish加密算法,具体里面有什么问题,通过tomcat的异常信息也看不出来啊)
/**
* converts a binhex string back into a byte array (invalid codes will be skipped)
* @param sBinHex binhex string
* @param data the target array
* @param nSrcPos from which character in the string the conversion should begin,
* remember that (nSrcPos modulo 2) should equals 0 normally
* @param nDstPos to store the bytes from which position in the array
* @param nNumOfBytes number of bytes to extract
* @return number of extracted bytes
*/
private static int binHexToBytes(String sBinHex,
byte[] data,
int nSrcPos,
int nDstPos,
int nNumOfBytes)
{
// check for correct ranges
int nStrLen = sBinHex.length();
int nAvailBytes = (nStrLen - nSrcPos) >> 1;
if (nAvailBytes < nNumOfBytes)
{
nNumOfBytes = nAvailBytes;
}
int nOutputCapacity = data.length - nDstPos;
if (nNumOfBytes > nOutputCapacity)
{
nNumOfBytes = nOutputCapacity;
}
// convert now
int nResult = 0;
for (int nI = 0; nI < nNumOfBytes; nI++)
{
byte bActByte = 0;
boolean blConvertOK = true;
for (int nJ = 0; nJ < 2; nJ++)
{
bActByte <<= 4;
char cActChar = sBinHex.charAt(nSrcPos++);
if ((cActChar >= 'a') && (cActChar <= 'f'))
{
bActByte |= (byte)(cActChar - 'a') + 10;
}
else
{
if ((cActChar >= '0') && (cActChar <= '9'))
{
bActByte |= (byte)(cActChar - '0');
}
else
{
blConvertOK = false;
}
}
}
if (blConvertOK)
{
data[nDstPos++] = bActByte;
nResult++;
}
}
return nResult;
}
QQ:1045532231,求大神帮解决!
GC Heap History (10 events):
Event: 864268.434 GC heap before
{Heap before GC invocations=61682 (full 31):
PSYoungGen total 46592K, used 46048K [0x0000000780000000, 0x0000000783080000, 0x00000007c0000000)
eden space 44544K, 100% used
100% used是不是与tomcat崩溃有关系啊?但也没有任何OutOfMemory错误信息打印啊?100% used是正常的吗?求大神啊!
昨天看到这题了,不是很确定就没回。我的看法是tomcat的BUG。
注意最前面的信息: Problematic frame: C [tcnative-1.dll+0x7e33]
,出现问题的代码位于tcnative-1.dll
,是tomcat的native包。
且能看到下面提到,出现Error的线程名字叫做http-apr-8180-Poller
,且看一下这个线程的Java栈信息:
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 4152 org.apache.tomcat.jni.Poll.poll(JJ[JZ)I (0 bytes) @ 0x00000000033aa922 [0x00000000033aa8c0+0x62]
J 41686% C2 org.apache.tomcat.util.net.AprEndpoint$Poller.run()V (2299 bytes) @ 0x0000000009c50dec [0x0000000009c509a0+0x44c]
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
出现错误的时候Java栈的最顶层方法是org.apache.tomcat.jni.Poll.poll
。
我来给你重现一下当时的情景:有个叫做http-apr-8180-Poller
的线程,执行到org.apache.tomcat.jni.Poll.poll
方法(推测这是一个native方法),通过JNI调用tcnative-1.dll
中的代码时出现异常。其内部的方法栈没有打印出来,无法进一步分析。
建议:升级tomcat版本。我注意到你的版本是8.0.9,目前最新的tomcat8的版本是8.0.44,进行了很多更新,而且查看change log(http://tomcat.apache.org/tomcat-8.0-doc/changelog.html ),能看到native包进行了较大版本的升级(从1.1.x升级到了1.2.x),推荐升级。