malloc debugger

Petri Helenius pete at he.iki.fi
Tue Sep 16 05:21:52 PDT 2003


Julian Elischer wrote:

>tried mprof?
>  
>
If you mean the "really old" one which haven´t seen that many changes in 
the last
10 years, it dumps core when the command mprof is run.

I also found a much more recent one, which claims to support threads, called
mpatrol but it seems to suffer from the same issues as does dmalloc, where
thread routines call malloc which ends up in infinite recursion and eventual
stack exhaustion and core dump.

Pete




More information about the freebsd-threads mailing list