I have been using libumem
and
LD_PRELOAD
to track down memory allocation problems
in a lot of applications over the years, and I just love the
runtime linker on Solaris (AFAIK you will find some of the
features on Linux as well). The fact that I can load other
libraries that replace or add functionality of the program is
just great. If you haven't read it already I would encourage you
to read the man page for ld.so.1
. If you are a developer
using Solaris and haven't used libumem
to hunt down
memory bugs, you should read this blog by Adam Leventhal.
Last week I spent an evening …
[Read more]