php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40067 is_array recursion crash
Submitted: 2007-01-08 18:49 UTC Modified: 2007-01-08 20:53 UTC
From: nkiraly at collaborativefusion dot com Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 5.2.0 OS: FreeBSD 6.1-RELEASE-p10
Private report: No CVE-ID: None
 [2007-01-08 18:49 UTC] nkiraly at collaborativefusion dot com
Description:
------------
I'm using PEAR package SOAP 0.9.4, PHP 5.2.0

I keep getting apache illegal instructions when making calls to my PEAR SOAP_Server service I think is_array does some kind of infinite loop when it dives into a nested array of objects/arrays

The SOAP_Fault created by PEAR is finite in length and is not that big, I don't see why the stack is overflowing when is_array is walking the var



[nkiraly@test00 /var/www/test]$ fetch
http://test00/~nkiraly/test/pear_soap_sig4.php
fetch: http://test00/test/pear_soap_sig4.php: Unknown error: 0

[Fri Jan 05 01:27:41 2007] [notice] child pid 27266 exit signal Illegal
instruction (4)


investigation has led me to the is_array call in Base.php on line 989, in
_makeEnvelope():

            if (is_array($method)) {

I see the test is wether or not the $method var passed is an array and to
serialize each one if 
there is more then one. is_array seems to be bombing in a potentially
infinite loop kind of way.


i got fatal error at 16mb so i brought it up to 300MB and i got what looks
like a stackoverflow error,
which leads me to believe it's some kind of infinite loop with that many
iterations with the return object

Reproduce code:
---------------
code here:

http://koadweb.com/pear_soap_sig4/pear_soap_sig4.php.txt

Expected result:
----------------
the verifyMember method will be serviced and value returned, but it never
gets that far

Actual result:
--------------
[nkiraly@test00 ~]$ gdb -q php
(gdb) r /home/nkiraly/public_html/test/pear_soap_sig4.php
Starting program: /usr/local/bin/php
/home/nkiraly/public_html/test/pear_soap_sig4.php

Fatal error: Allowed memory size of 16777216 bytes exhausted at
/usr/ports/lang/php5/work/php-5.2.0/Zend/zend_hash.c:494 (tried to
allocate 45 bytes) in /usr/local/share/pear/SOAP/Base.php on line 430

Program exited normally.


that's the 16MB php memory limit

.. here's 300MB



[nkiraly@test00 ~]$ gdb -q php
(gdb) r /var/www/verify/1.0/verify_coredump.php
Starting program: /usr/local/bin/php
/home/nkiraly/public_html/test/pear_soap_sig4.php

Program received signal SIGSEGV, Segmentation fault.
0x08195fcb in execute (op_array=0x83c1e94) at zend_vm_execute.h:53
53      zend_vm_execute.h: No such file or directory.
        in zend_vm_execute.h


i cut out the middle of the stack, but here is the idea of what happens:

(gdb) bt
#0  0x08195fcb in execute (op_array=0x83c1e94) at zend_vm_execute.h:53
#1  0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc028b0)
    at zend_vm_execute.h:234
#2  0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc028b0) at zend_vm_execute.h:322
#3  0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#4  0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc03ed0)
    at zend_vm_execute.h:234
#5  0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc03ed0) at zend_vm_execute.h:322
#6  0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#7  0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc054f0)
    at zend_vm_execute.h:234
#8  0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc054f0) at zend_vm_execute.h:322
#9  0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#10 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc06b10)
    at zend_vm_execute.h:234
#11 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc06b10) at zend_vm_execute.h:322
#12 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#13 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc08130)
---Type <return> to continue, or q <return> to quit---
    at zend_vm_execute.h:234
#14 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc08130) at zend_vm_execute.h:322
#15 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#16 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc09750)
    at zend_vm_execute.h:234
#17 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc09750) at zend_vm_execute.h:322
#18 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#19 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc0ad70)
    at zend_vm_execute.h:234
#20 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc0ad70) at zend_vm_execute.h:322
#21 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#22 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc0c390)
    at zend_vm_execute.h:234
#23 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc0c390) at zend_vm_execute.h:322
#24 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#25 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc0d9b0)
    at zend_vm_execute.h:234
#26 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
---Type <return> to continue, or q <return> to quit---
    execute_data=0xbbc0d9b0) at zend_vm_execute.h:322
#27 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#28 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc0efd0)
    at zend_vm_execute.h:234
#29 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc0efd0) at zend_vm_execute.h:322
#30 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#31 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc105f0)
    at zend_vm_execute.h:234
#32 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc105f0) at zend_vm_execute.h:322
#33 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#34 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc11c10)
    at zend_vm_execute.h:234
#35 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc11c10) at zend_vm_execute.h:322
#36 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#37 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc13230)
    at zend_vm_execute.h:234
