| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |
I've put together some code in /mit/krb5/src/mdebug/ which (on the VAX only, for the moment) will provide a dump of the malloc arena upon exit, including a limited stack trace (3 return addresses) of where the last allocate/free came from. See /mit/krb5/build/vax_bsd43/clients/kinit/foo.c for an example of what you need to link in besides just libmalloc.a.
| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |