php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #81372 php-fpm process errer exit
Submitted: 2021-08-18 10:20 UTC Modified: 2021-08-18 10:28 UTC
From: 350746872 at qq dot com Assigned: cmb (profile)
Status: Wont fix Package: *General Issues
PHP Version: 7.3.29 OS: centos 7.6
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: 350746872 at qq dot com
New email:
PHP Version: OS:

 

 [2021-08-18 10:20 UTC] 350746872 at qq dot com
Description:
------------
php-fpm error log: [pool www] child 26935 exited on signal 11 (SIGSEGV - core dumped)

debug info:

GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-120.el7
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/>...
Reading symbols from /data/php7_bug/sbin/php-fpm...done.
[New LWP 16423]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
Core was generated by `php-fpm: pool www                                             '.
Program terminated with signal 11, Segmentation fault.
#0  0x0000000000b09da5 in zend_objects_store_del (object=0x7fb89cff0918) at /root/soft/php-7.3.28/Zend/zend_objects_API.c:188
188                             if (object->handlers->free_obj) {
Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.6-13.el7.x86_64 cyrus-sasl-lib-2.1.26-23.el7.x86_64 freetype-2.8-14.el7_9.1.x86_64 glibc-2.17-324.el7_9.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.15.1-50.el7.x86_64 libcom_err-1.42.9-19.el7.x86_64 libcurl-7.29.0-59.el7_9.1.x86_64 libgcc-4.8.5-44.el7.x86_64 libidn-1.28-4.el7.x86_64 libpng-1.5.13-8.el7.x86_64 libselinux-2.5-15.el7.x86_64 libssh2-1.8.0-4.el7.x86_64 libstdc++-4.8.5-44.el7.x86_64 libxml2-2.9.1-6.el7.5.x86_64 nspr-4.25.0-2.el7_9.x86_64 nss-3.53.1-7.el7_9.x86_64 nss-softokn-freebl-3.53.1-6.el7_9.x86_64 nss-util-3.53.1-1.el7_9.x86_64 openldap-2.4.44-23.el7_9.x86_64 openssl-libs-1.0.2k-21.el7_9.x86_64 pcre-8.32-17.el7.x86_64 xz-libs-5.2.2-1.el7.x86_64 zlib-1.2.7-19.el7_9.x86_64
(gdb) bt
#0  0x0000000000b09da5 in zend_objects_store_del (object=0x7fb89cff0918) at /root/soft/php-7.3.28/Zend/zend_objects_API.c:188
#1  0x0000000000ab81c7 in zend_object_destroy_wrapper (obj=0x7fb89cff0918) at /root/soft/php-7.3.28/Zend/zend_variables.c:95
#2  0x0000000000ab8056 in rc_dtor_func (p=0x7fb89cff0918) at /root/soft/php-7.3.28/Zend/zend_variables.c:65
#3  0x0000000000b02fce in i_zval_ptr_dtor (zval_ptr=0x7fb89cc12028, __zend_filename=0x14a17a8 "/root/soft/php-7.3.28/Zend/zend_objects.c", __zend_lineno=56)
    at /root/soft/php-7.3.28/Zend/zend_variables.h:44
#4  0x0000000000b032b1 in zend_object_std_dtor (object=0x7fb89cc12000) at /root/soft/php-7.3.28/Zend/zend_objects.c:56
#5  0x0000000000b09dcf in zend_objects_store_del (object=0x7fb89cc12000) at /root/soft/php-7.3.28/Zend/zend_objects_API.c:190
#6  0x0000000000ab81c7 in zend_object_destroy_wrapper (obj=0x7fb89cc12000) at /root/soft/php-7.3.28/Zend/zend_variables.c:95
#7  0x0000000000ab8056 in rc_dtor_func (p=0x7fb89cc12000) at /root/soft/php-7.3.28/Zend/zend_variables.c:65
#8  0x0000000000acb7cd in i_zval_ptr_dtor (zval_ptr=0x7fb89cfa06e0, __zend_filename=0x149a268 "/root/soft/php-7.3.28/Zend/zend_hash.c", __zend_lineno=1492)
    at /root/soft/php-7.3.28/Zend/zend_variables.h:44
#9  0x0000000000ad01ee in zend_array_destroy (ht=0x7fb89cfef1e0) at /root/soft/php-7.3.28/Zend/zend_hash.c:1492
#10 0x0000000000ab81ad in zend_array_destroy_wrapper (arr=0x7fb89cfef1e0) at /root/soft/php-7.3.28/Zend/zend_variables.c:90
#11 0x0000000000ab8056 in rc_dtor_func (p=0x7fb89cfef1e0) at /root/soft/php-7.3.28/Zend/zend_variables.c:65
#12 0x0000000000aa89f4 in i_zval_ptr_dtor (zval_ptr=0x7fb89cfa24e0, __zend_filename=0x1495a50 "/root/soft/php-7.3.28/Zend/zend_opcode.c", __zend_lineno=232)
    at /root/soft/php-7.3.28/Zend/zend_variables.h:44
#13 0x0000000000aa933a in destroy_zend_class (zv=0x35d9a70) at /root/soft/php-7.3.28/Zend/zend_opcode.c:232
#14 0x0000000000acfead in zend_hash_destroy (ht=0x349e530) at /root/soft/php-7.3.28/Zend/zend_hash.c:1423
#15 0x0000000000aba26b in zend_shutdown () at /root/soft/php-7.3.28/Zend/zend.c:982
#16 0x0000000000a34788 in php_module_shutdown () at /root/soft/php-7.3.28/main/main.c:2496
#17 0x0000000000b98cf3 in main (argc=3, argv=0x7ffd1b987c38) at /root/soft/php-7.3.28/sapi/fpm/fpm/fpm_main.c:2005
(gdb) bt full
#0  0x0000000000b09da5 in zend_objects_store_del (object=0x7fb89cff0918) at /root/soft/php-7.3.28/Zend/zend_objects_API.c:188
        handle = 27
        ptr = 0x4a00000000
        __PRETTY_FUNCTION__ = "zend_objects_store_del"
#1  0x0000000000ab81c7 in zend_object_destroy_wrapper (obj=0x7fb89cff0918) at /root/soft/php-7.3.28/Zend/zend_variables.c:95
No locals.
#2  0x0000000000ab8056 in rc_dtor_func (p=0x7fb89cff0918) at /root/soft/php-7.3.28/Zend/zend_variables.c:65
        __PRETTY_FUNCTION__ = "rc_dtor_func"
#3  0x0000000000b02fce in i_zval_ptr_dtor (zval_ptr=0x7fb89cc12028, __zend_filename=0x14a17a8 "/root/soft/php-7.3.28/Zend/zend_objects.c", __zend_lineno=56)
    at /root/soft/php-7.3.28/Zend/zend_variables.h:44
        ref = 0x7fb89cff0918
#4  0x0000000000b032b1 in zend_object_std_dtor (object=0x7fb89cc12000) at /root/soft/php-7.3.28/Zend/zend_objects.c:56
        p = 0x7fb89cc12028
        end = 0x7fb89cc12068
        __PRETTY_FUNCTION__ = "zend_object_std_dtor"
#5  0x0000000000b09dcf in zend_objects_store_del (object=0x7fb89cc12000) at /root/soft/php-7.3.28/Zend/zend_objects_API.c:190
        handle = 26
        ptr = 0x12700000000
        __PRETTY_FUNCTION__ = "zend_objects_store_del"
#6  0x0000000000ab81c7 in zend_object_destroy_wrapper (obj=0x7fb89cc12000) at /root/soft/php-7.3.28/Zend/zend_variables.c:95
No locals.
#7  0x0000000000ab8056 in rc_dtor_func (p=0x7fb89cc12000) at /root/soft/php-7.3.28/Zend/zend_variables.c:65
        __PRETTY_FUNCTION__ = "rc_dtor_func"
#8  0x0000000000acb7cd in i_zval_ptr_dtor (zval_ptr=0x7fb89cfa06e0, __zend_filename=0x149a268 "/root/soft/php-7.3.28/Zend/zend_hash.c", __zend_lineno=1492)
    at /root/soft/php-7.3.28/Zend/zend_variables.h:44
        ref = 0x7fb89cc12000
#9  0x0000000000ad01ee in zend_array_destroy (ht=0x7fb89cfef1e0) at /root/soft/php-7.3.28/Zend/zend_hash.c:1492
        p = 0x7fb89cfa06e0
        end = 0x7fb89cfa0700
        __PRETTY_FUNCTION__ = "zend_array_destroy"
#10 0x0000000000ab81ad in zend_array_destroy_wrapper (arr=0x7fb89cfef1e0) at /root/soft/php-7.3.28/Zend/zend_variables.c:90
No locals.
#11 0x0000000000ab8056 in rc_dtor_func (p=0x7fb89cfef1e0) at /root/soft/php-7.3.28/Zend/zend_variables.c:65
        __PRETTY_FUNCTION__ = "rc_dtor_func"
#12 0x0000000000aa89f4 in i_zval_ptr_dtor (zval_ptr=0x7fb89cfa24e0, __zend_filename=0x1495a50 "/root/soft/php-7.3.28/Zend/zend_opcode.c", __zend_lineno=232)
    at /root/soft/php-7.3.28/Zend/zend_variables.h:44
        ref = 0x7fb89cfef1e0
#13 0x0000000000aa933a in destroy_zend_class (zv=0x35d9a70) at /root/soft/php-7.3.28/Zend/zend_opcode.c:232
        p = 0x7fb89cfa24e0
        end = 0x7fb89cfa2520
        prop_info = 0x7fb89cfc3c68
        ce = 0x7fb89cfc5a60
        fn = 0x36a0d60
#14 0x0000000000acfead in zend_hash_destroy (ht=0x349e530) at /root/soft/php-7.3.28/Zend/zend_hash.c:1423
        p = 0x35d9a70
        end = 0x35da1d0
        __PRETTY_FUNCTION__ = "zend_hash_destroy"
#15 0x0000000000aba26b in zend_shutdown () at /root/soft/php-7.3.28/Zend/zend.c:982
No locals.
#16 0x0000000000a34788 in php_module_shutdown () at /root/soft/php-7.3.28/main/main.c:2496
        module_number = 0
#17 0x0000000000b98cf3 in main (argc=3, argv=0x7ffd1b987c38) at /root/soft/php-7.3.28/sapi/fpm/fpm/fpm_main.c:2005
        exit_status = 70
        cgi = 0
        c = -1
        use_extended_info = 0
        file_handle = {handle = {fd = -1494777856, fp = 0x7fb8a6e78000, stream = {handle = 0x7fb8a6e78000, isatty = 0, mmap = {len = 801, pos = 0, map = 0x0, 
                buf = 0x7fb8ad11d000 <Address 0x7fb8ad11d000 out of bounds>, old_handle = 0x0, old_closer = 0x0}, reader = 0xa50e75 <_php_stream_read>, 
              fsizer = 0xa32d38 <php_zend_stream_fsizer>, closer = 0xa32d12 <php_zend_stream_mmap_closer>}}, filename = 0x7fb8a6e02000 "\001", opened_path = 0x0, type = ZEND_HANDLE_MAPPED, 
          free_filename = 0 '\000'}
---Type <return> to continue, or q <return> to quit--- 
        orig_optind = 1
        orig_optarg = 0x0
        ini_entries_len = 0
        max_requests = 102400
        requests = 94
        fcgi_fd = 6
        request = 0x36a9b10
        fpm_config = 0x7ffd1b989836 ""
        fpm_prefix = 0x0
        fpm_pid = 0x0
        test_conf = 0
        force_daemon = -1
        force_stderr = 0
        php_information = 0
        php_allow_to_run_as_root = 0
        ret = 0
        __func__ = "main"


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-08-18 10:28 UTC] cmb@php.net
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2021-08-18 10:28 UTC] cmb@php.net
The version of PHP you are reporting on is no longer actively supported[1].
Please download a new PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

[1] <php.net/supported-versions.php>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC