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

--- Comment #2 from jackyang <yl01152...@qq.com> ---
(In reply to jackyang from comment #0)
> Created attachment 38548 [details]
> errorlog
> 
> Problem phenomenon: The Apache service may experience process crashes every
> few days during operation
> 
> server information
> 
> uname -a
> Linux iZ6we4qu9q6rspmmez6kjpZ 4.19.91-27.1.al7.x86_64 #1 SMP Tue Feb 21
> 11:41:32 CST 2023 x86_64 x86_64 x86_64 GNU/Linux
> 
> apachectl -v
> Server version: Apache/2.4.57 (codeit)
> Server built:   Apr  6 2023 17:31:51
> 
> apachectl -V
> Server version: Apache/2.4.57 (codeit)
> Server built:   Apr  6 2023 17:31:51
> Server's Module Magic Number: 20120211:127
> Server loaded:  APR 1.7.2, APR-UTIL 1.6.3, PCRE 10.23 2017-02-14
> Compiled using: APR 1.7.2, APR-UTIL 1.6.3, PCRE 10.23 2017-02-14
> 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="/etc/httpd"
>  -D SUEXEC_BIN="/usr/sbin/suexec"
>  -D DEFAULT_PIDLOG="run/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"
> 
> apachectl -M
> Loaded Modules:
>  core_module (static)
>  so_module (static)
>  http_module (static)
>  cloudflare_module (shared)
>  access_compat_module (shared)
>  actions_module (shared)
>  alias_module (shared)
>  allowmethods_module (shared)
>  auth_basic_module (shared)
>  auth_digest_module (shared)
>  authn_anon_module (shared)
>  authn_core_module (shared)
>  authn_dbd_module (shared)
>  authn_dbm_module (shared)
>  authn_file_module (shared)
>  authn_socache_module (shared)
>  authz_core_module (shared)
>  authz_dbd_module (shared)
>  authz_dbm_module (shared)
>  authz_groupfile_module (shared)
>  authz_host_module (shared)
>  authz_owner_module (shared)
>  authz_user_module (shared)
>  autoindex_module (shared)
>  brotli_module (shared)
>  cache_module (shared)
>  cache_disk_module (shared)
>  cache_socache_module (shared)
>  data_module (shared)
>  dbd_module (shared)
>  deflate_module (shared)
>  dir_module (shared)
>  dumpio_module (shared)
>  echo_module (shared)
>  env_module (shared)
>  expires_module (shared)
>  ext_filter_module (shared)
>  filter_module (shared)
>  headers_module (shared)
>  include_module (shared)
>  info_module (shared)
>  log_config_module (shared)
>  logio_module (shared)
>  macro_module (shared)
>  mime_magic_module (shared)
>  mime_module (shared)
>  negotiation_module (shared)
>  remoteip_module (shared)
>  reqtimeout_module (shared)
>  request_module (shared)
>  rewrite_module (shared)
>  setenvif_module (shared)
>  slotmem_plain_module (shared)
>  slotmem_shm_module (shared)
>  socache_dbm_module (shared)
>  socache_memcache_module (shared)
>  socache_redis_module (shared)
>  socache_shmcb_module (shared)
>  status_module (shared)
>  substitute_module (shared)
>  suexec_module (shared)
>  unique_id_module (shared)
>  unixd_module (shared)
>  userdir_module (shared)
>  version_module (shared)
>  vhost_alias_module (shared)
>  watchdog_module (shared)
>  dav_module (shared)
>  dav_fs_module (shared)
>  dav_lock_module (shared)
>  lua_module (shared)
>  mpm_prefork_module (shared)
>  proxy_module (shared)
>  lbmethod_bybusyness_module (shared)
>  lbmethod_byrequests_module (shared)
>  lbmethod_bytraffic_module (shared)
>  lbmethod_heartbeat_module (shared)
>  proxy_ajp_module (shared)
>  proxy_balancer_module (shared)
>  proxy_connect_module (shared)
>  proxy_express_module (shared)
>  proxy_fcgi_module (shared)
>  proxy_fdpass_module (shared)
>  proxy_ftp_module (shared)
>  proxy_http_module (shared)
>  proxy_hcheck_module (shared)
>  proxy_scgi_module (shared)
>  proxy_uwsgi_module (shared)
>  proxy_wstunnel_module (shared)
>  ssl_module (shared)
>  systemd_module (shared)
>  cgi_module (shared)
>  php7_module (shared)
> 
> apache coredump files download:

> 
> coredump gdb informaition:
> gdb -c httpd.core.11.11880.iZ6we7o48f3b3nwwdixy2iZ.1682586846
> GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-120.1.al7
> Copyright (C) 2013 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-redhat-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> [New LWP 11880]
> [New LWP 11885]
> Reading symbols from /usr/sbin/httpd...Reading symbols from
> /usr/lib/debug/usr/sbin/httpd.debug...done.
> done.
> Missing separate debuginfo for /usr/lib64/httpd/modules/mod_cloudflare.so
> Try: yum --enablerepo='*debug*' install
> /usr/lib/debug/.build-id/74/f0fcd3b316b2c891905c3940e09174c1b2ae01
> Missing separate debuginfo for
> Try: yum --enablerepo='*debug*' install
> /usr/lib/debug/.build-id/52/daa81f33f55d59f01689aa979dd78ce752c339
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib64/libthread_db.so.1".
> Core was generated by `/usr/sbin/httpd -DFOREGROUND'.
> Program terminated with signal 11, Segmentation fault.
> #0  0x00007fea7f696ac6 in _efree () from /etc/httpd/modules/libphp73.so
> Missing separate debuginfos, use: debuginfo-install
> GeoIP-1.5.0-14.1.al7.x86_64 bzip2-libs-1.0.6-13.2.al7.x86_64
> c-ares-1.10.0-3.2.al7.x86_64 cyrus-sasl-gssapi-2.1.26-24.1.al7.x86_64
> cyrus-sasl-lib-2.1.26-24.1.al7.x86_64
> cyrus-sasl-plain-2.1.26-24.1.al7.x86_64 elfutils-libelf-0.176-5.1.al7.x86_64
> elfutils-libs-0.176-5.1.al7.x86_64
> fastlz-0.1.0-0.1.20070619svnrev12.el7.x86_64
> fontconfig-2.13.0-4.3.1.al7.x86_64 freetype-2.8-14.1.al7.1.x86_64
> fribidi-1.0.2-1.1.al7.1.x86_64 gd3php-2.3.3-7.el7.remi.x86_64
> glib2-2.56.1-9.1.al7.x86_64 glibc-2.17-325.1.al7.x86_64
> gmp-6.0.0-15.1.al7.x86_64 graphite2-1.3.10-1.1.al7.x86_64
> harfbuzz-1.7.5-2.1.al7.x86_64 jbigkit-libs-2.0-11.1.al7.x86_64
> keyutils-libs-1.5.8-3.1.al7.x86_64 krb5-libs-1.15.1-55.1.al7.x86_64
> libX11-1.6.7-4.1.al7.x86_64 libXau-1.0.8-2.1.1.al7.x86_64
> libXpm-3.5.12-2.1.al7.x86_64 libargon2-20161029-3.el7.x86_64
> libattr-2.4.46-13.1.al7.x86_64 libcap-2.22-11.1.al7.x86_64
> libcom_err-1.43.5-8.3.al7.x86_64 libcurl-7.29.0-59.1.al7.1.x86_64
> libdb-5.3.21-25.1.al7.x86_64 libevent-2.0.21-4.1.al7.x86_64
> libgcc-4.8.5-44.1.al7.x86_64 libgcrypt-1.5.3-14.1.al7.x86_64
> libgpg-error-1.12-3.1.al7.x86_64 libicu69-69.1-2.el7.remi.x86_64
> libicu71-71.1-2.el7.remi.x86_64 libidn-1.28-4.1.al7.x86_64
> libjpeg-turbo-1.2.90-8.1.al7.x86_64 libmaxminddb-1.2.0-6.1.al7.x86_64
> libmcrypt-2.5.8-13.el7.x86_64 libpng-1.5.13-8.1.al7.x86_64
> libraqm-0.7.0-4.el7.x86_64 libssh2-1.8.0-4.1.al7.x86_64
> libstdc++-4.8.5-44.1.al7.x86_64 libtiff-4.0.3-35.1.al7.x86_64
> libuuid-2.23.2-65.1.al7.1.x86_64 libwebp7-1.0.3-1.el7.remi.x86_64
> libxcb-1.13-1.1.al7.x86_64 libxml2-2.9.1-6.7.al7.6.x86_64
> libxslt-1.1.28-6.1.al7.x86_64 libzip5-1.9.2-3.el7.remi.x86_64
> libzstd-1.5.2-1.el7.x86_64 lz4-1.8.3-1.1.al7.x86_64
> net-snmp-libs-5.7.2-49.1.al7.1.x86_64 nspr-4.32.0-1.1.al7.x86_64
> nss-3.67.0-4.1.al7.x86_64 nss-pem-1.0.3-7.1.al7.x86_64
> nss-softokn-3.67.0-3.1.al7.x86_64 nss-softokn-freebl-3.67.0-3.1.al7.x86_64
> nss-sysinit-3.67.0-4.1.al7.x86_64 nss-util-3.67.0-1.1.al7.x86_64
> oniguruma5php-6.9.7.1-1.el7.remi.x86_64 openldap-2.4.44-25.1.al7.x86_64
> openssl-libs-1.0.2k-23.1.al7.x86_64
> openssl-quic-libs-3.0.8-1.codeit.el7.x86_64 pcre-8.32-17.1.al7.x86_64
> php73-php-7.3.33-8.el7.remi.x86_64 php73-php-bcmath-7.3.33-8.el7.remi.x86_64
> php73-php-common-7.3.33-8.el7.remi.x86_64
> php73-php-gd-7.3.33-8.el7.remi.x86_64 php73-php-gmp-7.3.33-8.el7.remi.x86_64
> php73-php-intl-7.3.33-8.el7.remi.x86_64
> php73-php-json-7.3.33-8.el7.remi.x86_64
> php73-php-maxminddb-1.11.0-1.el7.remi.x86_64
> php73-php-mbstring-7.3.33-8.el7.remi.x86_64
> php73-php-mysqlnd-7.3.33-8.el7.remi.x86_64
> php73-php-opcache-7.3.33-8.el7.remi.x86_64
> php73-php-pdo-7.3.33-8.el7.remi.x86_64
> php73-php-pecl-crypto-0.3.2-1.el7.remi.x86_64
> php73-php-pecl-geoip-1.1.1-6.el7.remi.x86_64
> php73-php-pecl-igbinary-3.2.14-1.el7.remi.x86_64
> php73-php-pecl-mcrypt-1.0.6-1.el7.remi.x86_64
> php73-php-pecl-memcache-4.0.5.2-1.el7.remi.x86_64
> php73-php-pecl-memcached-3.2.0-1.el7.remi.x86_64
> php73-php-pecl-mongodb-1.15.1-1.el7.remi.x86_64
> php73-php-pecl-msgpack-2.1.2-1.el7.remi.x86_64
> php73-php-pecl-swoole4-4.8.13-1.el7.remi.x86_64
> php73-php-pecl-zip-1.21.1-1.el7.remi.x86_64
> php73-php-process-7.3.33-8.el7.remi.x86_64
> php73-php-recode-7.3.33-8.el7.remi.x86_64
> php73-php-snmp-7.3.33-8.el7.remi.x86_64
> php73-php-soap-7.3.33-8.el7.remi.x86_64
> php73-php-xml-7.3.33-8.el7.remi.x86_64 recode-3.6-38.1.al7.x86_64
> remi-libmemcached-awesome-1.1.1-1.el7.remi.x86_64
> snappy-1.1.0-3.1.al7.x86_64 sqlite-3.7.17-8.1.al7.1.x86_64
> sssd-client-1.16.5-10.1.al7.15.x86_64 xz-libs-5.2.2-2.1.al7.x86_64
> (gdb) bt
> #0  0x00007fea7f696ac6 in _efree () from /etc/httpd/modules/libphp73.so
> #1  0x00007fea7f6b0887 in zend_llist_destroy () from
> /etc/httpd/modules/libphp73.so
> #2  0x00007fea7f66409f in sapi_deactivate () from
> /etc/httpd/modules/libphp73.so
> #3  0x00007fea7f65ab4a in php_request_shutdown () from
> /etc/httpd/modules/libphp73.so
> #4  0x00007fea7f74dc3f in php_handler () from /etc/httpd/modules/libphp73.so
> #5  0x000055803da5b550 in ap_run_handler (r=r@entry=0x55803f0624a0) at
> config.c:169
> #6  0x000055803da5ba99 in ap_invoke_handler (r=r@entry=0x55803f0624a0) at
> config.c:443
> #7  0x000055803da9a18a in ap_process_async_request (r=0x55803f0624a0) at
> http_request.c:452
> #8  0x000055803da9a46e in ap_process_request (r=r@entry=0x55803f0624a0) at
> http_request.c:487
> #9  0x000055803da963a4 in ap_process_http_sync_connection (c=0x55803ef96490)
> at http_core.c:208
> #10 ap_process_http_connection (c=0x55803ef96490) at http_core.c:249
> #11 0x000055803da6d3b0 in ap_run_process_connection
> (c=c@entry=0x55803ef96490) at connection.c:42
> #12 0x000055803da6d91e in ap_process_connection (c=c@entry=0x55803ef96490,
> csd=<optimized out>) at connection.c:217
> #13 0x00007fea82ce5c37 in child_main (child_num_arg=child_num_arg@entry=432,
> child_bucket=child_bucket@entry=0) at prefork.c:667
> #14 0x00007fea82ce5e75 in make_child (s=0x55803e86aa00, slot=432) at
> prefork.c:773
> #15 0x00007fea82ce6cb6 in perform_idle_server_maintenance (p=<optimized
> out>) at prefork.c:877
> #16 prefork_run (_pconf=<optimized out>, plog=<optimized out>, s=<optimized
> out>) at prefork.c:1070
> #17 0x000055803da701be in ap_run_mpm (pconf=pconf@entry=0x55803e83f678,
> plog=0x55803e86e978, s=0x55803e86aa00) at mpm_common.c:95
> #18 0x000055803da5988d in main (argc=2, argv=0x7ffeb19ef728) at main.c:841

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

Reply via email to