Closed mbonneau closed 5 years ago
If meminfo_dump is called inside a shutdown function (register_shutdown_function), zend_rebuild_symbol_table can return null. This causes a segfault.
meminfo_dump
register_shutdown_function
zend_rebuild_symbol_table
null
Shutdown functions are used in a couple of different event-loop implementations.
This fix just skips over browsing the null symbol table.
Hi @mbonneau ,
Thanks a lot for the fix. I don't know why the checks are not working properly. Maybe something is amiss with Travis. I need to check that.
Thanks a lot @mbonneau and sorry for the long delay!
If
meminfo_dump
is called inside a shutdown function (register_shutdown_function
),zend_rebuild_symbol_table
can returnnull
. This causes a segfault.Shutdown functions are used in a couple of different event-loop implementations.
This fix just skips over browsing the
null
symbol table.