Bug #79832 [NEW]: Assertion `prop_num >= 0 && prop_num.. ", which causes segfault in release buil

From: Date: Sat, 11 Jul 2020 06:04:16 +0000
Subject: Bug #79832 [NEW]: Assertion `prop_num >= 0 && prop_num.. ", which causes segfault in release buil
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-227955@lists.php.net to get a copy of this message
From: changochen1 at gmail dot com Operating system: PHP version: 8.0Git-2020-07-11 (Git) Package: Scripting Engine problem Bug Type: Bug Bug description:Assertion `prop_num >= 0 && prop_num.. ", which causes segfault in release buil Description: ------------ LOG: php: /home/yongheng/php_clean/Zend/zend_objects_API.h:102: zend_property_info *zend_get_property_info_for_slot(zend_object *, zval *): Assertion `prop_num >= 0 && prop_num < obj->ce->default_properties_count' failed. Test script: --------------- <? ob_start ( function () use ( & $a ) { $a = new ReflectionClass ( new ArrayIterator ) ; } , 20 ) > var_dump ( $GLOBALS ) ; -- Edit bug report at https://bugs.php.net/bug.php?id=79832&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=79832&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=79832&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=79832&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=79832&r=needscript Try newer version: https://bugs.php.net/fix.php?id=79832&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=79832&r=support Expected behavior: https://bugs.php.net/fix.php?id=79832&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=79832&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=79832&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=79832&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=79832&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=79832&r=dst IIS Stability: https://bugs.php.net/fix.php?id=79832&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=79832&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=79832&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=79832&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=79832&r=mysqlcfg

« previous php.bugs (#227955) next »