#49972 [Com]: AppendIterator undefined function crash
| From: | wimartin at uk dot ibm dot com | Date: | Fri, 23 Oct 2009 15:23:39 +0000 |
| Subject: | #49972 [Com]: AppendIterator undefined function crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-143851@lists.php.net to get a copy of this message | ||
ID: 49972
Comment by: wimartin at uk dot ibm dot com
Reported By: wimartin at uk dot ibm dot com
Status: Feedback
Bug Type: Reproducible crash
Operating System: Windows
PHP Version: 5.2SVN-2009-10-23 (snap)
New Comment:
Apologies for the messy copy paste above. Here is a formatted pastebin
link.
http://pastebin.com/f1294c4ac
Previous Comments:
------------------------------------------------------------------------
[2009-10-23 15:20:00] wimartin at uk dot ibm dot com
Here is the backtrace as provided by the Microsoft Debug Diagnostic
Tool:
Function Arg 1 Arg 2 Arg 3 Source
php5ts!zend_hash_find+f0 0000001c 011aa760 0000000a
php5ts!spl_dual_it_get_method+50 011ac240 011aa760 00000009
php5ts!ZEND_INIT_METHOD_CALL_SPEC_CV_CONST_HANDLER+185 011aa760
003225c8 003225c8
php5ts!execute+1c5 011abd18 003225c8 00000000
php5ts!zend_execute_scripts+107 00000008 003225c8 00000000
php5ts!php_execute_script+20d 00c0fec8 003225c8 0000000e
php!main+bca 00000002 00323f88 00322c70
php!mainCRTStartup+e3 0000000e 00000000 7ffd9000
kernel32!BaseProcessStart+23 00402f72 00000000 00000000
------------------------------------------------------------------------
[2009-10-23 14:30:22] johannes@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
[2009-10-23 12:59:25] wimartin at uk dot ibm dot com
Description:
------------
Crash in PHP when an undefined function is called upon an
AppendIterator. Also crashes on 5.3 snap but untested on 6.
Reproduce code:
---------------
<?php
$iterator = new AppendIterator();
$iterator->undefined();
?>
Expected result:
----------------
Fatal error: Call to undefined method AppendIterator::undefined() in %s
on line %d
Actual result:
--------------
PHP crashes outright.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49972&edit=1