[Bug 65773] New: WINDOW_UPDATE NOT SENT

2021-12-30 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65773

Bug ID: 65773
   Summary: WINDOW_UPDATE NOT SENT
   Product: Tomcat 9
   Version: 9.0.38
  Hardware: PC
OS: Linux
Status: NEW
  Severity: blocker
  Priority: P2
 Component: Catalina
  Assignee: dev@tomcat.apache.org
  Reporter: arshiyaashar...@gmail.com
  Target Milestone: -

Created attachment 38150
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38150&action=edit
PCAP

Hi All,
We are using embedded tomcat version 9.0.38 in our application to transport
http/2 packets between 2 systems (h2c connection). All parameters used are the
tomcat defaults.
Tomcat port:1090

Issue :
For few streams we see that :
After processing requests successfully, tomcat does not send WINDOW_UPDATE
abruptly for the following HEADERS/DATA, due to which the client sends
RST_STREAM, also which tomcat has not acknowledged.

Since the issue has occured in production , we wont be able to test with the
latest version on tomcat .

Find attached the PCAP for reference:

Please help resolve this issue.

Thanks in advance !!

Thanks and Regards
Arshiya Shariff

-- 
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



[Bug 65773] WINDOW_UPDATE NOT SENT

2021-12-30 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65773

--- Comment #1 from Michael Osipov  ---
Upgrade first.

-- 
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



[Bug 65773] WINDOW_UPDATE NOT SENT

2021-12-30 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65773

--- Comment #2 from Arshiya  ---
The application was working fine with the same version since few months , so we
want to find the RCA as to why the issue has occurred . 
Was there any fix around this that went in post 9.0.38 so we can update the
same to the customer otherwise it is difficult to push the customer for an
upgrade.

-- 
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



[Bug 65773] WINDOW_UPDATE NOT SENT

2021-12-30 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65773

--- Comment #3 from EJ Egyed  ---
There are several fixes to HTTP/2 window updates between version 9.0.38 and
9.0.56 (current latest). You can review the changes here
https://tomcat.apache.org/tomcat-9.0-doc/changelog.html and just do a quick
search for HTTP/2.

-- 
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



[Bug 65773] WINDOW_UPDATE NOT SENT

2021-12-30 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65773

Christopher Schultz  changed:

   What|Removed |Added

 Status|NEW |NEEDINFO

