Skip to content

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

Merged
arnaud-lb merged 1 commit into
php:PHP-8.1from
arnaud-lb:rc-debug-dtor
May 24, 2022
Merged

Disable zend_rc_debug during dtor of dl()'ed module#8606
arnaud-lb merged 1 commit into
php:PHP-8.1from
arnaud-lb:rc-debug-dtor

Conversation

@arnaud-lb

Copy link
Copy Markdown
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.1May 22, 2022 17:14
Comment threadZend/zend_API.c Outdated

Copy link
Copy Markdown
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.1May 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 freeto 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

@arnaud-lb@nikic@ramsey