Bug #78412 [Ver->Csd]: Generator incorrectly reports non-releasable $this as GC child

From: Date: Wed, 14 Aug 2019 15:54:10 +0000
Subject: Bug #78412 [Ver->Csd]: Generator incorrectly reports non-releasable $this as GC child
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-222250@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: Generator incorrectly reports non-releasable $this as GC child -Status: Verified +Status: Closed 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: Automatic comment on behalf of nikita.ppv@gmail.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=fcabe7e5e44067319f9c4123d71a7cea6a823af4 Log: Fixed bug #78412 Previous Comments: ------------------------------------------------------------------------ [2019-08-14 15:01:40] nikic@php.net Also affects 7.2 (the assertion was added recently). ------------------------------------------------------------------------ [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

« previous php.bugs (#222250) next »