Bug #70818 [Opn->Csd]: Segmentation fault $php_fpm_BIN --daemonize $php_opts

From: Date: Mon, 30 Nov 2015 02:53:47 +0000
Subject: Bug #70818 [Opn->Csd]: Segmentation fault $php_fpm_BIN --daemonize $php_opts
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-197507@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70818&edit=1 ID: 70818 Updated by: laruence@php.net Reported by: nguyentu dot me at outlook dot com Summary: Segmentation fault $php_fpm_BIN --daemonize $php_opts -Status: Open +Status: Closed Type: Bug Package: opcache Operating System: CentOS 6 PHP Version: 7.0.0RC6 -Assigned To: +Assigned To: laruence Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2015-11-30 02:20:01] nguyentu dot me at outlook dot com This bug has been fixed in RC8. Thank all! ------------------------------------------------------------------------ [2015-11-30 01:26:55] apircalabu at gmail dot com CentOS 6 64bit with RC8 installed. php70-php-opcache-7.0.0-0.25.RC8.el6.remi.x86_64 Core was generated by `/opt/remi/php70/root/usr/bin/php -v'. Program terminated with signal 11, Segmentation fault. #0 zend_llist_del_element (l=0x9dc8e0, element=0x0, compare=0x7fcb85d40590 <accelerator_remove_cb>) at /usr/src/debug/php-7.0.0RC8/Zend/zend_llist.c:91 91 { Missing separate debuginfos, use: debuginfo-install GeoIP-1.6.5-1.el6.x86_64 ImageMagick-last-libs-6.9.2.6-1.el6.remi.x86_64 aspell-0.60.6-12.el6.x86_64 audit-libs-2.3.7-5.el6.x86_64 bzip2-libs-1.0.5-7.el6_0.x86_64 cyrus-sasl-lib-2.1.23-15.el6_6.2.x86_64 db4-4.7.25-20.el6_7.x86_64 enchant-1.5.0-5.el6.x86_64 expat-2.0.1-11.el6_2.x86_64 fastlz-0.1.0-0.1.20070619svnrev12.el6.remi.x86_64 fftw-3.2.1-3.1.el6.x86_64 fontconfig-2.8.0-5.el6.x86_64 freetype-2.3.11-15.el6_6.1.x86_64 gd-last-2.1.1-2.el6.remi.x86_64 glib2-2.28.8-4.el6.x86_64 gmp-4.3.1-7.el6_2.2.x86_64 keyutils-libs-1.4-5.el6.x86_64 lcms2-2.3-2.el6.x86_64 libICE-1.0.6-1.el6.x86_64 libSM-1.2.1-2.el6.x86_64 libX11-1.6.0-6.el6.x86_64 libXau-1.0.6-4.el6.x86_64 libXext-1.3.2-2.1.el6.x86_64 libXpm-3.5.10-2.el6.x86_64 libXt-1.1.4-6.1.el6.x86_64 libc-client-2007e-11.el6.x86_64 libcurl-7.19.7-46.el6.x86_64 libedit-2.11-4.20080712cvs.1.el6.x86_64 libgcrypt-1.4.5-11.el6_4.x86_64 libgpg-error-1.7-4.el6.x86_64 libicu-last-50.1.2-11.el! 6.remi.x86_64 libidn-1.18-2.el6.x86_64 libjpeg-turbo-1.2.1-3.el6_5.x86_64 libmcrypt-2.5.8-9.el6.x86_64 libmemcached-1.0.17-1.rhel6.x86_64 libpng-1.2.49-1.el6_2.x86_64 libselinux-2.0.94-5.8.el6.x86_64 libssh2-1.4.2-1.el6_6.1.x86_64 libtidy-0.99.0-19.20070615.1.el6.x86_64 libtiff-3.9.4-10.el6_5.x86_64 libtool-ltdl-2.2.6-15.5.el6.x86_64 libuuid-2.17.2-12.18.el6.x86_64 libvpx-1.3.0-5.el6_5.x86_64 libxcb-1.9.1-3.el6.x86_64 libxslt-1.1.26-2.el6_3.1.x86_64 libzip-last-1.0.1-1.el6.remi.x86_64 net-snmp-libs-5.5-54.el6_7.1.x86_64 nspr-4.10.8-2.el6_7.x86_64 nss-3.19.1-5.el6_7.x86_64 nss-util-3.19.1-2.el6_7.x86_64 openldap-2.4.40-7.el6_7.x86_64 pam-1.1.1-20.el6_7.1.x86_64 php70-php-pecl-apcu-5.1.0-1.el6.remi.x86_64 php70-php-pecl-geoip-1.1.0-9.el6.remi.x86_64 php70-php-pecl-imagick-3.3.0-0.6.20150930gitfccdde3.el6.remi.x86_64 php70-php-pecl-memcached-2.2.0-11.20150628git3c79a97.el6.remi.x86_64 php70-php-pecl-msgpack-2.0.0-1.el6.remi.x86_64 php70-php-pecl-uploadprogress-1.0.3.1-11.el6.r! emi.x86_64 php70-php-pecl-uuid-1.0.4-6.el6.remi.x86_64 php70-p! hp-pecl-zip-1.13.1-3.el6.remi.x86_64 postgresql93-libs-9.3.10-1PGDG.rhel6.x86_64 sqlite-3.6.20-1.el6_7.2.x86_64 tokyocabinet-1.4.33-6.el6.x86_64 unixODBC-2.2.14-14.el6.x86_64 (gdb) bt #0 zend_llist_del_element (l=0x9dc8e0, element=0x0, compare=0x7fcb85d40590 <accelerator_remove_cb>) at /usr/src/debug/php-7.0.0RC8/Zend/zend_llist.c:91 #1 0x00007fcb85d425b1 in zps_startup_failure (extension=<value optimized out>) at /usr/src/debug/php-7.0.0RC8/ext/opcache/ZendAccelerator.c:2336 #2 accel_startup (extension=<value optimized out>) at /usr/src/debug/php-7.0.0RC8/ext/opcache/ZendAccelerator.c:2621 #3 0x00000000005edbb1 in zend_extension_startup (extension=0x28a0190) at /usr/src/debug/php-7.0.0RC8/Zend/zend_extensions.c:176 #4 0x00000000005d7123 in zend_llist_apply_with_del (l=0x9dc8e0, func=0x5edba0 <zend_extension_startup>) at /usr/src/debug/php-7.0.0RC8/Zend/zend_llist.c:171 #5 0x00000000005edb97 in zend_startup_extensions () at /usr/src/debug/php-7.0.0RC8/Zend/zend_extensions.c:197 #6 0x0000000000585815 in php_module_startup (sf=<value optimized out>, additional_modules=<value optimized out>, num_additional_modules=<value optimized out>) at /usr/src/debug/php-7.0.0RC8/main/main.c:2197 #7 0x00000000006761bd in php_cli_startup (sapi_module=<value optimized out>) at /usr/src/debug/php-7.0.0RC8/sapi/cli/php_cli.c:423 #8 0x00000000006778e1 in main (argc=2, argv=0x28589e0) at /usr/src/debug/php-7.0.0RC8/sapi/cli/php_cli.c:1325 ------------------------------------------------------------------------ [2015-11-02 10:11:22] nguyentu dot me at outlook dot com try with the following os CentOS 7 ok Ubuntu 12.04 ok FreeBSD ok CentOS 6 fail ------------------------------------------------------------------------ [2015-11-02 08:53:41] pei dot greet at qq dot com Reading symbols from /usr/lib64/libsmime3.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib64/libsmime3.so Reading symbols from /usr/lib64/libnss3.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib64/libnss3.so Reading symbols from /usr/lib64/libnssutil3.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib64/libnssutil3.so Reading symbols from /lib64/libplds4.so...(no debugging symbols found)...done. Loaded symbols for /lib64/libplds4.so Reading symbols from /lib64/libplc4.so...(no debugging symbols found)...done. Loaded symbols for /lib64/libplc4.so Reading symbols from /lib64/libnspr4.so...(no debugging symbols found)...done. Loaded symbols for /lib64/libnspr4.so Reading symbols from /usr/lib64/libssh2.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib64/libssh2.so.1 Reading symbols from /lib64/liblber-2.4.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/liblber-2.4.so.2 more info with gdb -------------------------------- Reading symbols from /usr/lib64/libsasl2.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib64/libsasl2.so.2 Reading symbols from /lib64/libkrb5support.so.0...(no debugging symbols found)...done. Loaded symbols for /lib64/libkrb5support.so.0 Reading symbols from /lib64/libkeyutils.so.1...(no debugging symbols found)...done. Loaded symbols for /lib64/libkeyutils.so.1 Reading symbols from /lib64/libselinux.so.1...(no debugging symbols found)...done. Loaded symbols for /lib64/libselinux.so.1 Reading symbols from /opt/php7/lib/php/extensions/no-debug-non-zts-20151012/opcache.so...done. Loaded symbols for /opt/php7/lib/php/extensions/no-debug-non-zts-20151012/opcache.so Reading symbols from /opt/php7/lib/php/extensions/no-debug-non-zts-20151012/yaf.so...done. Loaded symbols for /opt/php7/lib/php/extensions/no-debug-non-zts-20151012/yaf.so Core was generated by `/opt/php7/sbin/php-fpm --daemonize --fpm-config /opt/php7/etc/php-fpm.conf --pi'. Program terminated with signal 11, Segmentation fault. #0 0x00000033f0729008 in __strcmp_sse42 () from /lib64/libc.so.6 Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.23-15.el6_6.2.x86_64 freetype-2.3.11-15.el6_6.1.x86_64 glibc-2.12-1.149.el6_6.7.x86_64 keyutils-libs-1.4-5.el6.x86_64 krb5-libs-1.10.3-37.el6_6.x86_64 libcom_err-1.41.12-21.el6.x86_64 libcurl-7.19.7-40.el6_6.4.x86_64 libidn-1.18-2.el6.x86_64 libjpeg-turbo-1.2.1-3.el6_5.x86_64 libpng-1.2.49-1.el6_2.x86_64 libselinux-2.0.94-5.8.el6.x86_64 libssh2-1.4.2-1.el6.x86_64 libtool-ltdl-2.2.6-15.5.el6.x86_64 libxml2-2.7.6-17.el6_6.1.x86_64 nspr-4.10.0-1.el6.x86_64 nss-3.15.1-15.el6.x86_64 nss-softokn-freebl-3.14.3-22.el6_6.x86_64 nss-util-3.15.1-3.el6.x86_64 openldap-2.4.39-8.el6.x86_64 openssl-1.0.1e-30.el6.8.x86_64 zlib-1.2.3-29.el6.x86_64 (gdb) bt #0 0x00000033f0729008 in __strcmp_sse42 () from /lib64/libc.so.6 #1 0x00007ffdba9422a9 in accel_find_sapi (extension=<value optimized out>) at /data/src/php-src-php-7.0.0RC6/ext/opcache/ZendAccelerator.c:2355 #2 accel_startup (extension=<value optimized out>) at /data/src/php-src-php-7.0.0RC6/ext/opcache/ZendAccelerator.c:2613 #3 0x0000000000814d41 in zend_extension_startup (extension=0x203a5f0) at /data/src/php-src-php-7.0.0RC6/Zend/zend_extensions.c:176 #4 0x00000000007fe6b3 in zend_llist_apply_with_del (l=0x11621a0, func=0x814d30 <zend_extension_startup>) at /data/src/php-src-php-7.0.0RC6/Zend/zend_llist.c:171 #5 0x0000000000814d27 in zend_startup_extensions () at /data/src/php-src-php-7.0.0RC6/Zend/zend_extensions.c:197 #6 0x00000000007adeda in php_module_startup (sf=<value optimized out>, additional_modules=<value optimized out>, num_additional_modules=<value optimized out>) at /data/src/php-src-php-7.0.0RC6/main/main.c:2197 #7 0x00000000008a70d5 in php_cgi_startup (sapi_module=<value optimized out>) at /data/src/php-src-php-7.0.0RC6/sapi/fpm/fpm/fpm_main.c:837 #8 0x00000000008a794e in main (argc=6, argv=0x7fff549397c8) at /data/src/php-src-php-7.0.0RC6/sapi/fpm/fpm/fpm_main.c:1788 ------------------------------------------------------------------------ [2015-11-02 08:30:10] pei dot greet at qq dot com I got the same error in CentOs6.5 ------------------------ gdb /opt/php7/sbin/php-fpm /var/log/php-fpm.core.33381 GNU gdb (GDB) Red Hat Enterprise Linux (7.2-83.el6) Copyright (C) 2010 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 /opt/php7/sbin/php-fpm...done. BFD: Warning: /var/log/php-fpm.core.33381 is truncated: expected core file size >= 6447104, found: 1130496. [New Thread 33381] Cannot access memory at address 0x33f0421168 Cannot access memory at address 0x33f0421168 Cannot access memory at address 0x33f0421168 Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Failed to read a valid object file image from memory. Core was generated by `/opt/php7/sbin/php-fpm --daemonize --fpm-config /opt/php7/etc/php-fpm.conf --pi'. Program terminated with signal 11, Segmentation fault. #0 0x00000033f0729008 in ?? () Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.149.el6_6.7.x86_64 --------------------------------- ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=70818 -- Edit this bug report at https://bugs.php.net/bug.php?id=70818&edit=1

« previous php.bugs (#197507) next »