Re: [PHP-DEV] die('zend_mm_heap corrupted'); // TODO: Better error message

2018-10-09 Thread Rowan Collins
On Tue, 9 Oct 2018 at 07:16, Dmitry Stogov wrote: > Hi Rowan, > > > This error message is triggered when Zend MM used in improper way, e.g. > invalid pointer free, etc. > > MM can't provide useful information about the context and reason. > I get that it can't provide the *reason*, but that

Re: [PHP-DEV] die('zend_mm_heap corrupted'); // TODO: Better error message

2018-10-09 Thread Dmitry Stogov
Hi Rowan, This error message is triggered when Zend MM used in improper way, e.g. invalid pointer free, etc. MM can't provide useful information about the context and reason. The best way to find the reason of the problem is running php under valgrind. $ USE_ZEND_ALLOC=0 valgrind php ...