Date: Fri, 19 Jul 2002 21:18:21 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libstand Makefile stand.h zalloc_defs.h zalloc_malloc.c zutil.h.diff Message-ID: <200207200418.g6K4ILGf018166@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2002/07/19 21:18:20 PDT
Modified files:
lib/libstand Makefile stand.h zalloc_defs.h
zalloc_malloc.c
Added files:
lib/libstand zutil.h.diff
Log:
Reimplement malloc/free debugging that includes the offending file:line
info. This turned out to be rather useful on ia64 for tracking down
malloc/free problems.
Detect duplicate free()'s - otherwise these show up as a guard1 failure
and it looks like corruption instead of something simple like a second
free() where there shouldn't be.
Deal with libz using libc headers and not seeing the malloc/free stuff that
we provide in libstand. Do similar nastiness to what is done for bzlib.
Tested on: i386, ia64 (compile, run)
Revision Changes Path
1.36 +19 -5 src/lib/libstand/Makefile
1.34 +14 -21 src/lib/libstand/stand.h
1.11 +1 -0 src/lib/libstand/zalloc_defs.h
1.7 +23 -13 src/lib/libstand/zalloc_malloc.c
1.1 +15 -0 src/lib/libstand/zutil.h.diff (new)
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207200418.g6K4ILGf018166>
