Bug #79785 [Opn->Dup]: Assertion `(zend_gc_refcount(&(ht)->gc) == 1) || ((ht)->u.flags & (1<<6))' fail
| From: | nikic@php.net | Date: | Tue, 07 Jul 2020 13:34:12 +0000 |
| Subject: | Bug #79785 [Opn->Dup]: Assertion `(zend_gc_refcount(&(ht)->gc) == 1) || ((ht)->u.flags & (1<<6))' fail | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-227857@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79785&edit=1
ID: 79785
Updated by: nikic@php.net
Reported by: changochen1 at gmail dot com
Summary: Assertion `(zend_gc_refcount(&(ht)->gc) == 1) ||
((ht)->u.flags & (1<<6))' fail
-Status: Open
+Status: Duplicate
Type: Bug
Package: Scripting Engine problem
PHP Version: 8.0Git-2020-07-04 (Git)
Block user comment: N
Private report: N
New Comment:
This has the same root cause as bug #79784.
Previous Comments:
------------------------------------------------------------------------
[2020-07-04 04:36:51] changochen1 at gmail dot com
Description:
------------
LOG:
---
php: /home/yongheng/php_clean/Zend/zend_hash.c:731: zval *_zend_hash_add_or_update_i(HashTable *,
zend_string *, zval *, uint32_t): Assertion `(zend_gc_refcount(&(ht)->gc) == 1) ||
((ht)->u.flags & (1<<6))' failed.
---
Test script:
---------------
<?
try {
define ( ob_start ( function () {
global $a ;
list ( $a ) = $b ;
}
, 20 ) ) ;
}
catch ( Error ) {
$a [ $c ] = 'x' ;
}
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79785&edit=1