You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2026/01/29 19:23:27 UTC

[Bug 69942] New: httpd 2.4.66 crashes with SIGSEGV in libssl.so.3 3.5.5

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

            Bug ID: 69942
           Summary: httpd 2.4.66 crashes with SIGSEGV in libssl.so.3
                    3.5.5
           Product: Apache httpd-2
           Version: 2.4.66
          Hardware: Sun
                OS: Solaris
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Core
          Assignee: bugs@httpd.apache.org
          Reporter: warren.zaccone@ericsson.com
  Target Milestone: ---

I compiled openssl 3.5.5 and http server 2.4.66 for Solaris 11.4 Sparc,   httpd
immediately crashes with core.    I backed out 3.5.5 and recompiled with
openssl 3.0.18 and all is well.  Is http server 2.4.66 compatable with openssl
3.5???


Core was generated by `/usr/local/apache/bin/httpd -d /usr/local/apache -f
/usr/local/apache/conf/http'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fff9d178918 in ssl3_get_cipher_by_char ()
   from /usr/local/apache/ssl/lib/libssl.so.3
(gdb)
(gdb) bt
#0  0x00007fff9d178918 in ssl3_get_cipher_by_char ()
   from /usr/local/apache/ssl/lib/libssl.so.3
#1  0x00007fffd1554b2c in ssl_create_cipher_list ()
   from /usr/lib/sparcv9/libssl.so.1.0.0
#2  0x00007fffd154d558 in SSL_CTX_new () from /usr/lib/sparcv9/libssl.so.1.0.0
#3  0x00007fffccd28064 in ssl_init_ctx_protocol ()
   from /usr/local/apache/modules/mod_ssl.so
#4  0x00007fffccd29e30 in ssl_init_ctx ()
   from /usr/local/apache/modules/mod_ssl.so
#5  0x00007fffccd2cdf8 in ssl_init_server_ctx ()
   from /usr/local/apache/modules/mod_ssl.so
#6  0x00007fffccd2d7dc in ssl_init_ConfigureServer ()
   from /usr/local/apache/modules/mod_ssl.so
#7  0x00007fffccd26a74 in ssl_init_Module ()
   from /usr/local/apache/modules/mod_ssl.so
#8  0x0000000100098ab8 in ap_run_post_config ()
#9  0x000000010004d348 in main ()


rzac@yoda:/usr/local/apache$ httpd -V
Server version: Apache/2.4.66 (Unix)
Server built:   Jan 27 2026 14:24:44
Server's Module Magic Number: 20120211:141
Server loaded:  APR 1.7.6, APR-UTIL 1.6.3, PCRE 10.40 2022-04-14
Compiled using: APR 1.7.6, APR-UTIL 1.6.3, PCRE 10.44 2024-06-07
Architecture:   64-bit
Server MPM:     prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_PROC_PTHREAD_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=256
 -D HTTPD_ROOT="/usr/local/apache"
 -D SUEXEC_BIN="/usr/local/apache/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

my configure

     ./configure --prefix=$apache_dir --with-mpm=prefork --enable-so
--enable-ssl --enable-module=so --enable-rule=SHARED_CORE
--enable-module=shared --enable-rewrite  --with-ssl=$apache_dir/ssl
--with-apr=$apache_dir --with-apr-util=$apache_dir

ldd /usr/local/apache/modules/mod_ssl.so 
        libssl.so.3 =>   /usr/local/apache/ssl/lib/libssl.so.3
        libcrypto.so.3 =>        /usr/local/apache/ssl/lib/libcrypto.so.3

I built openssl 3.5.5, apr 1.7.6 apr util 1.6.3 , and httpd 2.6.6 right after
each other on same day.  builds were clean. httpd crashes immediately as
indicated with core above.


 Is openssl 3.5.x not yet supported? 

If so, I would stay on openssl 3.0.18 which works. I rebuilt with openssl
3.0.18 and all is well,

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 69942] httpd 2.4.66 crashes with SIGSEGV in libssl.so.3 3.5.5

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69942

warren <wa...@ericsson.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |CLOSED

--- Comment #3 from warren <wa...@ericsson.com> ---
thank you for your advice.  I was able solve it.    As you said, I had two
different openssl libraries being picked up by mod_ssl.  I had to change my
build scripts for openssl and httpd to prevent it.     my build of  openssl
3.5.5 and http 2.4.66 is successful and I can test.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 69942] httpd 2.4.66 crashes with SIGSEGV in libssl.so.3 3.5.5

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69942

--- Comment #2 from Rainer Jung <ra...@kippdata.de> ---
Sometimes system OpenSSL gets loaded e.g. via LDAP system libraries or similar
dependencies. It can be tricky to get rid of them.

It might help to link mod_ssl (and other modules that use OpenSSL) with
-Bsymbolic.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 69942] httpd 2.4.66 crashes with SIGSEGV in libssl.so.3 3.5.5

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69942

--- Comment #1 from Rainer Jung <ra...@kippdata.de> ---
I built and tested Apache httpd 2.4 (and 2.4.66) with OpenSSL 3.5.5 on Solaris
10 (!) and it worked fine here.

It looks like you have a mixture of OpenSSL 1.x and 3.x libs in your running
web server process. In your stack one can see

/usr/local/apache/ssl/lib/libssl.so.3

but also

/usr/lib/sparcv9/libssl.so.1.0.0

You might need to make sure, that your build procedure does not see other
versions of OpenSSL and then also check, how you run the resulting httpd
(LD_LIBRARY_PATH). Solaris pmaps command should show you, which library files
are actually loaded by a running (httpd) process.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 69942] httpd 2.4.66 crashes with SIGSEGV in libssl.so.3 3.5.5

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69942

warren <wa...@ericsson.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Core                        |mod_ssl

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org