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

From: Date: Thu, 09 Jul 2020 15:34:40 +0000
Subject: Bug #79813 [Ver]: Assertion `p->refcount > 0' failed.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-227923@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 User updated by: changochen1 at gmail dot com Reported by: changochen1 at gmail dot com Summary: Assertion `p->refcount > 0' failed. Status: Verified Type: Bug Package: Scripting Engine problem PHP Version: 7.4 Block user comment: N Private report: N New Comment: Hi, I wonder why the version info changed, as I tested it on the master brach of version 8.0/ 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 (#227923) next »