Skip to content

dl() under Win + ZTS/opcache has some refcouting issue #9527

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

Closed
mvorisek opened this issue Sep 12, 2022 · 1 comment
Closed

dl() under Win + ZTS/opcache has some refcouting issue #9527

mvorisek opened this issue Sep 12, 2022 · 1 comment

Comments

@mvorisek
Copy link
Contributor

mvorisek commented Sep 12, 2022

Description

See https://ci.appveyor.com/project/php/php-src/builds/44749597/job/xyq7uuqg5mxe5874#L1667

Fatal error: Internal zvals cannot be refcounted in Unknown on line 0

code/commit to reproduce in CI: 753a143

a) I would expect no refcounting error.
b) I would expect dl() to not produce a fatal error, but instead a warning and return false.

PHP Version

master, maybe other branches as well

not sure about the exact conditions to reproduce, but the NTS build /wo opcache does not have this problem

Operating System

Win + ZTS

@mvorisek mvorisek changed the title dl under Win + ZTS has some refcouting issue dl() under Win + ZTS has some refcouting issue Sep 12, 2022
@mvorisek mvorisek changed the title dl() under Win + ZTS has some refcouting issue dl() under Win + ZTS/opcache has some refcouting issue Sep 12, 2022
@cmb69
Copy link
Member

cmb69 commented Sep 12, 2022

See #8508, which is basically a duplicate of #9196.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants