Bug 244283

Summary: www/apache24 with openssl 1.1.1d crash after sighup
Product: Ports & Packages Reporter: Dmitry <4diman>
Component: Individual Port(s)Assignee: freebsd-apache (Nobody) <apache>
Status: Closed Not A Bug    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (apache)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Dmitry 2020-02-21 15:17:51 UTC
Tested on freebsd 11 with apache24 and openssl compiled from ports
and fresh install of freebsd 12.1 and apache24 installed from pkg and base openssl
in both cases apache always crashes after sigHUP

Core was generated by `/usr/local/sbin/httpd -DNOHTTPACCEPT'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00000008006135fa in ?? () from /lib/libthr.so.3
(gdb) bt
#0  0x00000008006135fa in ?? () from /lib/libthr.so.3
#1  0x000000080152f759 in CRYPTO_THREAD_read_lock () from /lib/libcrypto.so.111
#2  0x000000080143d0a7 in OBJ_NAME_get () from /lib/libcrypto.so.111
#3  0x000000080144a8a9 in EVP_get_digestbyname () from /lib/libcrypto.so.111
#4  0x00000008012774b3 in SSL_CTX_new () from /usr/lib/libssl.so.111
#5  0x0000000800b91355 in ?? () from /usr/local/libexec/apache24/mod_ssl.so
#6  0x0000000800b8f78c in ?? () from /usr/local/libexec/apache24/mod_ssl.so
#7  0x0000000800b8ef14 in ?? () from /usr/local/libexec/apache24/mod_ssl.so
#8  0x0000000000257aef in ap_run_post_config ()
#9  0x0000000000256926 in main ()
Comment 1 Dmitry 2020-03-04 08:34:37 UTC
My mistake.
Just one module linked with old openssl.