Bug 244283 - www/apache24 with openssl 1.1.1d crash after sighup
Summary: www/apache24 with openssl 1.1.1d crash after sighup
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-apache mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-21 15:17 UTC by Dmitry
Modified: 2020-03-04 08:35 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (apache)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.