Bug #67872 [Asn->Csd]: Crash on Zend\tests\bug40815.phpt
| From: | ab@php.net | Date: | Thu, 21 Aug 2014 14:03:01 +0000 |
| Subject: | Bug #67872 [Asn->Csd]: Crash on Zend\tests\bug40815.phpt | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-187220@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=67872&edit=1
ID: 67872
Updated by: ab@php.net
Reported by: ab@php.net
Summary: Crash on Zend\tests\bug40815.phpt
-Status: Assigned
+Status: Closed
Type: Bug
Package: Scripting Engine problem
Operating System: windows
PHP Version: master-Git-2014-08-20 (Git)
Assigned To: ab
Block user comment: N
Private report: N
New Comment:
fixed in rev b9a5db2b5534f696ca102fc161b302eabacd401f
Previous Comments:
------------------------------------------------------------------------
[2014-08-20 12:28:38] ab@php.net
The same is reproducable with ext\standard\tests\strings\parse_str_basic4.phpt , on linux those
tests pass with and without valgrind.
------------------------------------------------------------------------
[2014-08-20 12:23:38] ab@php.net
Description:
------------
When running Zend\tests\bug40815.phpt on master 64 bit windows build, php crashes with the following
error msg:
Stack area around _alloca memory reserver by this function is corrupted
and it points to zend/zend_api.c:2916
The backtrace:
php7ts_debug.dll!failwithmessage(void * retaddr, int crttype, int errnum, const char * msg) Line
248 C++
php7ts_debug.dll!_RTC_AllocaFailure(void * retaddr, _RTC_ALLOCA_NODE * pn, int num) Line 424 C++
php7ts_debug.dll!_RTC_CheckStackVars2(void * frame, _RTC_framedesc * v, _RTC_ALLOCA_NODE *
allocaList) Line 184 C++
> php7ts_debug.dll!zend_is_callable_check_class(_zend_string * name, _zend_fcall_info_cache *
>fcc, int * strict_class, char * * error, void * * * tsrm_ls) Line 2916 C
php7ts_debug.dll!zend_is_callable_check_func(int check_flags, _zval_struct * callable,
_zend_fcall_info_cache * fcc, int strict_class, char * * error, void * * * tsrm_ls) Line 2994 C
php7ts_debug.dll!zend_is_callable_ex(_zval_struct * callable, _zend_object * object, unsigned int
check_flags, _zend_string * * callable_name, _zend_fcall_info_cache * fcc, char * * error, void * *
* tsrm_ls) Line 3256 C
php7ts_debug.dll!zend_is_callable(_zval_struct * callable, unsigned int check_flags, _zend_string
* * callable_name, void * * * tsrm_ls) Line 3403 C
php7ts_debug.dll!zif_set_exception_handler(unsigned int param_count, _zval_struct * return_value,
void * * * tsrm_ls) Line 1648 C
php7ts_debug.dll!ZEND_DO_FCALL_SPEC_HANDLER(_zend_execute_data * execute_data, void * * * tsrm_ls)
Line 596 C
php7ts_debug.dll!execute_ex(_zend_execute_data * execute_data, void * * * tsrm_ls) Line 354 C
php7ts_debug.dll!zend_execute(_zend_op_array * op_array, _zval_struct * return_value, void * * *
tsrm_ls) Line 384 C
php7ts_debug.dll!zend_execute_scripts(int type, void * * * tsrm_ls, _zval_struct * retval, int
file_count, ...) Line 1320 C
php7ts_debug.dll!php_execute_script(_zend_file_handle * primary_file, void * * * tsrm_ls) Line
2564 C
php.exe!do_cli(int argc, char * * argv, void * * * tsrm_ls) Line 981 C
php.exe!main(int argc, char * * argv) Line 1358 C
Test script:
---------------
Zend\tests\bug40815.phpt
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=67872&edit=1