Bug #79788 [Opn]: Assertion `idx' failed in gc_remove_from_buffer
| From: | nikic@php.net | Date: | Tue, 07 Jul 2020 14:43:49 +0000 |
| Subject: | Bug #79788 [Opn]: Assertion `idx' failed in gc_remove_from_buffer | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-227862@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
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. I suspect that this is the same issue as
#79760. I don't have any immediate ideas on how to fix it.
Previous Comments:
------------------------------------------------------------------------
[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