Bug #68921 [NEW]: segfault

From: Date: Tue, 27 Jan 2015 14:37:17 +0000
Subject: Bug #68921 [NEW]: segfault
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-190249@lists.php.net to get a copy of this message
From:             public at grik dot net
Operating system: Cent OS 6
PHP version:      5.6.5
Package:          Reproducible crash
Bug Type:         Bug
Bug description:segfault

Description:
------------
Segfault after upgrade from 5.5.5 to 5.6.5

Test script:
---------------
I don't have an exact reproducable script atm, can create it if
required.

Actual result:
--------------
Core was generated by `php-fpm: pool www                                
                            '.
Program terminated with signal 11, Segmentation fault.
#0  0x0844e25d in _zval_dtor_func (zvalue=0xb771b098,
    __zend_filename=0x89136cc "/usr/src/php-5.6.5/Zend/zend_execute.h",
__zend_lineno=79)
    at /usr/src/php-5.6.5/Zend/zend_variables.c:36
36                              CHECK_ZVAL_STRING_REL(zvalue);
Missing separate debuginfos, use: debuginfo-install
ImageMagick-6.5.4.7-7.el6_5.i686 bzip2-libs-1.0.5-7.el6_0.i686 cyrus    
                            -sasl-lib-2.1.23-15.el6_6.1.i686
expat-2.0.1-11.el6_2.i686 fontconfig-2.8.0-5.el6.i686
freetype-2.3.11-14.el6_3.1.i686 g                                
libc-2.12-1.149.el6_6.4.i686 keyutils-libs-1.4-5.el6.i686
krb5-libs-1.10.3-33.el6.i686 lcms-libs-1.19-1.el6.i686 libICE-          
                      1.0.6-1.el6.i686 libSM-1.2.1-2.el6.i686
libX11-1.6.0-2.2.el6.i686 libXau-1.0.6-4.el6.i686
libXext-1.3.2-2.1.el6.i686 lib                                
Xt-1.1.4-6.1.el6.i686 libcom_err-1.41.12-21.el6.i686
libcurl-7.19.7-40.el6_6.3.i686 libgcc-4.4.7-11.el6.i686 libgomp-4.4     
                           .7-11.el6.i686 libidn-1.18-2.el6.i686
libjpeg-turbo-1.2.1-3.el6_5.i686 libpng-1.2.49-1.el6_2.i686
libselinux-2.0.94-5.8.                                 el6.i686
libssh2-1.4.2-1.el6.i686 libtiff-3.9.4-10.el6_5.i686
libtool-ltdl-2.2.6-15.5.el6.i686 libuuid-2.17.2-12.18.el6.              
                  i686 libxcb-1.9.1-2.el6.i686
libxml2-2.7.6-17.el6_6.1.i686 nspr-4.10.6-1.el6_5.i686
nss-3.16.2.3-3.el6_6.i686 nss-softok                                
n-freebl-3.14.3-18.el6_6.i686 nss-util-3.16.2.3-2.el6_6.i686
openldap-2.4.39-8.el6.i686 openssl-1.0.1e-30.el6_6.4.i686 p             
                   ostgresql93-libs-9.3.5-1PGDG.rhel6.i686
zlib-1.2.3-29.el6.i686


(gdb) bt
#0  0x0844e25d in _zval_dtor_func (zvalue=0xb771b098,
    __zend_filename=0x89136cc "/usr/src/php-5.6.5/Zend/zend_execute.h",
__zend_lineno=79)
    at /usr/src/php-5.6.5/Zend/zend_variables.c:36
#1  0x0843daeb in _zval_dtor (zvalue=0xb771b098,
__zend_filename=0x89136cc "/usr/src/php-5.6.5/Zend/zend_execute.h",
    __zend_lineno=79) at /usr/src/php-5.6.5/Zend/zend_variables.h:35
#2  0x0843db98 in i_zval_ptr_dtor (zval_ptr=0xb771b098,
    __zend_filename=0x89157fc
"/usr/src/php-5.6.5/Zend/zend_variables.c", __zend_lineno=188)
    at /usr/src/php-5.6.5/Zend/zend_execute.h:79
#3  0x0843e863 in _zval_ptr_dtor (zval_ptr=0xb771b210,
    __zend_filename=0x89157fc
"/usr/src/php-5.6.5/Zend/zend_variables.c", __zend_lineno=188)
    at /usr/src/php-5.6.5/Zend/zend_execute_API.c:424
#4  0x0844e6e7 in _zval_ptr_dtor_wrapper (zval_ptr=0xb771b210) at
/usr/src/php-5.6.5/Zend/zend_variables.c:188
#5  0x0845e96f in i_zend_hash_bucket_delete (ht=0x8b3673c, p=0xb771b204)
at /usr/src/php-5.6.5/Zend/zend_hash.c:182
#6  0x0845ea35 in zend_hash_bucket_delete (ht=0x8b3673c, p=0xb771b204)
at /usr/src/php-5.6.5/Zend/zend_hash.c:192
#7  0x08460447 in zend_hash_graceful_reverse_destroy (ht=0x8b3673c) at
/usr/src/php-5.6.5/Zend/zend_hash.c:613
#8  0x0843e34b in shutdown_executor () at
/usr/src/php-5.6.5/Zend/zend_execute_API.c:244
#9  0x08450451 in zend_deactivate () at
/usr/src/php-5.6.5/Zend/zend.c:960
#10 0x083d3240 in php_request_shutdown (dummy=0x0) at
/usr/src/php-5.6.5/main/main.c:1884
#11 0x084f9dc8 in main (argc=6, argv=0xbfdbf114) at
/usr/src/php-5.6.5/sapi/fpm/fpm/fpm_main.c:1988


-- 
Edit bug report at https://bugs.php.net/bug.php?id=68921&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=68921&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=68921&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=68921&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=68921&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=68921&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=68921&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=68921&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=68921&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=68921&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=68921&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=68921&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=68921&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=68921&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68921&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=68921&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=68921&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=68921&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=68921&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=68921&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=68921&r=mysqlcfg



Thread (18 messages)

« previous php.bugs (#190249) next »