Bug #78412 [Opn->Ver]: Assertion `p->refcount > 0' in zend_gc_delref
| From: | nikic@php.net | Date: | Wed, 14 Aug 2019 15:01:40 +0000 |
| Subject: | Bug #78412 [Opn->Ver]: Assertion `p->refcount > 0' in zend_gc_delref | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-222249@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78412&edit=1
ID: 78412
Updated by: nikic@php.net
Reported by: kelunik@php.net
Summary: Assertion `p->refcount > 0' in zend_gc_delref
-Status: Open
+Status: Verified
Type: Bug
Package: Reproducible crash
Operating System: Ubuntu 19.04
PHP Version: master-Git-2019-08-13 (Git)
Block user comment: N
Private report: N
New Comment:
Also affects 7.2 (the assertion was added recently).
Previous Comments:
------------------------------------------------------------------------
[2019-08-13 22:06:15] kelunik@php.net
Description:
------------
Assertion failure happens with latest master, doesn't happen with 7.3.7 or my system's 7.2
binary.
Test script:
---------------
https://github.com/amphp/http-client/commit/780c0d894556c4ecbfa33233cbccd918a9d4c2a2
php examples/6-concurrent-requests.php
php: /home/kelunik/.php-build/release/Zend/zend_types.h:1035: zend_gc_delref: Assertion
`p->refcount > 0' failed.
Expected result:
----------------
No assertion error.
Actual result:
--------------
php: /home/kelunik/.php-build/release/Zend/zend_types.h:1035: zend_gc_delref: Assertion
`p->refcount > 0' failed.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78412&edit=1