Bug #79788 [Com]: Assertion `idx' failed in gc_remove_from_buffer

From: Date: Thu, 24 Nov 2022 04:39:08 +0000
Subject: Bug #79788 [Com]: Assertion `idx' failed in gc_remove_from_buffer
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-242894@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 Comment by: andrewitchell48 at gmail dot com Reported by: changochen1 at gmail dot com Summary: Assertion `idx' failed in gc_remove_from_buffer Status: Verified Type: Bug Package: Scripting Engine problem PHP Version: 8.0Git-2020-07-04 (Git) Block user comment: N Private report: N New Comment: The test case causes a memory limit bailout during GC. (https://www.ltdcommodities.me/)github.com 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 (#242894) next »