#38 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc13230) at zend_vm_execute.h:322
#39 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
---Type <return> to continue, or q <return> to quit---
#40 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc14850)
    at zend_vm_execute.h:234
#41 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc14850) at zend_vm_execute.h:322
#42 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#43 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc15e70)
    at zend_vm_execute.h:234
#44 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc15e70) at zend_vm_execute.h:322
#45 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#46 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc17490)
    at zend_vm_execute.h:234
#47 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc17490) at zend_vm_execute.h:322
#48 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#49 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc18ab0)
    at zend_vm_execute.h:234
#50 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc18ab0) at zend_vm_execute.h:322
#51 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#52 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc1a0d0)
    at zend_vm_execute.h:234
---Type <return> to continue, or q <return> to quit---
#53 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc1a0d0) at zend_vm_execute.h:322
#54 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#55 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc1b6f0)
    at zend_vm_execute.h:234
#56 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc1b6f0) at zend_vm_execute.h:322
#57 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#58 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc1cd10)
    at zend_vm_execute.h:234
#59 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc1cd10) at zend_vm_execute.h:322
#60 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#61 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc1e330)
    at zend_vm_execute.h:234
#62 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc1e330) at zend_vm_execute.h:322
#63 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#64 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc1f950)
    at zend_vm_execute.h:234
#65 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc1f950) at zend_vm_execute.h:322
---Type <return> to continue, or q <return> to quit---
#66 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#67 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc20f70)
    at zend_vm_execute.h:234
#68 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc20f70) at zend_vm_execute.h:322
#69 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#70 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc22590)
    at zend_vm_execute.h:234
#71 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc22590) at zend_vm_execute.h:322
#72 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#73 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc23bb0)
    at zend_vm_execute.h:234
#74 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc23bb0) at zend_vm_execute.h:322
#75 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#76 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc251d0)
    at zend_vm_execute.h:234
#77 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc251d0) at zend_vm_execute.h:322
#78 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#79 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc267f0)
---Type <return> to continue, or q <return> to quit---
    at zend_vm_execute.h:234
#80 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc267f0) at zend_vm_execute.h:322
#81 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#82 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc27e10)
    at zend_vm_execute.h:234
#83 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc27e10) at zend_vm_execute.h:322
#84 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#85 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc29430)
    at zend_vm_execute.h:234
#86 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc29430) at zend_vm_execute.h:322
#87 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#88 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc2aa50)
    at zend_vm_execute.h:234
#89 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc2aa50) at zend_vm_execute.h:322
#90 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#91 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc2c070)
    at zend_vm_execute.h:234
#92 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
---Type <return> to continue, or q <return> to quit---
    execute_data=0xbbc2c070) at zend_vm_execute.h:322
#93 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#94 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc2d690)
    at zend_vm_execute.h:234
#95 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc2d690) at zend_vm_execute.h:322
#96 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#97 0x081965c5 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbbc2ecb0)
    at zend_vm_execute.h:234
#98 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc2ecb0) at zend_vm_execute.h:322
#99 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#100 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbbc302d0) at zend_vm_execute.h:234
#101 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc302d0) at zend_vm_execute.h:322
#102 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#103 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbbc318f0) at zend_vm_execute.h:234
#104 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbbc318f0) at zend_vm_execute.h:322
#105 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92

#35457 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#35458 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbda010) at zend_vm_execute.h:234
#35459 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbda010) at zend_vm_execute.h:322
#35460 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#35461 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbdb630) at zend_vm_execute.h:234
#35462 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbdb630) at zend_vm_execute.h:322
#35463 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#35464 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbdcc50) at zend_vm_execute.h:234
#35465 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbdcc50) at zend_vm_execute.h:322
#35466 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#35467 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbde270) at zend_vm_execute.h:234
#35468 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
---Type <return> to continue, or q <return> to quit---
    execute_data=0xbfbde270) at zend_vm_execute.h:322
