[GIT-PULLS] [php-src] PR #23489: Avoid execute_data assertion while checking generator fiber state

[email protected] (2akouwu)
Newsgroups php.git-pulls
Message-ID <[email protected]>
Pull Request: https://github.com/php/php-src/pull/23489
Author: 2akouwu

Fixes #20615.

Generator delegation trees can contain closed intermediate nodes while a descendant is running in a Fiber. The fiber-state walk only needs node flags and child links, so do not require execute_data to be present. Extend the existing Fiber destructor test with the reported regression scenario.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.