-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
zend_mm_heap corrupted #337
Comments
On PHP 7.4 and 8.0 I get:
which points to https://github.com/php-lock/lock/blob/7075016e8b44fe7d2e61bab913d56d5ca79fec51/tests/Mutex/FlockMutexTest.php#L123. It seems there is some refcounting issue. |
Hey @mvorisek 👋 thanks for raising this issue! I might have limited time over the next few weeks, so do not expect any updates on this. There are some things you could do to help me narrow the problem down:
This might help a bit, but I am not sure. I might need to run this with ASAN to get to the root cause. |
Not sure if a backtrace would help here, as the variable used in the Closure is released too early, it seems the Closure passed to |
repro branch: https://github.com/php-lock/lock/tree/test_37
steps to reproduce:
composer update
php vendor/bin/phpunit --no-coverage
The text was updated successfully, but these errors were encountered: