Home:ALL Converter>Error with shared library recoding malloc

Error with shared library recoding malloc

Ask Time:2016-02-11T00:50:07         Author:charle

Json Formatter

I'm trying to implement my own version of malloc making a shared library but I'm facing a problem. When I run my malloc with LD_PRELOAD this message appear:

Inconsistency detected by ld.so: dl-load.c: 2325: _dl_map_object: Assertion nsid < _rtld_local._dl_nns failed!

This appear when I launch the command ls -lRa /home
My LD_PRELOAD path is ok because the command ls works. Thanks for helping me!

Author:charle,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/35321158/error-with-shared-library-recoding-malloc
yy