Skip to content

Avoid execute_data assertion while checking generator fiber state - #23489

Open
2akouwu wants to merge 1 commit into
php:masterfrom
2akouwu:fix/issue-20615
Open

Avoid execute_data assertion while checking generator fiber state#23489
2akouwu wants to merge 1 commit into
php:masterfrom
2akouwu:fix/issue-20615

Conversation

@2akouwu

@2akouwu 2akouwu commented Aug 29, 2026

Copy link
Copy Markdown

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.

Signed-off-by: ulofiai <309826581+ulofiai@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Assertion failure in check_node_running_in_fiber() when resuming a generator inside a Fiber destructor

1 participant