ID: 43968
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Reproducible crash
Operating System: Debian
PHP Version: 5.2CVS-2008-01-29 (snap)
Assigned To: dmitry
New Comment:
I reproduced in 5.3 (CVS), the problem is occuring with all classes.
(not only internal)
Previous Comments:
------------------------------------------------------------------------
[2008-01-29 16:53:59] [EMAIL PROTECTED]
Description:
------------
PHP 5.2.5 and current snapshot (php5.2-200801291330) cause a crash when
extending an internal class and terminating the script with die(); or
fatal error.
This does no happen with debug build or with USE_ZEND_ALLOC=0
Reproduce code:
---------------
class a extends arrayobject
{
}
die();
Expected result:
----------------
No output
Actual result:
--------------
/opt/php5-cvs/bin/php -r 'class a extends arrayobject {} die();'
zend_mm_heap corrupted
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43968&edit=1