Skip to content
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

Disable zend_rc_debug during dtor of dl()'ed module #8606

Merged
merged 1 commit into from
May 24, 2022

Conversation

arnaud-lb
Copy link
Member

Newly added dl() tests trigger an assertion in ZEND_RC_DEBUG builds. This change disables zend_rc_debug to allows these tests to pass until this issue is resolved.

See GH-8552

@arnaud-lb arnaud-lb changed the base branch from master to PHP-8.1 May 22, 2022 17:14

if (module->type == MODULE_TEMPORARY) {
#if ZEND_RC_DEBUG
zend_rc_debug = false;
Copy link
Member

Choose a reason for hiding this comment

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

Can you please add a comment explaining why this is needed here?

Newly added dl() tests trigger an assertion in ZEND_RC_DEBUG builds. This change
disables zend_rc_debug to allows these tests to pass until this issue is
resolved.
@arnaud-lb arnaud-lb marked this pull request as ready for review May 24, 2022 17:22
@arnaud-lb arnaud-lb merged commit 6cda01a into php:PHP-8.1 May 24, 2022
arnaud-lb added a commit that referenced this pull request May 24, 2022
* PHP-8.1:
  Disable zend_rc_debug during dtor of dl()'ed module (#8606)
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.

None yet

3 participants