--- Comment #4 from Christopher Schultz  ---
(In reply to Arshiya from comment #2)
> The application was working fine with the same version since few months , so
> we want to find the RCA as to why the issue has occurred . 

It is far easier for you to test this in your environment to see how/if the
issue is fixed than it would be for anyone else to test it. If we had tests
demonstrating a problem, we would fix the problem so the tests pass.

If you have a test that fails, please attach it to this report. If you do not
have a test that fails, it will be impossible for anyone to tell you whether or
not it is fixed.

-- 
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



[Bug 65775] New: fgets_unlocked crash on CentOS 7 (and Ubuntu 14.04) in Tomcat 9.0.12 through 9.0.54 (and others)

2021-12-30 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65775

Bug ID: 65775
   Summary: fgets_unlocked crash on CentOS 7 (and Ubuntu 14.04) in
Tomcat 9.0.12 through 9.0.54 (and others)
   Product: Tomcat 9
   Version: 9.0.x
  Hardware: PC
OS: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
  Assignee: dev@tomcat.apache.org
  Reporter: mh...@ximasoftware.com
  Target Milestone: -

Our Tomcat and it's JVM sporadically crash during an apparent name lookup.

Oracle Java 8u181 as a packaged app, and OpenJDK 8u312
Tomcat 9.0.12 and 9.0.54
CentOS 7 (GNU libc 2.17) and Ubuntu 14.04 (GLIBC 2.19)
Original stack mentioned IPv6, but is otherwise the same regardless of whether
it's disabled

Stack: [0x7efe61a44000,0x7efe61b45000],  sp=0x7efe61b420b0,  free
space=1016k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libc.so.6+0x79530]  fgets_unlocked+0x10
V  [libjvm.so+0xb2349b] 
vframeStreamCommon::skip_reflection_related_frames()+0xfb
V  [libjvm.so+0x73e091]  JVM_LatestUserDefinedLoader+0xd1
V  [libjvm.so+0x583b8f]  frame::sender(RegisterMap*) const+0xaf
V  [libjvm.so+0xa0a993] 
OptoRuntime::is_deoptimized_caller_frame(JavaThread*)+0xc3
C  0xd837e724

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 46267  java.net.Inet4AddressImpl.getHostByAddr([B)Ljava/lang/String; (0
bytes) @ 0x7efef59189cc [0x7efef5918980+0x4c]
J 46266 C1 java.net.InetAddress$2.getHostByAddr([B)Ljava/lang/String; (10
bytes) @ 0x7efef4a73b8c [0x7efef4a73ac0+0xcc]
j 
java.net.InetAddress.getHostFromNameService(Ljava/net/InetAddress;Z)Ljava/lang/String;+37
J 46315 C1
org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.populateLocalName()V
(36 bytes) @ 0x7efef646ef54 [0x7efef646e7e0+0x774]
J 35700 C2
org.apache.coyote.AbstractProcessor.action(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V
(1081 bytes) @ 0x7efef77735f0 [0x7efef7772fa0+0x650]
J 24573 C1
org.apache.coyote.Request.action(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V
(37 bytes) @ 0x7efef6cb4a04 [0x7efef6cb4760+0x2a4]
J 33627 C1
org.apache.catalina.connector.Request.getLocalName()Ljava/lang/String; (40
bytes) @ 0x7efef60c42bc [0x7efef60c4160+0x15c]
J 47606 C2
org.apache.catalina.filters.RemoteIpFilter.doFilter(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljavax/servlet/FilterChain;)V
(1086 bytes) @ 0x7efef95f1088 [0x7efef95f0520+0xb68]
J 47607 C2
org.apache.catalina.filters.RemoteIpFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V
(39 bytes) @ 0x7efef75104cc [0x7efef7510480+0x4c]
J 38331 C2
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
(388 bytes) @ 0x7efef6eada5c [0x7efef6ead920+0x13c]
J 48137 C2
com.ximasoft.filter.AuthenticationFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V
(1149 bytes) @ 0x7efef96698b8 [0x7efef96686e0+0x11d8]
J 38331 C2
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
(388 bytes) @ 0x7efef6eada5c [0x7efef6ead920+0x13c]
J 47641 C2
com.ximasoft.filter.AllowAllCorsFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V
(56 bytes) @ 0x7efef6076568 [0x7efef60764a0+0xc8]
J 38331 C2
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
(388 bytes) @ 0x7efef6eada5c [0x7efef6ead920+0x13c]
J 48136 C2
org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
(2665 bytes) @ 0x7efef812e90c [0x7efef812e6c0+0x24c]
J 47638 C2
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
(810 bytes) @ 0x7efef7c18c4c [0x7efef7c18020+0xc2c]
J 43966 C2
org.apache.catalina.valves.rewrite.RewriteValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
(1540 bytes) @ 0x7efef8eaa068 [0x7efef8ea94e0+0xb88]
J 47594 C2
org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
(396 bytes) @ 0x7efef95cd228 [0x7efef95ccfa0+0x288]
J 47529 C2
org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V
(892 bytes) @ 0x7efef9549700 [0x7efef9549220+0x4e0]
J 46992 C2
org.apache.coyote.http11.Http11Processor.service(Lorg/apache/tomcat/util/net/SocketWrapperBase;)Lorg/apache/tomcat/util/ne

[Bug 65773] WINDOW_UPDATE NOT SENT

2021-12-30 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65773

--- Comment #5 from Arshiya  ---
As tomcat abruptly stops sending the WINDOW_UPDATE we are unable to reproduce
the issue in the test environment and find where the issue is . 
Can we have any scenarios to simulate a case where tomcat suddenly stops
sending WINDOW_UPDATE? Please let us know.

-- 
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