Open
Description
Description
The following code:
LD_PRELOAD=libsnmallocshim.so php cron.php
Resulted in this output:
FREE(): invalid pointer
Aborted
But I expected this output instead:
111111111
more info is here:
microsoft/snmalloc#595
I’m not an allocator expert but seems valgrind is showing memory leaks with alternative allocators and free is being called by malloc when replaced with LD_PRELOAD
PHP Version
PHP 8.1
Operating System
Debian Bullseye