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

Assertion failure Zend/zend_hash.c:74 #17444

Closed
YuanchengJiang opened this issue Jan 11, 2025 · 1 comment
Closed

Assertion failure Zend/zend_hash.c:74 #17444

YuanchengJiang opened this issue Jan 11, 2025 · 1 comment

Comments

@YuanchengJiang
Copy link

Description

The following code:

<?php
class Box {
}
class Test {
function __destruct() {
global $box;
$box->value = null;
}
}
$box = new Box();
$box->value = new Test;
is_callable($tmp,$tmp,$box);

Resulted in this output:

/home/phpfuzz/WorkSpace/flowfusion/php-src/Zend/zend_hash.c(2672) : ht=0x7fa629c4b360 is being destroyed
php: /home/phpfuzz/WorkSpace/flowfusion/php-src/Zend/zend_hash.c:74: void _zend_is_inconsistent(const HashTable *, const char *, int): Assertion `0' failed.
Aborted (core dumped)

Might be a dup to #17442

It is fixed before #17162

PHP Version

nightly

Operating System

No response

@nielsdos
Copy link
Member

Can confirm, it's a duplicate of #17442

@nielsdos nielsdos closed this as not planned Won't fix, can't repro, duplicate, stale Jan 11, 2025
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