Skip to content

Fix missing zend_shared_alloc_unlock() #10405

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
Jan 28, 2023

Conversation

nielsdos
Copy link
Member

This code was refactored and the unlock was forgotten. The following assertion is triggered in debug mode:
zend_shared_alloc_lock: Assertion `!(accel_globals.locked)' failed.
And in release mode this likely deadlocks.
Fix this by re-adding the unlock.

This code was refactored and the unlock was forgotten.
The following assertion is triggered in debug mode:
  zend_shared_alloc_lock: Assertion `!(accel_globals.locked)' failed.
And in release mode this likely deadlocks.
Fix this by re-adding the unlock.
@devnexen devnexen requested a review from arnaud-lb January 21, 2023 18:06
@arnaud-lb arnaud-lb merged commit dc6fbec into php:master Jan 28, 2023
arnaud-lb added a commit that referenced this pull request Jan 28, 2023
@arnaud-lb
Copy link
Member

Thank you!

Added a test: 306a72a

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.

2 participants