버전: httpd-2.4.54-1.el8.x86_64
작업에 대해 httpd condrestart를 수행하면 코어가 생성되고 코어 파일 pid와 관련된 일부 ssl_error_logs도 볼 수 있습니다.
gdb 로그:
Core was generated by `/usr/sbin/httpd -k start'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f0b9ffa05e9 in ssl_io_filter_cleanup () from /usr/lib64/httpd/modules/mod_ssl.so
Missing separate debuginfos, use: yum debuginfo-install httpd-2.4.54-1.el8.x86_64
(gdb) bt
#0 0x00007f0b9ffa05e9 in ssl_io_filter_cleanup () from /usr/lib64/httpd/modules/mod_ssl.so
#1 0x00007f0ba4372d6e in apr_pool_destroy () from /lib64/libapr-1.so.0
#2 0x00007f0ba4372d4d in apr_pool_destroy () from /lib64/libapr-1.so.0
#3 0x00007f0b9faee907 in clean_child_exit () from /usr/lib64/httpd/modules/mod_mpm_prefork.so
#4 0x00007f0b9faee961 in just_die () from /usr/lib64/httpd/modules/mod_mpm_prefork.so
#5 <signal handler called>
#6 0x00007f0ba3583899 in EC_KEY_free () from /lib64/libcrypto.so.1.1
#7 0x00007f0ba35ed9bb in EVP_PKEY_free_it () from /lib64/libcrypto.so.1.1
#8 0x00007f0ba35ee6b9 in EVP_PKEY_free () from /lib64/libcrypto.so.1.1
#9 0x00007f0b9fd21637 in ssl3_free () from /lib64/libssl.so.1.1
#10 0x00007f0b9fd3157f in SSL_free () from /lib64/libssl.so.1.1
#11 0x00007f0b9ffa1d3e in ssl_filter_io_shutdown.isra () from /usr/lib64/httpd/modules/mod_ssl.so
#12 0x00007f0b9ffa3798 in ssl_io_filter_output () from /usr/lib64/httpd/modules/mod_ssl.so
#13 0x00007f0b9ffa0143 in ssl_io_filter_coalesce () from /usr/lib64/httpd/modules/mod_ssl.so
#14 0x00005583d66f8f97 in ap_shutdown_conn ()
#15 0x00005583d66f9065 in ap_start_lingering_close ()
#16 0x00005583d66f90f4 in ap_lingering_close ()
#17 0x00007f0b9faef084 in child_main () from /usr/lib64/httpd/modules/mod_mpm_prefork.so
#18 0x00007f0b9faef378 in make_child () from /usr/lib64/httpd/modules/mod_mpm_prefork.so
#19 0x00007f0b9faf0250 in prefork_run () from /usr/lib64/httpd/modules/mod_mpm_prefork.so
#20 0x00005583d66cfa3e in ap_run_mpm ()
#21 0x00005583d66c73c8 in main ()
(gdb) info threads
Id Target Id Frame
* 1 LWP 18716 0x00007f0b9ffa05e9 in ssl_io_filter_cleanup () from /usr/lib64/httpd/modules/mod_ssl.so
참조용으로 ssl_error_log를 첨부했습니다.
[proxy_http:error] [pid 18716] (70008)Partial results are valid but processing is incomplete: [client 10.21.15.163:35472] AH01110: error reading response
나는 이것에 익숙하지 않기 때문에
- 코어를 생성하는 이유 또는 mod_ssl.so의 문제점은 무엇입니까?
- httpd 관점에서 코어 생성 문제를 해결하는 방법은 무엇입니까(가능한 경우)?