-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Eduardo,

On 8/21/19 17:36, Eduardo Quintanilla wrote:
> We have been getting some crashes in Tomcat 8.5.43 lately.
> 
> The environment is: * JDK 1.8.0_202 * Windows Server 2012 R2
> 
> The logs shows a tcnative exception.
> 
> Crash Log: Current thread JavaThread
> "https-openssl-apr-8081-exec-298" daemon _thread_in_native Java
> frames: (J=compiled Java code, j=interpreted, Vv=VM code) J 15034
> org.apache.tomcat.jni.Socket.sendb(JLjava/nio/ByteBuffer;II)I (0
> bytes) @ 0x0000000002962ddf [0x0000000002962d80+0x5f] J 29164 C2
> org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper.doWrite(ZLjava
/nio/ByteBuffer;)V
> (242 bytes) @ 0x0000000006d6933c [0x0000000006d68b20+0x81c] J 27479
> C2 org.apache.tomcat.util.net.SocketWrapperBase.flush(Z)Z (20
> bytes) @ 0x00000000053f6144 [0x00000000053f60a0+0xa4] J 24666 C2
> org.apache.coyote.http2.Http2OutputBuffer.doWrite(Ljava/nio/ByteBuffer
;)I
> (28 bytes) @ 0x0000000006b51b74 [0x0000000006b51660+0x514] J 24689
> C2 org.apache.catalina.connector.OutputBuffer.writeBytes([BII)V (38
> bytes) @ 0x00000000031c09f8 [0x00000000031c04c0+0x538] J 27348 C2
> org.apache.catalina.connector.CoyoteOutputStream.write([BII)V (26
> bytes) @ 0x00000000071d51a8 [0x00000000071d5120+0x88]

What's the actual error? Can you post the entire crash dump?

> Tomcat logs: org.apache.catalina.connector.ClientAbortException:
> org.apache.coyote.CloseNowException: Connection [214], Stream
> [279], This stream is not writable

Do you always get the "stream is not writable" error before the JVM
performs the crash-dump?

I believe there is at least one lingering SEGV hiding in
Socket.sendb(), possibly only on Windows. I don't have a Windows
development environment to be able to disassemble the crash dump and
locate the line of code being executed when the SEGV occurs, so I have
added NULL-checks to everything I can find in there but it looks like
it's not enough. Something is missing, somewhere.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl1el8QACgkQHPApP6U8
pFiXsg//fUdmDBlrzNhbz+cbtk7B71WY+BYo8o2KiKUUOwrOcibs8nBoINeAWzpA
Q9ICA1vMfZST1N2uqoSI+vVtYOZe5fYF2iNdgfZSi8feiedzYU0ZiKf6qg1tCO8B
BfUkTGR4UuJe4uFV9QkkxVUjqcfNNRJriKd+uGi9rHL6pKjGt1K855MOXNgeIY9G
GD034hwEmY0hxr8sV48TnTOPdxEL0jEWoAqhKDLkRcnmjqCPTJUOnXE0tntVNO2R
s4D/N1rEP7KtBn610h7lqzmvr5PjpDL3tgt4UueGHbPWLiy0UJgHiKbmDM6GUjz/
7jySHUyyZM4TVynjYKhJHM/J7oEVpTEY9mvrZJNjnOxPQRN9AZmr4lDyS9Okdo2q
3wXgVXvqy3e9UI6CJdRISg5ItxBRZhQSSGlaDgVMq9o8S4xAHmk0Q+ee9Y3T+vto
L+PV5rz0vY16tcM3A/x+QnGJMOsX+a4mx9EQQblU19l2e+1JEgGcYsworltFufld
VrRZxilVkZdPyDnXMN8w/C345PeQquNp0AWcSYhtkyr2fHlMsxpUdFwDLUYHp8Iz
NU4uNsYgsGKn4Qoy2CdHzuNigTPcXco+VpUBTBV0p46nWxkY8yPFjvtZOADMcaNv
4LInt+ouJhje2avzV1IS3M2RxEvGnKwAVBREvg6l+rDahvKhc3M=
=3Tgo
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to