[phpa] Re: array_reduce() is broken (again)
- From: "Dale Dude" <dale@xxxxxxxxxxxx>
- To: <nick@xxxxxxxxxxxxxxxxxxxxx>, <phpa@xxxxxxxxxxxxx>
- Date: Tue, 4 Jun 2002 05:16:26 -0400
Stupid Q...doesn't php have a test suite like perl?
> -----Original Message-----
> From: phpa-bounce@xxxxxxxxxxxxx [mailto:phpa-bounce@xxxxxxxxxxxxx]On
> Behalf Of Nick Lindridge
> Sent: Tuesday, June 04, 2002 5:05 AM
> To: phpa@xxxxxxxxxxxxx
> Subject: [phpa] array_reduce() is broken (again)
>
>
>
> This is just a heads up for people using array_reduce().
>
> The bug is closely related to or in array_reduce() and crashes
> 4.3.0-dev as well. I had similar problems with 4.0.6 with busted array
> functions, and they went away in 4.0.7, but there are clearly still
> issues so this is just a heads up for people. The stack trace is below
> for any php folks interested in investigating. PHP also emitted a
> message at one point saying that it had a problem with the callback
> function, even though it was clearly defined, so that was
> curious. I'll
> drop a note into the bugs list too.
>
> Program received signal SIGSEGV, Segmentation fault.
> call_user_function_ex (function_table=0x824d198, object_pp=0x0,
> function_name=0x19, retval_ptr_ptr=0xbfff9ef8, param_count=2,
> params=0xbfff9efc, no_separation=0, symbol_table=0x0)
> at /usr/local/src/php-4.3.0dev/Zend/zend_execute_API.c:403
> 403 if (function_name->type==IS_ARRAY) { /* assume
> array($obj, $name
> ) couple */
> (gdb) where
> #0 call_user_function_ex (function_table=0x824d198, object_pp=0x0,
> function_name=0x19, retval_ptr_ptr=0xbfff9ef8, param_count=2,
> params=0xbfff9efc, no_separation=0, symbol_table=0x0)
> at /usr/local/src/php-4.3.0dev/Zend/zend_execute_API.c:403
> #1 0x813c4d4 in zif_array_reduce (ht=3, return_value=0x838aa44,
> this_ptr=0x0,
> return_value_used=1)
> at /usr/local/src/php-4.3.0dev/ext/standard/array.c:3020
> #2 0x80a9e76 in execute (op_array=0x83ae350)
> at /usr/local/src/php-4.3.0dev/Zend/zend_execute.c:1598
> #3 0x80a9fdb in execute (op_array=0x83ad068)
> at /usr/local/src/php-4.3.0dev/Zend/zend_execute.c:1638
>
> etc.
>
>
>
>
> --------------------------------------------------------------
> ----------
> www.php-accelerator.co.uk Home of the free PHP Accelerator
>
> To post, send email to phpa@xxxxxxxxxxxxx
> To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject
> unsubscribe
>
>
>
------------------------------------------------------------------------
www.php-accelerator.co.uk Home of the free PHP Accelerator
To post, send email to phpa@xxxxxxxxxxxxx
To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe
- Follow-Ups:
- [phpa] Re: array_reduce() is broken (again)
- From: Nick Lindridge
- References:
- [phpa] array_reduce() is broken (again)
- From: Nick Lindridge
Other related posts:
- » [phpa] array_reduce() is broken (again)
- » [phpa] Re: array_reduce() is broken (again)
- » [phpa] Re: array_reduce() is broken (again)
- [phpa] Re: array_reduce() is broken (again)
- From: Nick Lindridge
- [phpa] array_reduce() is broken (again)
- From: Nick Lindridge