(gdb) b _zend_mm_alloc_int
Breakpoint 1 at 0x6b2490: file /home/vagrant/php-src/Zend/zend_alloc.c, line 1881.
(gdb) b zend_mm_add_to_free_list
Breakpoint 2 at 0x6b12d0: file /home/vagrant/php-src/Zend/zend_alloc.c, line 734.
(gdb) call _zend_mm_alloc_int (0xe88d80, 500)Breakpoint 1, _zend_mm_alloc_int (heap=0xe88d80, size=500) at /home/vagrant/php-src/Zend/zend_alloc.c:1881
1881 {The program being debugged stopped while in a function called from GDB.
Evaluation of the expression containing the function(_zend_mm_alloc_int) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb)
(gdb) n 20Program received signal SIGSEGV, Segmentation fault.
_zend_mm_alloc_int (heap=0xe88d80, size=500) at /home/vagrant/php-src/Zend/zend_alloc.c:1945
1945 if(UNEXPECTED(ZEND_MM_FREE_BLOCK_SIZE(p)== true_size)){(gdb)
(gdb) finish
Run till exit from #0 _zend_mm_alloc_int (heap=0xe88d80, size=500) at /home/vagrant/php-src/Zend/zend_alloc.c:1945Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.