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

From: Date: Thu, 09 Jul 2020 07:25:55 +0000
Subject: Bug #79813 [Opn->Ver]: Assertion `p->refcount > 0' failed.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-227910@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79813&edit=1 ID: 79813 Updated by: cmb@php.net Reported by: changochen1 at gmail dot com Summary: Assertion `p->refcount > 0' failed. -Status: Open +Status: Verified Type: Bug Package: Scripting Engine problem -PHP Version: 8.0Git-2020-07-09 (Git) +PHP Version: 7.4 Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2020-07-09 04:27:01] changochen1 at gmail dot com 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 this bug report at https://bugs.php.net/bug.php?id=79813&edit=1

« previous php.bugs (#227910) next »