https://bz.apache.org/bugzilla/show_bug.cgi?id=66669
Bug ID: 66669
Summary: JVM crash in APR mode
Product: Tomcat 9
Version: 9.0.65
Hardware: PC
OS: Linux
Status: NEW
Severity: critical
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: -----
Dear all:
Last days, we found some jvm crash things when we use APR mode in
tomcat.
Version: Tomcat 9.0.65,APR 1.7.0 ,Tomcat Native library 1.2.33, OpenSSL
1.1.1n
We used GDB to findout what happend. Show that crash is happend on this
code , .
one crash:
org.apache.tomcat.util.buf.ByteBufferUtils#cleanDirectBuffer
org.apache.tomcat.util.net.AprEndpoint.AprSocketWrapper#doClose
another crash:
org.apache.tomcat.util.net.AprEndpoint#setSocketOptions(org.apache.tomcat.util.net.SocketWrapperBase<java.lang.Long>)
org.apache.tomcat.jni.SSLSocket#handshake
To See some changelogs and code , I found there are some write lock an
read lock to do socket close or somethine, but some codes doesnt have same code
, Im not sure wether this code need to add write lock. like
org.apache.tomcat.util.net.AprEndpoint.SocketProcessor#doRun
sorry that I have an doc file to show stacktrace but due to safe reason , I
cant add an attachment , If you neet more message ,I will try to add more
details .
And I am not a native speaker , hope that I made it clear
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]