Bug #79862 [NEW]: Assertion `(flag & (1<<3)) == 0' in _zend_hash_add_or_update_i
| From: | changochen1 at gmail dot com | Date: | Wed, 15 Jul 2020 04:55:20 +0000 |
| Subject: | Bug #79862 [NEW]: Assertion `(flag & (1<<3)) == 0' in _zend_hash_add_or_update_i | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-228052@lists.php.net to get a copy of this message | ||
From: changochen1 at gmail dot com
Operating system:
PHP version: 8.0Git-2020-07-15 (Git)
Package: Scripting Engine problem
Bug Type: Bug
Bug description:Assertion `(flag & (1<<3)) == 0' in _zend_hash_add_or_update_i
Description:
------------
LOG:
---
php: /home/yongheng/php_clean/Zend/zend_hash.c:756: zval
*_zend_hash_add_or_update_i(HashTable *, zend_string *, zval *,
uint32_t): Assertion `(flag & (1<<3)) == 0' failed.
[1] 41947 abort ~/php_clean/bld/sapi/cli/php -f php_poc39.php
---
Test script:
---------------
<?
class a {
private static $b ;
function __construct () {
$this -> b = 'basemember' ;
}
}
class c extends a {
public $b ;
}
new c ;
--
Edit bug report at https://bugs.php.net/bug.php?id=79862&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=79862&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=79862&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=79862&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=79862&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=79862&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=79862&r=support
Expected behavior: https://bugs.php.net/fix.php?id=79862&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=79862&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=79862&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=79862&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=79862&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=79862&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=79862&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=79862&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=79862&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=79862&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=79862&r=mysqlcfg