From: [EMAIL PROTECTED] Operating system: PHP version: 5.2CVS-2008-09-09 (CVS) PHP Bug Type: SPL related Bug description: Segfault in AppendIterator::next
Description: ------------ See below. Reproduce code: --------------- <?php $x = new appenditerator; $x->next(); Actual result: -------------- ==25082== ==25082== Invalid read of size 4 ==25082== at 0x81B8421: spl_append_it_next (spl_iterators.c:1449) ==25082== by 0x83714BF: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:315) ==25082== by 0x835F5E2: execute (zend_vm_execute.h:104) ==25082== by 0x8339A7E: zend_execute_scripts (zend.c:1197) ==25082== by 0x82DF76C: php_execute_script (main.c:2075) ==25082== by 0x83D1714: main (php_cli.c:1130) ==25082== Address 0x4 is not stack'd, malloc'd or (recently) free'd ==25082== ==25082== Process terminating with default action of signal 11 (SIGSEGV) ==25082== Access not within mapped region at address 0x4 ==25082== at 0x81B8421: spl_append_it_next (spl_iterators.c:1449) ==25082== by 0x83714BF: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:315) ==25082== by 0x835F5E2: execute (zend_vm_execute.h:104) ==25082== by 0x8339A7E: zend_execute_scripts (zend.c:1197) ==25082== by 0x82DF76C: php_execute_script (main.c:2075) ==25082== by 0x83D1714: main (php_cli.c:1130) ==25082== -- Edit bug report at http://bugs.php.net/?id=46031&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46031&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46031&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46031&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46031&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=46031&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46031&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46031&r=needscript Try newer version: http://bugs.php.net/fix.php?id=46031&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46031&r=support Expected behavior: http://bugs.php.net/fix.php?id=46031&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46031&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46031&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46031&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46031&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46031&r=dst IIS Stability: http://bugs.php.net/fix.php?id=46031&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46031&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46031&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46031&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46031&r=mysqlcfg