Skip to content

Fix reuse of dtor fiber during shutdown #16026

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

arnaud-lb
Copy link
Member

This is a follow-up of GH-13460.

This fixes the following issue: If the dtor fiber is terminated by zend_objects_store_call_destructors(), and a garbage collection is started after that, we may re-use the terminated fiber.

@arnaud-lb arnaud-lb marked this pull request as ready for review September 24, 2024 17:57
@arnaud-lb arnaud-lb requested a review from dstogov as a code owner September 24, 2024 17:57
@arnaud-lb arnaud-lb requested review from bwoebi and trowski and removed request for dstogov September 24, 2024 17:57
@arnaud-lb arnaud-lb changed the base branch from master to PHP-8.4 September 25, 2024 11:14
Copy link
Member

@bwoebi bwoebi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@arnaud-lb arnaud-lb merged commit d093c10 into php:PHP-8.4 Oct 2, 2024
10 checks passed
arnaud-lb added a commit that referenced this pull request Oct 2, 2024
arnaud-lb added a commit that referenced this pull request Oct 2, 2024
* PHP-8.4:
  [ci skip] NEWS for GH-16026
  Fix reuse of dtor fiber during shutdown (#16026)
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.

3 participants