#35469 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#35470 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbdf890) at zend_vm_execute.h:234
#35471 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbdf890) at zend_vm_execute.h:322
#35472 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#35473 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbe0eb0) at zend_vm_execute.h:234
#35474 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbe0eb0) at zend_vm_execute.h:322
#35475 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#35476 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbe24d0) at zend_vm_execute.h:234
#35477 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbe24d0) at zend_vm_execute.h:322
#35478 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#35479 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbe3af0) at zend_vm_execute.h:234
#35480 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbe3af0) at zend_vm_execute.h:322
#35481 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
---Type <return> to continue, or q <return> to quit---
#35482 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbe5110) at zend_vm_execute.h:234
#35483 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbe5110) at zend_vm_execute.h:322
#35484 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#35485 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbe6730) at zend_vm_execute.h:234
#35486 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbe6730) at zend_vm_execute.h:322
#35487 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#35488 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbe7d50) at zend_vm_execute.h:234
#35489 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbe7d50) at zend_vm_execute.h:322
#35490 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#35491 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbe9370) at zend_vm_execute.h:234
#35492 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbe9370) at zend_vm_execute.h:322
#35493 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#35494 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbea990) at zend_vm_execute.h:234
---Type <return> to continue, or q <return> to quit---
#35495 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbea990) at zend_vm_execute.h:322
#35496 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#35497 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbebfb0) at zend_vm_execute.h:234
#35498 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbebfb0) at zend_vm_execute.h:322
#35499 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#35500 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbed5d0) at zend_vm_execute.h:234
#35501 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbed5d0) at zend_vm_execute.h:322
#35502 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#35503 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbeebf0) at zend_vm_execute.h:234
#35504 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbeebf0) at zend_vm_execute.h:322
#35505 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#35506 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbf0210) at zend_vm_execute.h:234
#35507 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbf0210) at zend_vm_execute.h:322
---Type <return> to continue, or q <return> to quit---
#35508 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#35509 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbf1830) at zend_vm_execute.h:234
#35510 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbf1830) at zend_vm_execute.h:322
#35511 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#35512 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbf2e50) at zend_vm_execute.h:234
#35513 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbf2e50) at zend_vm_execute.h:322
#35514 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#35515 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbf4470) at zend_vm_execute.h:234
#35516 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbf4470) at zend_vm_execute.h:322
#35517 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#35518 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbf5a90) at zend_vm_execute.h:234
#35519 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbf5a90) at zend_vm_execute.h:322
#35520 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#35521 0x081965c5 in zend_do_fcall_common_helper_SPEC (
---Type <return> to continue, or q <return> to quit---
    execute_data=0xbfbf70b0) at zend_vm_execute.h:234
#35522 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbf70b0) at zend_vm_execute.h:322
#35523 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#35524 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbf86d0) at zend_vm_execute.h:234
#35525 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbf86d0) at zend_vm_execute.h:322
#35526 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#35527 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbf9cf0) at zend_vm_execute.h:234
#35528 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbf9cf0) at zend_vm_execute.h:322
#35529 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#35530 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbf9ed0) at zend_vm_execute.h:234
#35531 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbf9ed0) at zend_vm_execute.h:322
#35532 0x081960a2 in execute (op_array=0x845570c) at zend_vm_execute.h:92
#35533 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbfb4f0) at zend_vm_execute.h:234
#35534 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
---Type <return> to continue, or q <return> to quit---
    execute_data=0xbfbfb4f0) at zend_vm_execute.h:322
#35535 0x081960a2 in execute (op_array=0x83c1e94) at zend_vm_execute.h:92
#35536 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbfb6d0) at zend_vm_execute.h:234
#35537 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbfb6d0) at zend_vm_execute.h:322
#35538 0x081960a2 in execute (op_array=0x845570c) at zend_vm_execute.h:92
#35539 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbfbd00) at zend_vm_execute.h:234
#35540 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbfbd00) at zend_vm_execute.h:322
#35541 0x081960a2 in execute (op_array=0x83da94c) at zend_vm_execute.h:92
#35542 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbfc1d0) at zend_vm_execute.h:234
#35543 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbfc1d0) at zend_vm_execute.h:322
#35544 0x081960a2 in execute (op_array=0x83b6dd0) at zend_vm_execute.h:92
#35545 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbfc720) at zend_vm_execute.h:234
#35546 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbfc720) at zend_vm_execute.h:322
#35547 0x081960a2 in execute (op_array=0x838810c) at zend_vm_execute.h:92
---Type <return> to continue, or q <return> to quit---
#35548 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbfd090) at zend_vm_execute.h:234
#35549 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbfd090) at zend_vm_execute.h:322
#35550 0x081960a2 in execute (op_array=0x83865a8) at zend_vm_execute.h:92
#35551 0x081965c5 in zend_do_fcall_common_helper_SPEC (
    execute_data=0xbfbfd4e0) at zend_vm_execute.h:234
#35552 0x08196eb5 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (
    execute_data=0xbfbfd4e0) at zend_vm_execute.h:322
#35553 0x081960a2 in execute (op_array=0x8379adc) at zend_vm_execute.h:92
#35554 0x08177fe9 in zend_execute_scripts (type=8, retval=0x0,
file_count=3)
    at
/var/ports/basejail/usr/ports/lang/php5/work/php-5.2.0/Zend/zend.c:1178
#35555 0x081303fb in php_execute_script (primary_file=0xbfbfec50)
    at
/var/ports/basejail/usr/ports/lang/php5/work/php-5.2.0/main/main.c:1779
#35556 0x081dcb09 in main (argc=2, argv=0xbfbfece8)
    at
/var/ports/basejail/usr/ports/lang/php5/work/php-5.2.0/sapi/cli/php_cli.c:1114
(gdb) 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-01-08 20:53 UTC] iliaa@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

This is a stack problem due to infinite recursion.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 02 08:01:31 2024 UTC