Bug #68958 [Fbk->NoF]: Segfault in zend_parse_va_args called from from zif_strpos

From: Date: Sun, 08 Feb 2015 04:22:17 +0000
Subject: Bug #68958 [Fbk->NoF]: Segfault in zend_parse_va_args called from from zif_strpos
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-190524@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68958&edit=1 ID: 68958 Updated by: php-bugs@lists.php.net Reported by: sindrepm at gmail dot com Summary: Segfault in zend_parse_va_args called from from zif_strpos -Status: Feedback +Status: No Feedback Type: Bug Package: Strings related Operating System: CentOS 6.6 PHP Version: 5.5.21 Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2015-01-31 15:51:30] laruence@php.net Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. ------------------------------------------------------------------------ [2015-01-30 09:24:58] sindrepm at gmail dot com Description: ------------ On a Magento web site I am getting the following segfault on both PHP 5.4.37 and PHP 5.5.20. Gdb backtrace: Program terminated with signal 11, Segmentation fault. #0 0x00000000007d1a06 in zend_parse_va_args (num_args=2, type_spec=0x92e49e "sz|l", va=0x7fff4d6b7030, flags=0) at /usr/local/lsws/phpbuild/php-5.5.20/Zend/zend_API.c:730 #0 0x00000000007d1a06 in zend_parse_va_args (num_args=2, type_spec=0x92e49e "sz|l", va=0x7fff4d6b7030, flags=0) at /usr/local/lsws/phpbuild/php-5.5.20/Zend/zend_API.c:730 #1 0x00000000007d23c5 in zend_parse_parameters (num_args=2, type_spec=<value optimized out>) at /usr/local/lsws/phpbuild/php-5.5.20/Zend/zend_API.c:924 #2 0x00000000006f9180 in zif_strpos (ht=<value optimized out>, return_value=0x78a6ff8, return_value_ptr=<value optimized out>, this_ptr=<value optimized out>, return_value_used=<value optimized out>) at /usr/local/lsws/phpbuild/php-5.5.20/ext/standard/string.c:1823 #3 0x0000000000849b03 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/local/lsws/phpbuild/php-5.5.20/Zend/zend_vm_execute.h:550 #4 0x000000000083b380 in execute_ex (execute_data=0x7902db8) at /usr/local/lsws/phpbuild/php-5.5.20/Zend/zend_vm_execute.h:363 #5 0x0000000000849fa9 in zend_do_fcall_common_helper_SPEC (execute_data=0x7902640) at /usr/local/lsws/phpbuild/php-5.5.20/Zend/zend_vm_execute.h:584 #6 0x000000000083b380 in execute_ex (execute_data=0x7902640) at /usr/local/lsws/phpbuild/php-5.5.20/Zend/zend_vm_execute.h:363 #7 0x00000000007b9efe in zend_call_function (fci=0x7fff4d6b7520, fci_cache=<value optimized out>) at /usr/local/lsws/phpbuild/php-5.5.20/Zend/zend_execute_API.c:937 #8 0x00000000007e0017 in zend_call_method (object_pp=0x7fff4d6b7648, obj_ce=<value optimized out>, fn_proxy=0x41499b0, function_name=0xa69dd6 "__call", function_name_len=<value optimized out>, retval_ptr_ptr=0x7fff4d6b7658, param_count=2, arg1=0x78dec48, arg2=0x78de818) at /usr/local/lsws/phpbuild/php-5.5.20/Zend/zend_interfaces.c:97 #9 0x00000000007ee9ad in zend_std_call_user_call (ht=<value optimized out>, return_value=0x78a6ec0, return_value_ptr=<value optimized out>, this_ptr=0x41219e0, return_value_used=<value optimized out>) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68958&edit=1

« previous php.bugs (#190524) next »