Closed mjhoag closed 9 years ago
I can confirm this happens to me on PHP 5.6.1, on Windows 7, MacOS and all Linux distributions I've tested it on (including Ubuntu, CentOS, Android and Raspbian)
Thanks for your report!
This should now be fixed in 94cb666f01343e2be5f8a9e3f26ee81f928499a3. It at least passes the testcase provided. Can you confirm it also solves your original issue?
@shoghicp: Thanks for verifying it wasn't just me. :)
@colder: It does indeed appear to have solved my original issue. Yay! Thanks!
Great! I will do a release shortly.
Under PHP 5.4.4-14+deb7u14 with Weakref-0.2.4, the following segfaults:
No extensions outside of weakref loaded. That is, ran as
php -n -d extension=weakref.so segfault.php
.Uncommenting the unset() seems to work around the problem.