Bug #79788 [Opn->Ver]: Assertion `idx' failed in gc_remove_from_buffer

From: Date: Tue, 07 Jul 2020 14:46:37 +0000
Subject: Bug #79788 [Opn->Ver]: Assertion `idx' failed in gc_remove_from_buffer
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-227864@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79788&edit=1 ID: 79788 Updated by: nikic@php.net Reported by: changochen1 at gmail dot com Summary: Assertion `idx' failed in gc_remove_from_buffer -Status: Open +Status: Verified Type: Bug Package: Scripting Engine problem PHP Version: 8.0Git-2020-07-04 (Git) Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2020-07-07 14:44:48] nikic@php.net Related To: Bug #79781 ------------------------------------------------------------------------ [2020-07-07 14:43:48] nikic@php.net The test case causes a memory limit bailout during GC. I suspect that this is the same issue as #79760. I don't have any immediate ideas on how to fix it. ------------------------------------------------------------------------ [2020-07-04 15:56:00] changochen1 at gmail dot com Description: ------------ LOG: --- php: /home/yongheng/php_clean/Zend/zend_gc.c:686: void gc_remove_from_buffer(zend_refcounted *): Assertion `idx' failed. --- Test script: --------------- <? define ( "THE_CONST" , 3 ) ; function b ( $a = array ( E_ALL => THE_CONST ) ) { print_r ( new ArrayIterator !=b () , c ) ; foreach ( bar as $$d ) $e = days * 4 * 0 ; } b () ; ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79788&edit=1

« previous php.bugs (#227864) next »