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

            Bug ID: 66035
           Summary: SIGSEGV in org.apache.tomcat.jni.SSL::getSessionId -
                    NIO+OpenSSL
           Product: Tomcat Native
           Version: 1.2.30
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Library
          Assignee: dev@tomcat.apache.org
          Reporter: mic...@josifci.cz
  Target Milestone: ---

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

Hello,
we are switching from APR+OpenSSL to NIO(2)+OpenSSL connector configuration and
we are facing SIGSEGV error. Tested multiple Java+tomcat-native+OpenSSL
combinations, nothing helped.
Tested also with Oracle JDK 11.0.15, openssl 1.1.1n, latest tomcat-native....

fyi. Our APR+OpenSSL configuration is rock solid.

Best Regards
Michal Josifek


#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f13f860fbe5, pid=36351, tid=36401
#
# JRE version: OpenJDK Runtime Environment Corretto-11.0.14.9.1 (11.0.14+9)
(build 11.0.14+9-LTS)
# Java VM: OpenJDK 64-Bit Server VM Corretto-11.0.14.9.1 (11.0.14+9-LTS, mixed
mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  [libssl.so.1.0.0+0x49be5]  SSL_SESSION_get_id+0x5
#
# Core dump will be written. Default location: //core.36351
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid36351.log
Compiled method (nm) 2514776 22100     n 0      
org.apache.tomcat.jni.SSL::getSessionId (native)
 total in heap  [0x00007f143d67ef10,0x00007f143d67f350] = 1088
 relocation     [0x00007f143d67f088,0x00007f143d67f0c0] = 56
 main code      [0x00007f143d67f0c0,0x00007f143d67f348] = 648
 oops           [0x00007f143d67f348,0x00007f143d67f350] = 8
Compiled method (nm) 2514781 22100     n 0      
org.apache.tomcat.jni.SSL::getSessionId (native)
 total in heap  [0x00007f143d67ef10,0x00007f143d67f350] = 1088
 relocation     [0x00007f143d67f088,0x00007f143d67f0c0] = 56
 main code      [0x00007f143d67f0c0,0x00007f143d67f348] = 648
 oops           [0x00007f143d67f348,0x00007f143d67f350] = 8
#
# If you would like to submit a bug report, please visit:
#   https://github.com/corretto/corretto-11/issues/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

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