Skip to content

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.

3 participants