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

            Bug ID: 62023
           Summary: Tomcat crashes when SSLprotocol value is defined
           Product: Tomcat 8
           Version: 8.5.23
          Hardware: HP
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors
          Assignee: dev@tomcat.apache.org
          Reporter: joe.fletc...@sscinc.com
  Target Milestone: ----

Created attachment 35687
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35687&action=edit
Java error log file

Tomcat 8.5.23 with Oracle jdk 1.8.0_152 with tomcat native library 1.2.16,
openssl 1.0.2l running on RHEL7.3

Any attempt to define a value for SSLProtocol causes crash on startup.


Using CATALINA_BASE:   /home/tomcat
Using CATALINA_HOME:   /home/tomcat
Using CATALINA_TMPDIR: /home/tomcat/temp
Using JRE_HOME:        /usr/java/latest
Using CLASSPATH:      
/home/tomcat/bin/bootstrap.jar:/home/tomcat/bin/tomcat-juli.jar
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f164d78977a, pid=16600, tid=0x00007f166c39c700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_152-b16) (build
1.8.0_152-b16)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.152-b16 mixed mode linux-amd64
compressed oops)
# Problematic frame:
# C  [libtcnative-1.so.0.2.16+0x1d77a] 
Java_org_apache_tomcat_jni_SSLContext_free+0xa
#
# Failed to write core dump. Core dumps have been disabled. To enable core
dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/apache-tomcat-8.5.23/conf/hs_err_pid16600.log
#
# 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.
#
/home/tomcat/conf/../bin/catalina.sh: line 572: 16600 Aborted                
(core dumped) "/usr/java/latest/bin/java"
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djdk.tls.ephemeralDHKeySize=2048
-Djava.protocol.handler.pkgs=org.apache.catalina.webresources -classpath
"/home/tomcat/bin/bootstrap.jar:/home/tomcat/bin/tomcat-juli.jar"
-Dcatalina.base="/home/tomcat" -Dcatalina.home="/home/tomcat"
-Djava.io.tmpdir="/home/tomcat/temp" org.apache.catalina.startup.Bootstrap
configtest


Config file stanza reads thus:

  <Connector port="8443" protocol="org.apache.coyote.http11.Http11AprProtocol"
                maxThreads="150"
                scheme="https"
                secure="true"
                SSLEnabled="true"
                SSLProtocol="+TLSv1"
                >

Any variation of the SSLProtocol definition produces the same result. Remove it
and the instance starts without issue.

Sort of reminiscent of 52714. hs_err output file attached.

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