Bug #79813 [NEW]: Assertion `p->refcount > 0' failed.

From: Date: Thu, 09 Jul 2020 04:27:01 +0000
Subject: Bug #79813 [NEW]: Assertion `p->refcount > 0' failed.
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-227899@lists.php.net to get a copy of this message
From: changochen1 at gmail dot com Operating system: PHP version: 8.0Git-2020-07-09 (Git) Package: Scripting Engine problem Bug Type: Bug Bug description:Assertion `p->refcount > 0' failed. Description: ------------ LOG: --- php: /home/yongheng/php_clean/Zend/zend_types.h:1162: uint32_t zend_gc_delref(zend_refcounted_h *): Assertion `p->refcount > 0' failed. --- Run with php -f poc.php >/dev/null Test script: --------------- <? foreach ( new InfiniteIterator ( new ArrayIterator ( [ [] ] ) ) as $a ) $c[] = array ( $b.= 1) ; -- Edit bug report at https://bugs.php.net/bug.php?id=79813&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=79813&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=79813&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=79813&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=79813&r=needscript Try newer version: https://bugs.php.net/fix.php?id=79813&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=79813&r=support Expected behavior: https://bugs.php.net/fix.php?id=79813&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=79813&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=79813&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=79813&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=79813&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=79813&r=dst IIS Stability: https://bugs.php.net/fix.php?id=79813&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=79813&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=79813&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=79813&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=79813&r=mysqlcfg

« previous php.bugs (#227899) next »