https://bz.apache.org/bugzilla/show_bug.cgi?id=62626

--- Comment #18 from jan.pfei...@centrum.cz ---
(In reply to Christopher Schultz from comment #16)

Its like observing black hole for me but i've came to some conslusions

> 
> But why is it not crashing on Java 8?

1. I have tried org.apache.catalina.connector.RECYCLE_FACADES=true parameter
before and left it enabled. But I am quite sure it crashed at least once with
parameter enabled. I've disabled it again.

2. HTTP/2. As I mentioned before I didnt know it is possible to have it working
with Java 8. So I run it only with HTTP11. I have enabled HTTP/2 on Java 8
yesterday and got three crashes till now. 

3. AND/OR "malevolent" traffic. There was some strange access logs for the
images. Now its is clear it is related to HTTP/2. As it ceased with HTTP1 and
reappeared again now with HTTP/2. It seems some bots have problems with HTTP/2,
requesting the same images over and over again and terminating connection in
some "bad" way.

Last crash log (Java 8 + HTTP/2 RECYCLE_FACADES=false)

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

Current thread (0x0000000024278800):  JavaThread
"https-openssl-apr-443-exec-39" daemon [_thread_in_native, id=52448,
stack(0x000000002d850000,0x000000002d950000)]

siginfo: ExceptionCode=0xc0000005, writing address 0x00000000000001a0

Registers:
RAX=0x0000000000000000, RBX=0x000000002c5a69a0, RCX=0x00000001801ccca0,
RDX=0x00000000fffffff0
RSP=0x000000002d94e190, RBP=0x0000000000000009, RSI=0x0000000000000017,
RDI=0x00000000ffffffff
R8 =0x0000000000000006, R9 =0x000000000000004b, R10=0x0000000000000007,
R11=0x00000000ffffffff
R12=0x000000002c4971c6, R13=0x00000000299b21c0, R14=0x0000000000000000,
R15=0x0000000000000000
RIP=0x00000001800e0a8f, EFLAGS=0x0000000000010286

Top of Stack: (sp=0x000000002d94e190)
0x000000002d94e190:   000000002c5a69a0 0000000000000008
0x000000002d94e1a0:   000000002c5a69a0 00000000299b21c0
0x000000002d94e1b0:   0000000000000000 0000000000000000
0x000000002d94e1c0:   0000000000000000 00000000713333f2
0x000000002d94e1d0:   0000001700000009 0000000000000009
0x000000002d94e1e0:   0000000020c47220 000000007132cb5d
0x000000002d94e1f0:   000000002240cd00 00000000713b0b22
0x000000002d94e200:   0000000024278800 0000000020c47220
0x000000002d94e210:   0000000022df4640 0000000000000000
0x000000002d94e220:   00002181135f529d 00000001800e0075
0x000000002d94e230:   000000002d94e370 0000000020c47220
0x000000002d94e240:   000000002d94e318 0000000000000009
0x000000002d94e250:   0000000020c47220 0000000000000009
0x000000002d94e260:   000000002c5a69a0 00000001800e5c2e
0x000000002d94e270:   0000000000000000 0000000000000000
0x000000002d94e280:   000000001fa3da90 0000000024278800 

Instructions: (pc=0x00000001800e0a8f)
0x00000001800e0a6f:   f6 41 70 08 75 08 48 8b cb e8 d3 64 00 00 42 8d
0x00000001800e0a7f:   04 37 e9 de f7 ff ff 33 ff 48 8b 83 80 00 00 00
0x00000001800e0a8f:   44 89 b0 a0 01 00 00 8b c7 e9 c7 f7 ff ff ba 9e
0x00000001800e0a9f:   00 00 00 4c 8d 0d a7 c7 0e 00 b9 14 00 00 00 44 


Register to memory mapping:

RAX=0x0000000000000000 is an unknown value
RBX=0x000000002c5a69a0 is an unknown value
RCX=0x00000001801ccca0 is an unknown value
RDX=0x00000000fffffff0 is an unknown value
RSP=0x000000002d94e190 is pointing into the stack for thread:
0x0000000024278800
RBP=0x0000000000000009 is an unknown value
RSI=0x0000000000000017 is an unknown value
RDI=0x00000000ffffffff is an unknown value
R8 =0x0000000000000006 is an unknown value
R9 =0x000000000000004b is an unknown value
R10=0x0000000000000007 is an unknown value
R11=0x00000000ffffffff is an unknown value
R12=0x000000002c4971c6 is an unknown value
R13=0x00000000299b21c0 is an unknown value
R14=0x0000000000000000 is an unknown value
R15=0x0000000000000000 is an unknown value


Stack: [0x000000002d850000,0x000000002d950000],  sp=0x000000002d94e190,  free
space=1016k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [tcnative-1.dll+0xe0a8f]
C  [tcnative-1.dll+0xe5c2e]
C  [tcnative-1.dll+0x104bc]
C  [tcnative-1.dll+0x56ff]
C  0x0000000002cbc5a5

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 7660  org.apache.tomcat.jni.Socket.sendb(JLjava/nio/ByteBuffer;II)I (0 bytes)
@ 0x0000000002cbc51f [0x0000000002cbc4c0+0x5f]
J 12795 C2
org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper.doWrite(ZLjava/nio/ByteBuffer;)V
(242 bytes) @ 0x00000000043caef0 [0x00000000043cac80+0x270]
J 15975 C2
org.apache.coyote.http2.Http2UpgradeHandler.writeBody(Lorg/apache/coyote/http2/Stream;Ljava/nio/ByteBuffer;IZ)V
(218 bytes) @ 0x0000000003c10ba0 [0x0000000003c10680+0x520]
J 12532 C2 java.io.BufferedOutputStream.write([BII)V (67 bytes) @
0x0000000004301c3c [0x0000000004300940+0x12fc]
J 18229 C2
com.m2000.shop.controllers.DefaultController.image(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/servlet/http/HttpServletResponse;Ljavax/servlet/http/HttpServletRequest;)V
(1129 bytes) @ 0x000000000535b604 [0x0000000005358ac0+0x2b44]
J 18326 C2
sun.reflect.GeneratedMethodAccessor117.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
(98 bytes) @ 0x000000000444a64c [0x000000000444a560+0xec]
J 17923 C2
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(Lorg/springframework/web/context/request/NativeWebRequest;Lorg/springframework/web/method/support/ModelAndViewContainer;[Ljava/lang/Object;)Ljava/lang/Object;
(148 bytes) @ 0x0000000005241df8 [0x00000000052419c0+0x438]
J 16267 C2
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Lorg/springframework/web/method/HandlerMethod;)Lorg/springframework/web/servlet/ModelAndView;
(328 bytes) @ 0x0000000003bc3cc0 [0x0000000003bc2b00+0x11c0]
J 15842 C2
org.springframework.web.servlet.DispatcherServlet.doDispatch(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
(594 bytes) @ 0x0000000004c4a6d4 [0x0000000004c49a00+0xcd4]
J 15824 C2
org.springframework.web.servlet.DispatcherServlet.doService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
(360 bytes) @ 0x00000000042e6e78 [0x00000000042e65c0+0x8b8]
J 15862 C2
javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
(269 bytes) @ 0x0000000004c82c0c [0x0000000004c80e00+0x1e0c]
J 12161 C2
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
(388 bytes) @ 0x000000000427e388 [0x000000000427dba0+0x7e8]
J 15472 C2
org.apache.tomcat.websocket.server.WsFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V
(139 bytes) @ 0x0000000001f5b5f4 [0x0000000001f5b5a0+0x54]
J 12161 C2
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
(388 bytes) @ 0x000000000427dd34 [0x000000000427dba0+0x194]
J 15782 C2
com.m2000.shop.filters.ThreadLocalFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V
(26 bytes) @ 0x00000000021ee660 [0x00000000021ee480+0x1e0]
J 12161 C2
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
(388 bytes) @ 0x000000000427dd34 [0x000000000427dba0+0x194]
J 16058 C2
com.m2000.shop.filters.RedirectFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V
(290 bytes) @ 0x0000000004046ac0 [0x0000000004046480+0x640]
J 12161 C2
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
(388 bytes) @ 0x000000000427dd34 [0x000000000427dba0+0x194]
J 15816 C2
com.m2000.shop.filters.CacheFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V
(106 bytes) @ 0x0000000003ad14d4 [0x0000000003ad0f20+0x5b4]
J 12161 C2
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
(388 bytes) @ 0x000000000427dd34 [0x000000000427dba0+0x194]
J 18379 C2
org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V
(79 bytes) @ 0x00000000053330ec [0x0000000005332ea0+0x24c]
J 12161 C2
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
(388 bytes) @ 0x000000000427dd34 [0x000000000427dba0+0x194]
J 15812 C2
org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
(1306 bytes) @ 0x000000000441ed08 [0x000000000441ea40+0x2c8]
J 16053 C2
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
(821 bytes) @ 0x0000000004076e24 [0x0000000004076320+0xb04]
J 15807 C2
org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
(382 bytes) @ 0x0000000003dd2ba0 [0x0000000003dd2880+0x320]
J 15779 C2
org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
(77 bytes) @ 0x0000000003dee714 [0x0000000003dee540+0x1d4]
J 15814 C2
org.apache.catalina.valves.CrawlerSessionManagerValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
(594 bytes) @ 0x00000000044172d8 [0x00000000044170c0+0x218]
J 15701 C2
org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V
(892 bytes) @ 0x0000000003d179dc [0x0000000003d16f40+0xa9c]
J 14916 C2
org.apache.coyote.AbstractProcessorLight.process(Lorg/apache/tomcat/util/net/SocketWrapperBase;Lorg/apache/tomcat/util/net/SocketEvent;)Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler$SocketState;
(248 bytes) @ 0x0000000004141eb8 [0x0000000004141d20+0x198]
J 16392 C2 org.apache.coyote.http2.StreamRunnable.run()V (12 bytes) @
0x0000000004d5b794 [0x0000000004d5b5e0+0x1b4]
j 
java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+95
j  java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5
j  org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run()V+4
J 14749 C1 java.lang.Thread.run()V (17 bytes) @ 0x00000000049d22c4
[0x00000000049d2180+0x144]
v  ~StubRoutines::call_stub

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to